Repository navigation
Say the Rust scanner is live, and publish its real limits - #122
Conversation
/tools, the home page and the Document Engine template still said the Rust/WASM scanner was built but not deployed. The production Worker (version dc7976d7, 2026-11-23) bundles the same scanner_wasm_bg.wasm as functions/_lib/scanner/pkg (SHA-1 de9a04e3...) and serves /api/scan with it. The /tools limits table was tested on 2026-10-14 against the retired TypeScript engine, and its guard test still replayed that engine. Replayed against the shipped WASM, the translated, look-alike-letter and invisible-character payloads are caught; the reworded concealment instruction is still missed. The table now says so, and the guard test moves to functions/_lib/scanner/ and loads the committed WASM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Pre-merge checks:
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: e229b18c-8530-4eec-b479-eed43ae1e92e) |
PR Checklist
Notes
Before: /tools and the home page said "The Rust/WASM scanner is built but not deployed to the public scanner route." The limits table said translated, look-alike-letter and invisible-character instructions were missed.
After: /tools has a "What runs the scanner" section saying the engine is Rust compiled to WebAssembly, running on the Worker that serves securepride.org, and that it replaced the TypeScript engine in November 2026. The home card reads "What runs it · Rust, compiled to WASM". The limits table shows four caught, one missed, tested November 25, 2026.
How it was checked:
secure-pride(versiondc7976d7, deployed 2026-11-23) bundlesscanner_wasm_bg.wasmwith SHA-1de9a04e3…, identical tofunctions/_lib/scanner/pkg/scanner_wasm_bg.wasmon main (Cloudflare API, script content module names +sha1sum).functions/_lib/dlp/patterns.ts, the retired TypeScript engine.functions/_lib/scanner/published-limits.test.tsand loads the committed WASM from disk, so a future engine change fails it.src/orpublic/./privacyandREADME.mdwere already correct.Merging to main triggers Workers Builds, which deploys production.
Generated by Claude Code
Note
Low Risk
Documentation and contract tests only; no scanner API or deployment logic changed in this diff.
Overview
Site copy and published limits now describe the Rust/WASM scanner as live on the Cloudflare Worker, replacing messaging that the engine was built but not deployed.
The limits table (
scanner-limits.ts) is retested November 25, 2026 against the shipped WASM: translated, homoglyph, and zero-width inputs are nowcaught(they weremissedunder the retired TypeScript engine). Reworded concealment remainsmissed.The guard test moves from
functions/_lib/dlp/published-limits.test.tstofunctions/_lib/scanner/published-limits.test.ts, replaying the same payloads viascan_jsonon the committedscanner_wasm_bg.wasmso CI fails if the public table drifts from the engine./tools, the home fact card, and the brand document engine sample text are updated to match (new “What runs the scanner” section; “In development” limited to playbooks/templates).
Reviewed by Cursor Bugbot for commit 4444fc0. Configure here.
Summary by CodeRabbit