mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-28 07:03:20 +08:00
Minified JS in dist/ contains hundreds of string-constant URLs from bundled npm libraries (React error pages, W3C namespace URIs, CDN references, OSS credits) that are never fetched at runtime. Scanning them produced an endless stream of false positives requiring per-URL allowlisting. Fix: split the A1 URL check by directory: - src/ (our code): strict — any external URL is blocked - dist/ (npm build output): skip inline URL scan entirely Structural checks (A2-A6) still apply to dist/: - External <script>/<link> loads in HTML - Tracking/analytics identifiers - Iframes, eval/Function, external WebSockets