The AfterPack Blog
News, updates, and insights about JavaScript obfuscation and protecting your code in the AI era.
Follow us
Featured

Announcing AfterPack: a free JavaScript obfuscator for the web
AfterPack, the free JavaScript obfuscator, rewrites your build into a different program every time, and every request in a Cloudflare Worker.

AI Agents defeat obfuscated JavaScript in 10 minutes
I handed two JavaScript obfuscators — javascript-obfuscator and JScrambler — to Claude Code with one prompt each. Both vendors' flagship demos came back as clean source, in 10 and 20 minutes. Prompts, scripts, and recovered code inlined.
All Posts

Obfuscate JavaScript on every request in Cloudflare Workers
To obfuscate JavaScript on every request in a Cloudflare Worker, call AfterPack's @afterpack/wasm with a random seed, or cache one version per time window.

How to protect JavaScript source code in production
Anyone can read the JavaScript your site ships; protect it in production by removing source maps, keeping secrets on the server and obfuscating with AfterPack.

Claude Code's Source Didn't Leak. It Was Already Public for Years
Everyone's calling it a source code leak. But Claude Code's entire CLI was already on npm, in plaintext, readable by anyone. The source map just added comments on top.

Introducing AfterPack Site Security Scanner
A free tool that shows you exactly what your website exposes — leaked secrets, unprotected source code, and more. Scan any site in seconds.

Announcing the AfterPack Waitlist
The January 2026 waitlist announcement, kept as written. AfterPack has since launched; current plans are on /docs/tiers.