Repository navigation
fix(stats.js): serve the WebMCP plugin same-origin; tracker scripts skip the crawl gate - #448
Merged
Merged
Conversation
…kip the crawl gate - /npm/@profullstack/webmcp@0/src/<module>.js mirrors jsDelivr @0 (allowlist, 15 min cache, CORS *). 12 fleet sites load stats.js but their CSP refuses cdn.jsdelivr.net; all of them allow crawlproof.com. - /stats.js, /careers.js, the mirror and /api/tracker/v1/webmcp bypass the crawl gateway: public static embeds that cloud-hosted agent browsers (the visitors WebMCP is for) were getting 402s on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan50 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 30 | LOW: 18
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #446/#447, from a live sweep of the 82 opted-in fleet sites.
/npm/@profullstack/webmcp@0/src/<module>.jsmirrors jsDelivr @0 (module allowlist, 15 min revalidate, CORS *); stats.js loads it from there. Path keeps@profullstack/webmcpso the load-once selector still matches./stats.js,/careers.js, the mirror and/api/tracker/v1/webmcpskip the crawl gateway (isTrackerAssetPath). From a datacenter IP stats.js was 402/ORB-blocked, which is also what cloud-hosted agent browsers see./api/trackis unchanged.Verified: rendered stats.js in Chrome 155 (WebMCPTesting), 6 load-once scenarios all pass with the same-origin path; changed files transpile.
🤖 Generated with Claude Code