Cue — Security Overview

Prepared for WillowTree IT Security Review  ·  April 2026  ·  Version 1.0

Executive Summary

Cue is a native macOS desktop application built on the Electron framework. It captures meeting audio, transcribes it on-device using macOS native speech recognition (SFSpeechRecognizer), and provides AI-assisted Q&A during meetings using the Anthropic Claude API. The application runs entirely on the user's local machine; no audio or transcript data is routed through any cloud transcription service or WillowTree-owned servers.

Prior to this security review request, the application underwent a structured multi-round adversarial code audit modelled on industry methodologies (OWASP Top 10:2025, Trail of Bits Differential Review, and OWASP AI Security Initiative 2026). All 11 source-code vulnerabilities identified were remediated. Production dependencies carry zero known vulnerabilities.

Audit outcome: 11 vulnerabilities found and fixed (3 High, 5 Medium, 3 Low). 0 Critical. 0 remaining in production code. The application is built on a strong security foundation with defense-in-depth across process isolation, secret storage, SQL safety, and OAuth flows.
0
Critical findings
11/11
Issues remediated
0
Production dependency CVEs
121/121
Unit tests passing

Audit Methodology

The audit was conducted in six sequential rounds, each targeting a distinct threat model:

RoundMethodologyThreat Focus
1Differential Review (Trail of Bits)Git-history-driven analysis of all recent changes
2OWASP Top 10:2025Injection, broken access control, cryptographic failures, misconfigurations
3Insecure DefaultsFail-open patterns, implicit trust, missing validation at trust boundaries
4Sharp EdgesTypeScript/Node.js/Electron language-specific footguns
5DoS PreventionUnbounded buffers, unlimited connections, ReDoS, resource exhaustion
6Electron Hardening + OWASP ASI 2026Electron-specific security checklist; AI prompt injection and memory poisoning

Findings Summary

IDSeverityTitleStatus
HIGH-01HIGHPath Traversal in Library File HandlersFIXED
HIGH-02HIGHCross-Site Scripting in Markdown RendererFIXED
HIGH-03HIGHPlaintext Secrets Returned to RendererFIXED
MED-04MEDIUMMissing Electron Navigation GuardsFIXED
MED-05MEDIUMUnbounded Socket Buffer (Local DoS)FIXED
MED-06MEDIUMPrototype Pollution in RPC DispatchFIXED
MED-07MEDIUMToken Encryption Divergence (Google Auth)FIXED
MED-08MEDIUMSettings Manager Plaintext Fallback UntaggedFIXED
LOW-09LOWPrompt Injection via Knowledge Base ContentFIXED
LOW-10LOWSupply Chain Risk: Single-Maintainer DependencyFIXED
LOW-11LOWSocket API Key Exposure & Settings MutationFIXED

Baseline Security Controls

The following controls were in place prior to the audit and represent the application's foundational security posture:

Electron Process Isolation

Secret Storage

SQL Injection Prevention

OAuth Security

Path Traversal Protection

AI / Prompt Injection

Dependency Audit

A full npm audit was conducted. The production dependency tree carries zero known vulnerabilities. Six vulnerabilities remain in development dependencies (build-time and test-time tools only — not shipped to end users).

ScopeBefore AuditAfter AuditRemaining
Critical11 fixed0
High1210 fixed2 (devDeps only)
Moderate74 fixed3 (devDeps only)
Low43 fixed1 (devDeps only)

The highest-priority open item is an Electron runtime upgrade (v33 → v41), which resolves 18 high-severity CVEs in the bundled Chromium/V8 engine. This upgrade is deferred pending a full regression test across 8 major versions and is flagged as the top remaining recommendation.

Open Recommendations

PriorityRecommendationRationale
HIGHUpgrade Electron 33 → 41Resolves 18 CVEs including use-after-free, ASAR bypass, and AppleScript injection on macOS
MEDIUMAdd Content Security Policy headerSecond line of defence against any future XSS beyond the current sanitization controls
LOWUpgrade vite/esbuild (dev toolchain)Dev server cross-origin vulnerability; does not affect production builds
LOWEncrypt googleClientId / googleClientSecret via safeStorageDefense-in-depth for physical access scenarios

Verification

All remediations were verified against the following checks before this document was prepared:

Scope & Limitations

This assessment covered static source code analysis and npm dependency auditing. The following were not in scope and are recommended areas for the formal IT security review: