← Academy qybaihe /bla6,956MITTypeScript

BLA

The free tool that sets traps for AI that copies your app

BLA hides decoys and budget traps in your build, so an AI agent reverse engineering your app chases fake paths, while your users get the same app. Here is what it does, how to run it, and what it does not promise.

An AI agent can now read a shipped app and work out how it is built: the endpoints, the logic, the keys someone forgot. BLA, short for Blind LLM Agents, works on the other side. You run one command on your build before you ship, and it fills the output with decoys and traps aimed at those agents. The app your users run stays the same, and BLA checks that.

qybaihe /blaPublicA defensive CLI and MCP server that hardens your release builds against AI reverse engineering agents
Language
TypeScript
Stars
6,956 on 26 Nov 2026
License
MIT
Best for
Web, Electron and WebAssembly apps you ship to people's machines
Needs
Node.js 22.23.4+ or 24+, a built project
Open on GitHub ↗

What BLA does

BLA works on what your build produced, never on your source. It looks for the usual outputs (dist/, build/, Electron .asar, .wasm, SQLite files, native binaries) and runs three steps: audit, protect, verify. Its README describes the defence in three layers:

Poison

  1. 01Decoys: realistic fake code, fake state machines and honey source maps that send an agent down wrong paths

→ a misleading build

Exhaust

  1. 02Budget traps: files shaped to trip the default limits of analysis tools, so a default pass stops on its own

→ an expensive build

Verify

  1. 03Same app: every target is checked for the same inputs and outputs as before

→ users notice nothing

The decoys sit behind conditions that never come true when the app runs, or in parts of a file nothing reads. That is why your users get the same app.


(01)Build your app

BLA hardens what your build produced and leaves your source alone. Build first, the way you normally would.

(02)Harden a copy

In your project folder:

npx bla-agents harden .

This writes a hardened mirror to .bla-hardened/. Nothing ships yet. Run your own tests against it.

(03)Apply it, or undo it

npx bla-agents harden . --apply    # replace the build output with the hardened files
npx bla-agents harden . --restore  # put the original build output back

--apply only overwrites build output, never source, and keeps the originals outside the project.

(04)Or let your agent run it

BLA is also an MCP server. One command registers it with Claude Code, Codex, Cursor and other agents:

npx bla-agents setup

Your agent then plans the hardening, applies it and runs the checks itself. Read what it changes before you ship.


What it does not promise

How you know it is done

  • It does not make your app impossible to copy. It makes an automated copy slower, more expensive and less reliable.
  • Most of the limits it trips are defaults that an analysis tool can raise. The README says so itself.
  • The README's big token multipliers are its own modelled estimates, not measurements, so we leave them out.
  • A counter tool already exists: LASIK (pktq/lasik) strips BLA's layers so agents can read the real code again.
  • Anything truly secret, like keys, belongs on a server, not in a build you ship.

The LASIK point matters. Any protection that ships inside your build can be studied and undone in time. Treat BLA as a speed bump that costs an attacker time and money, on top of the basics: no secrets in client code, real checks on your server.

Stars
6,956 on 26 Nov 2026
License
MIT
Run
npx bla-agents harden .
Agent setup
npx bla-agents setup (Claude Code, Codex, Cursor and more)

Common questions

Got any questions left?

Is it free?

Yes. BLA is MIT licensed and runs locally with npx.

Will my users notice anything?

They should not. BLA checks that each hardened target gives the same outputs for the same inputs. Run your own tests on the hardened copy before you apply it.

Does it protect my source code on GitHub?

No. It works on the build you ship to people's machines. A public repository is public either way.

Can it be undone?

By you, yes: --restore puts the original build back. By an attacker, in part: LASIK is a public tool that removes BLA's layers.

Is it for attacking other apps?

No. Its README calls it a defensive tool for your own builds only.

Build systems that run your brand__

info@hybrdstudio.com
Share article X LinkedIn

Discover more