Free open-source tool

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.

Open BLA on GitHub

Official links and how BLA works

Everything is free and open source under the MIT license. Always install from the official repo or npm package below.

  1. 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.

    Diagram showing how BLA protects an app: real code passes through an O(1) opaque gate while decoy code, honey SourceMaps and canary traps are woven into the build
    From my reel: architecture graphic from my edit showing how BLA weaves decoy paths beside your real code.
    Open GitHub repo
  2. 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.

    Unprotected app showcase panel showing REA reconstructing core logic in 38 seconds using 4,800 tokens ($0.20 API bill)
    From my reel: BEFORE BLA panel recreated from BLA official showcase (qybaihe/bla, modeled benchmark vs REA).
    View on npm
  3. 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.

    BLA-protected app showcase panel showing REA hitting resource limits and burning 23,125,000 modeled tokens ($358.28 API bill)
    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. 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. 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. 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. 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.

Talk to us

BLA (github.com/qybaihe/bla, npm bla-agents) is created by Timo Zhang (qybaihe) and released under the MIT license. All credit to the creator.

More free prompts

Off Grid AI: free offline AI on your phone Run private AI models on iPhone, Mac or Android with zero internet for chat, images and PDFs.10-step Claude Code website rebuild prompt Turn an outdated local business website into a modern preview site with a side-by-side compare page.Two free design skills for Claude Code Impeccable finds and fixes AI design mistakes. The Emil Kowalski skills add smooth motion and clean phone layouts.rea-video: study any viral video A free Claude Code tool. It checks each shot of a video (real, AI or code) and writes a remake plan.Claude Mem and 4 more Claude Code tools A memory for Claude Code, free AI tokens, the official setup plugin, the Google plan review plugin and a UI library.Agent Browser: free browser for AI agents A free tool from Vercel Labs that gives Claude Code, Codex and other coding agents a browser that they can control.OpenMausBot: free AI bot team A free, open-source app that gives you a team of Claude or Codex bots on your computer.Build a website with AI in 3 steps My 3 steps: a website brief, a wireframe in Paper or Pencil, then code and deploy with Claude or Codex.Claude SEO: free website audit A free Claude Code plugin that audits your whole website. The install lines and my next prompt.Hallmark: fact or hype? I tested the Hallmark design skill against Claude with no skill. The link, my prompt and the result.Claude Code + Blender Blender Skills, a free pack of 94 skills, and the free BlenderMCP add-on that connects Claude Code to Blender.Animated videos with Claude Code Lemo-Opuscar, a free skill with 66 film styles, with the install steps and a prompt to start your first film.Top 5 Claude Code plugins FreeLLMAPI, Lemo-Opuscar, Ponytail, Agent Reach and NVIDIA SkillSpector, with one prompt that sets them all up.Are your Claude skills safe? Two free prompts that check the skills on your computer and any skill before you install it, plus a skill safety checklist.Make it better prompt library Stop telling AI "make it better". Fill-in-the-blank prompts for your website, emails, posts, ads, proposals and more.Make 3D websites with Claude The prompts, Claude skills and free 3D tools behind real 3D websites people made with Claude.Edit your videos with Claude Every tool Claude used to edit my reel, most of them free, plus a prompt to start your own edit.Is your job safe from AI? Microsoft offered 60,000 people money to quit. Check your own week with two questions.Tesla Roadster demo, timestamped Where to watch the fans, the thrusters and the flip in Tesla's full demo.OpenCode: a free AI coding agent Like Claude Code, free, with NVIDIA's Nemotron model on its free list.Minecraft mod: Claude builds for you Press K, type what you want, and Claude Code builds it in your world.51 free apps in one repo HeyPuter's Everything: free, open-source apps you can open right in your browser.GTA, Halo and COD in a browser The three browser game projects from my reel, with the safety notes.Free copies of 7 Adobe apps Photoshop, Premiere Pro and five more, rebuilt with AI by ArtCraft. Free and open source.Free Word, Excel and PowerPoint Three free, open-source copies that open your normal Office files.Cheap AI models, with prices Five low-cost models from Anthropic, OpenAI, Google and Mistral, and two ways to cut your AI bill.Build a 3D game with Claude Code Five free tools: game-dev skills, Godot MCP, TripoSR, Colyseus and MCP Unity.Build a 3D website with AI ChatGPT, Meshy and Claude Code: a website with real 3D models you can spin and zoom.Claude Code on DeepSeek Set up Claude Code to run on DeepSeek in 4 steps, then add a free skill for motion graphics.Launch video from one prompt A free Claude Code skill that writes, scores and exports a launch video for your product.Co-op any single-player game A free Claude Code playbook that adds co-op to single-player games, so friends can join over Steam.Claude Duet: 5 things to ask it Who can get Anthropic's new agent app now, how to join the waitlist, and the first five things to ask it.Give Claude Code ears Earshot, a free tool that lets Claude hear sounds, check your video audio and make sound effects.4 free Claude Code plugins Superpowers, Frontend Design, Playwright and Claude Security, with one prompt that installs all four.CLAUDE.md + AGENTS.md prompt One prompt that reads your business folder and writes the files Claude Code and Codex read first.Edit your video by voice Say your edits out loud while filming. Claude Code or Codex makes each one at that moment.Design a website in Paper Two prompts that get Claude Code to interview you and design a full landing page.Humanize skill Turns flat, AI-sounding writing into something people want to read.A 3D video made in code How the Opus 5.5 Clawd video was built, with the prompt and the free kits.