docs: security audit of main @ cfccbbb (2026-08-18) - #9
Closed
wu1w wants to merge 1 commit into
Closed
Conversation
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
marked this pull request as ready for review
August 18, 2026 02:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Read-only security audit of
wu1w/tevarnatcfccbbb9ed3a8a489097aa3a6e42ee0049a66e43(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 fromweb_search/http/python, session delete / draft restore / tool stop (including whatcfccbbbactually 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:
python/commandinherit control-plane secrets on the local spawn pathJobBackendhas no FS isolation →pythonbypasses the secret floorhost_data_roots()widenextra_rootswithout confirmmanage_mcppersists credentials without the admin REST gateRecent session-delete / stop / draft work is real at the agent-task layer and incomplete for background OS children.