Repository navigation
docs(security): reconcile privacy coverage evidence - #2799
Conversation
Problem: the security/privacy manifest still described closed XSS work as\nsnapshot-only coverage and carried a non-existent crawler gap, while the\nremaining captured-content secret-scanning risk had no Beads reference.\n\nWhat changed: record the real HTML and web-shell XSS regression suites,\nremove the stale crawler premise, and make the remaining candidate-only\nsecret scanner/excision handoff explicitly owned by polylogue-27m.\n\nCompatibility: documentation and verification-manifest metadata only.\n\nCo-Authored-By: Claude <[email protected]>
|
Warning Review limit reached
Next review available in: 10 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab15b43df6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Problem: the coverage manifest marked a captured-content scanner as\nimplemented even though only the independent log-leak guard exists.\n\nWhat changed: retain the implemented log-hygiene area and model captured\ncontent secret detection as the outstanding polylogue-27m coverage gap.\n\nCo-Authored-By: Claude <[email protected]>
Adversarial review — iteration 1Finding (real gap): the machine-readable Fix: Verification:
What survived scrutiny: the real HTML/web-shell XSS controls are backed by dedicated production-facing tests; the stale crawler gap remains an explicit non-goal because no crawler source exists. CodeRabbit supplied no substantive review because its review quota is rate-limited. |
Problem: the security manifest still described retired regex and symlink\ndefences, and cited a log-only test as evidence for missing content scanning.\n\nWhat changed: align XSS and path controls with the live parser and\nmetadata boundary, and make the candidate-scanner test selector the next\nevidence required by the tracked gap.\n\nCo-Authored-By: Claude <[email protected]>
Adversarial review — iteration 2Findings (real gaps):
Fix: Verification:
What survived scrutiny: the scanner/excision path remains explicitly open under |
The web-shell suite protects identified regression paths but does not maintain\na complete sink inventory. State that bounded claim precisely.\n\nCo-Authored-By: Claude <[email protected]>
Adversarial review — iteration 3Finding (real claim gap): the manifest said the web-shell XSS suite checked “every known” JS-string and innerHTML sink, but the suite is regression-oriented rather than a complete sink inventory. Noise classification: the reviewer also alleged two unescaped Fix: Verification:
What survived scrutiny: the two paste-action IDs are escaped through the canonical helper; no new substantive PR comments appeared, and the known billing-init CI failures remain unrelated. |
Adversarial review — iteration 4 (converged)A fresh cold review of the full Final parent-AC matrix
Iteration record: 1 fixed the false implemented status for captured-content scanning; 2 corrected stale parser/symlink claims and unrelated evidence; 3 narrowed an over-broad XSS coverage claim (and dismissed the alleged paste sink as source-disproven); 4 found no new legitimate gap. Focused verification for each fix and every required pre-push |
…803,2787,2798 013x (search-coverage, PR #2803) and g9f2 (write-model, PR #2798) fully satisfied — closed. y8s5 (distribution, PR #2779), ttu (docs-ia, PR #2778), kwsb (PR #2799), and n4hb/c52g/znwj (test-hardening, PR #2787) partially satisfied — noted with disposition, left open per closure-discipline. Co-Authored-By: Claude <[email protected]>
|
Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.
Only the rows listed above are dispositioned. Held findings remain open. |
Summary
Reconcile the security/privacy coverage manifest with current, executable evidence and point the remaining captured-content secret-hygiene work at its owning Bead.
Problem
The manifest still claimed XSS coverage was snapshot-only despite dedicated web-shell regression tests, and tracked a crawl-source permission gap although no crawl source exists. Its secrets entry conflated the existing log-leak guard with the unimplemented captured-content scanner.
Solution
polylogue-27m.Acceptance criteria
polylogue-27m.polylogue-27mremains the owning implementation task and is blocked bypolylogue-b5l.Verification
devtools test tests/unit/devtools/test_verify_manifests.py tests/unit/security/test_no_secret_leak_in_logs.py tests/unit/rendering/test_html_sanitizer_security.py tests/unit/daemon/test_web_shell_xss_escaping.py— 61 passed.devtools verify manifests— manifest consistency checks passed.devtools verify --quick— passed (ruff, mypy, render, topology/layering, schema roundtrip, manifests, and verifier lanes).Anti-vacuity: the cited tests exercise the production AST logger/print scan, real HTML sanitizer, and shipped web-shell JavaScript helpers through identified regression paths; removing or weakening those controls fails the tests.
The default affected-test gate was not claimed: this fresh worktree lacked a testmon seed, and the initial seed run was infrastructure-interrupted after its parent terminated.
Ref polylogue-kwsb