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.
I'm so glad that browser APIs have finally matured to a point where we can intercept and cancel unwanted navigations. This also helps with some niche Electron use cases where navigations can be highly privileged.
Full disclosure: I'm the creator of airgap.js, which is the subject of this article.
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...
navigation hijacking is nasty but so hard to follow if you don't know what you're seeing
I'm so glad that browser APIs have finally matured to a point where we can intercept and cancel unwanted navigations. This also helps with some niche Electron use cases where navigations can be highly privileged.
Full disclosure: I'm the creator of airgap.js, which is the subject of this article.
[flagged]
[flagged]