Stop AI agents from cloning your app. Hide decoy code traps, completely for free
AI agents can inspect a normal web app and copy its core logic in seconds using tools like REA (Reverse Engineer Anything). BLA (Blind LLM Agents) is a free open-source tool under the MIT license with over 7,000 GitHub stars. It hides decoy code and budget traps inside your build behind fast math checks, so attacking AI agents follow fake paths and burn tokens while your real users run the exact same app with no slowdown. Here are the official links and setup steps.
Everything is free and open source under the MIT license. Always install from the official repo or npm package below.
1
BLA on GitHub (qybaihe/bla)
Made by Timo Zhang (qybaihe) · MIT license · 7,000+ GitHub stars
BLA gives you a CLI and a 31-tool MCP server that covers 26 artifact formats (JS/TS, Electron ASAR, WASM, Python, SQLite, native binaries and more). It uses three layers: Poison (adds decoy code and shadow logic), Exhaust (trips AI analyzer resource limits) and Entangle (resists stripping). All traps sit behind fast O(1) math checks so your real code path stays untouched.
Bundled benchmark targets pass input and output equivalence tests (14/14 when the reel was recorded, now 16/16 in the latest repo). Always run your own test suite before shipping.
From my reel: architecture graphic from my edit showing how BLA weaves decoy paths beside your real code.Open GitHub repo
2
npm package (bla-agents)
Official CLI and MCP server · requires Node.js 22.23.4 or 24+
Without protection, an AI reverse-engineering agent like REA (morluto/rea) can unpack a normal bundle, trace your routes and copy your logic in seconds. BLA runs against your built output folder (dist, build, .asar and more) with one command and writes a preview into .bla-hardened before touching your real build.
Then just say: Harden my software against REA
Run npx bla-agents setup once to wire BLA into Claude Code, Cursor, Codex, Windsurf, Gemini CLI, VS Code, OpenCode or Antigravity.
From my reel: BEFORE BLA panel recreated from BLA official showcase (qybaihe/bla, modeled benchmark vs REA).View on npm
3
Official BLA website and benchmarks
bla.tools · live showcase, defense guides and CrackMe arena
The official site shows the full side-by-side showcase against REA, defense guides per stack (including a Vite, Rollup, Webpack and esbuild bundler plugin), and the CrackMe arena. In the repo modeled benchmark suite against REA, BLA projects 300x to 2,800x token amplification while keeping runtime behavior identical for real users.
Use BLA only to defend your own apps. A skilled attacker can raise default REA limits, so BLA slows and misleads AI agents and does not make an app 100 percent unhackable.
From my reel: AFTER BLA panel recreated from BLA official showcase (qybaihe/bla, modeled benchmark vs REA).Open bla.tools
Quick setup commands
Copy these commands into your terminal inside your project folder. Build your app first, then run BLA on the build output.
Prompt
# Option 1: Register BLA with your AI coding agent (Claude Code, Cursor, Codex, etc.)
npx bla-agents setup
# Then tell your agent: "Harden my software against REA"
# Option 2: Run the CLI directly after building your app
npx bla-agents harden .
npx bla-agents harden . --apply
npx bla-agents harden . --restore
How to set it up in 4 steps
1
Check your Node.js version and build your app
Make sure you have Node.js 22.23.4 or Node.js 24 and newer installed. Run your normal build first so your dist or build output folder is ready.
2
Connect BLA to your coding agent (or use the CLI)
Run npx bla-agents setup in your terminal to add BLA as an MCP server and skill for Claude Code, Cursor, Codex, Windsurf or VS Code. Then just say: Harden my software against REA.
3
Preview the hardened output safely
If you run the CLI directly, start with npx bla-agents harden . so BLA writes a preview mirror into .bla-hardened without changing your live build files yet.
4
Test your app, then apply
Run your test suite to confirm everything behaves the same for your users. When it passes, run npx bla-agents harden . --apply to promote the protected build (you can undo any time with --restore).
Questions people ask
Does BLA slow down my app for real users?
No. BLA puts its decoy logic and budget traps behind fast O(1) math checks that always skip the traps at runtime. Real users follow your normal code path with no noticeable slowdown. All bundled benchmark targets in the repo pass input and output equivalence checks, and you should still run your own app tests before shipping.
Does BLA make my app 100 percent unhackable?
No tool can make client-side code 100 percent unhackable. The 300x to 2,800x token numbers come from the repo modeled benchmark tests against REA. A skilled attacker can raise default REA analyzer limits, so treat BLA as a strong layer that slows and misleads AI reverse-engineering agents rather than a silver bullet.
What do I need installed to run BLA?
BLA (npm package bla-agents) is free under the MIT license and requires Node.js 22.23.4 or Node.js 24 and newer. It works as a standalone CLI, an MCP server for coding agents, or a bundler plugin for Vite, Rollup, Webpack and esbuild. Read the full README on GitHub
Who should use BLA?
Software authors, indie builders and security teams protecting their own web apps, desktop Electron apps or release artifacts. Use BLA strictly to defend your own apps and follow the project disclaimer on GitHub.
Want AI set up like this for your business?We build AI setups and run ads for businesses.