Skip to content

docs: security audit of main @ cfccbbb (2026-08-18) - #9

Closed
wu1w wants to merge 1 commit into
mainfrom
cursor/security-audit-2026-08-18-e1e2
Closed

docs: security audit of main @ cfccbbb (2026-08-18)#9
wu1w wants to merge 1 commit into
mainfrom
cursor/security-audit-2026-08-18-e1e2

Conversation

@wu1w

@wu1w wu1w commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Read-only security audit of wu1w/tevarn at cfccbbb9ed3a8a489097aa3a6e42ee0049a66e43 (origin/main).

This PR adds a single markdown report: docs/audit-security-2026-08-18.md. No product or application code is changed.

Scope

Authn/authz (JWT, cookies, jwt_fp, detached backend reuse), host court / grants / extra_roots / MCP, Electron preload IPC, secret handling and log leakage, SSRF from web_search / http / python, session delete / draft restore / tool stop (including what cfccbbb actually fixed), and workspace/credential escape via tools or MCP.

How to read it

Findings are ranked critical / high / medium / low, each with file path, why it matters under the local single-user Agent OS threat model, and a suggested fix (not implemented). There is an explicit “what you verified is OK” section so this is not a fear list.

Highest-impact items:

  1. python/command inherit control-plane secrets on the local spawn path
  2. Windows JobBackend has no FS isolation → python bypasses the secret floor
  3. Chat text and host_data_roots() widen extra_roots without confirm
  4. manage_mcp persists credentials without the admin REST gate
  5. HTTP/browser metadata block is first-URL-only

Recent session-delete / stop / draft work is real at the agent-task layer and incomplete for background OS children.

Open in Web Open in Cursor 

Read-only review of auth, court/grants, Electron IPC, secrets, SSRF,
and the recent session-delete / stop / draft claims. No product code
changed.

Co-authored-by: wu1w <wu1w@users.noreply.github.com>
@wu1w
wu1w marked this pull request as ready for review August 18, 2026 02:08
@wu1w wu1w closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants