Skip to content

ci: leak-scan SVGs and verify the docs-site navigation - #2142

Merged
The01Geek merged 1 commit into
mainfrom
policy-update/verifier-svg-and-docs-nav
Aug 29, 2026
Merged

ci: leak-scan SVGs and verify the docs-site navigation#2142
The01Geek merged 1 commit into
mainfrom
policy-update/verifier-svg-and-docs-nav

Conversation

@The01Geek

Copy link
Copy Markdown
Owner

A policy-update change: it modifies the release verifier, so it lands on its own and is judged by the verifier currently on main, not by the one it installs.

Two surfaces the verifier never examined. An adversarial audit of the cutover found both, and each is proven against a planted defect rather than asserted.

SVG files were never leak-scanned

.svg was absent from the scanned text formats. SVGs are text and can carry arbitrary content, so every shipped image passed through unexamined. Now caught:

GitHub token in docs/external/images/review-system-loop.svg: 'ghp_0123456789abcdefghijklmnop'

The docs-site navigation was never checked

docs/external/docs.json is the navigation manifest and is JSON, so the markdown link checker never read it. An entry naming a page the export drops would publish a broken documentation site — and because the documentation now ships from this repository, the release is the deploy. Now caught:

docs/external/docs.json: navigation names a missing page: docs/deleted-page

Group labels share the string space with page paths in that file, so only entries that look like paths are treated as pages; otherwise every heading would be reported missing.

Two surfaces the release verifier never examined, both found by an adversarial
audit of the cutover and each proven against a planted defect:

  - .svg was absent from the scanned text formats, so every shipped image passed
    through unexamined. A token planted in an SVG is now caught.
  - docs.json is the documentation navigation manifest and is JSON, so the
    markdown link checker never read it. A navigation entry naming a page the
    export drops would publish a broken documentation site - and since the
    documentation now ships from this repository, the release IS the deploy.

Lands as its own policy-update change so the release that carries these bytes
can be judged by a verifier it does not itself modify.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@The01Geek
The01Geek merged commit 840cede into main Aug 29, 2026
1 check passed
@The01Geek
The01Geek deleted the policy-update/verifier-svg-and-docs-nav branch August 29, 2026 21:23
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.

1 participant