Skip to content

security-local: name the program-status probe and SVG paste; plain frame-origin output - #1919

Merged
nedtwigg merged 1 commit into
mainfrom
audit-local-stale-rules
Nov 30, 2026
Merged

nedtwigg merged 1 commit into
mainfrom
audit-local-stale-rules

Conversation

@nedtwigg

Copy link
Copy Markdown
Member

Nightly audit follow-up for docs/specs/security-local.md, plus one dev script.

  • S124 (Terminal output) counted three reply families. The parser also answers the OSC 7501 ; ? program-status probe, with a constant that echoes nothing printed, and docs/specs/terminal-escapes.md already listed it. The rule now names four. The pointer in dor-tool.rationale.md drops its count.
  • S150 (Local-file viewer) listed the Markdown paste types without image/svg+xml, which SVG paste (e2fab2c) added. The rule now lists it. It is still not CORS-safelisted, and the .svg it writes is served under the sandboxed image CSP. The rule also says which types image-editor saves take.
  • scripts/frame-origin-check/serve.mjs printed posted report fields to the terminal unfiltered. It now replaces C0/C1 controls before printing, and loopback-lint's allowlist reason says so.

pnpm lint:specs, lint:md, and lint:loopback pass.

🤖 Generated with Claude Code

…ame-origin output

Two `FAIL IF` rules had fallen behind the code they check. S124 listed three
reply families, but the parser also answers the `OSC 7501 ; ?` program-status
probe with a constant (terminal-escapes.md already listed it). S150 listed four
Markdown paste types, but SVG paste added `image/svg+xml`, still not
CORS-safelisted.

The frame-origin check printed posted report fields to its terminal as they
came; it now replaces control characters first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: c06dd32
Status: ✅  Deploy successful!
Preview URL: https://a56b5aff.mouseterm.pages.dev
Branch Preview URL: https://audit-local-stale-rules.mouseterm.pages.dev

View logs

@nedtwigg
nedtwigg merged commit f966a2d into main Nov 30, 2026
14 checks passed
@nedtwigg
nedtwigg deleted the audit-local-stale-rules branch November 30, 2026 04:14
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