Locking down untrusted JavaScript after it loads
giacaglia
13 points
3 comments
November 24, 2026
Related Discussions
Found 5 related stories in 56.3ms across 4,072 title embeddings via pgvector HNSW
- Show HN: SafeScript, a safe version of JavaScript for executing untrusted code EGreg · 11 pts · November 08, 2026 · 55% similar
- Borrowing a Microsoft-signed shim to abuse Secure Boot on corporate hardware p4p1 · 48 pts · November 09, 2026 · 48% similar
- Letting users trust their own MCP clients, without opening a phishing hole isalexlog · 32 pts · November 04, 2026 · 47% similar
- I'm not a fan of Deno's security model (2024) maxloh · 96 pts · November 08, 2026 · 47% similar
- Forging a Microsoft Edge Full Chain with Logic Bugs Only austinallegro · 237 pts · October 29, 2026 · 46% similar
Discussion Highlights (2 comments)
banter86
navigation hijacking is nasty but so hard to follow if you don't know what you're seeing
mkfrl09
I'm the CTO of Transcend We are living in a world where you need to assume breach, including in your own script tags. Last week it was Optimizely. Malicious JavaScript was injected into a Web Experimentation project, and it went after card details and crypto transfers on live customer sites. This is similar to the Magecart campaign in 2025 as well. airgap.js sit's in a league of it's own. not only do we believe it's the fastest way to generate and build a content security policy (CSP) that deals gracefully with logins, feature flags, script managers, deep code dependencies - it's also unique able to regulate navigations just like a CSP would, and supports drop in "overrides" that allow for allowing or rejecting requests and override functions. https://docs.transcend.io/docs/consent-management/security-c... https://docs.transcend.io/docs/consent-management/security-c... Example repo: https://github.com/transcend-io/examples/tree/main/airgap-se...