█

AI/TLDR

Buy me a coffee
Buy me a coffee

BLA (Blind LLM Agents)

Harden the build you ship so AI reverse-engineering agents run out of budget and follow decoys

Guardrails & SecurityOpen source
Latest
v2.0.0
Updated
3 Nov 2026
Language
TypeScript
License
MIT
$npx bla-agents setup

What's new

v2.0.03 Nov 2026

Major MCP and Skill 2.0 release: a unified bla lint / bla_lint packaging gate, new refuse lints in bankrupt mode, WASM export hygiene and agent write safety. The CLI and MCP verbs bla_harden, bla_defend and bla_protect are unchanged.

IN SHORT

What is BLA (Blind LLM Agents)?

BLA (Blind LLM Agents) is an open-source TypeScript CLI and MCP server, published on npm as bla-agents, that protects software you ship against AI reverse-engineering agents. Its stated target is REA, an open-source tool that lets coding agents decompile and reconstruct applications. It sits in the Guardrails & Security category of the Evaluation & Production Ops tools and is open-source, written in TypeScript and licensed MIT.

Updated Markdown version ↗

Overview

BLA (Blind LLM Agents) is an open-source TypeScript CLI and MCP server, published on npm as bla-agents, that protects software you ship against AI reverse-engineering agents. Its stated target is REA, an open-source tool that lets coding agents decompile and reconstruct applications. You point BLA at your release artifacts; when an analyzer opens them, the project says it hits resource budgets, follows decoys and burns tokens, while the program keeps the same runtime behaviour for real users.

Two terminal panels side by side: on the left, REA fully analyzes an unprotected Electron app and an attacker agent reconstructs it in four turns; on the right, REA runs against the BLA-shielded build and hits partial parse status, broken budgets and decoy evidence.
The project's before-and-after showcase: REA against an unprotected Electron app, then against the same app after npx bla-agents defend. The token and cost figures are the project's own estimates.BLA README ↗

The README describes three layers. Poison plants format-valid canaries, honey metadata and decoy control flow that look like real evidence. Exhaust pushes the artifact past an analyzer's documented resource budgets — header sizes, nesting depth, interface inventories and similar caps. Hallucinate leaves the analyzer with truncated inventories and ambiguous rabbit holes. A runtime guard also hardens Electron fuses and, per the README, returns synthetic telemetry when CDP, Frida or an inspector is attached. The protections are format-native and need no commercial packer or external LLVM toolchain; the project's stated red line is never to break the protected program's behaviour, exports or format validity.

Coverage spans JavaScript and TypeScript, Electron .asar archives and fuses, WebAssembly, Python bytecode, SQLite, Safetensors and GGUF model files, Go build info, Flutter/Dart, Erlang BEAM, EVM bytecode and PCAP captures, with further shields for DEX, IL2CPP, .NET, JVM and Apple binary plists. The README separates formats it has measured against a real REA run from ones that are only designed-for, and labels its token and cost multipliers as internal estimates rather than measured results. BLA is positioned as a defensive tool for your own software only, and its disclaimer says it is not for attacking other people's code.

What it does

  • One-command harden (bla harden .) that auto-discovers dist/, build/, .asar, .wasm, .sqlite and model files and runs audit → protect → verify
  • Separate audit, protect, verify and defend stages from the CLI, or the same tools over MCP (bla_harden, bla_audit, bla_protect, bla_verify)
  • bla setup registers the MCP server and a bundled skill with Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Google Antigravity, OpenCode, VS Code and GitHub Copilot CLI
  • Format-native shields for JavaScript, Electron, WebAssembly, Python, SQLite, Safetensors, GGUF, Go, Dart, BEAM, EVM, PCAP and more, with no external packer
  • Runtime-equivalence checks in its benchmark, plus a red-team harness (npm run redteam:rea) that records results against a real REA install
  • Per-project random seed, with riskier LLM-facing bait (--llm-directives) and the unsigned defense manifest (--manifest) off by default
  • MIT licensed

Getting started

BLA runs on Node.js ^22.23.4 or 24+ (the npm package's engines field). Use it through npx, as a dev dependency in a release pipeline, or as a global install.

Register BLA with your coding agent

Setup discovers installed AI coding agents and registers the bla MCP stdio server plus the blind-llm-agents skill. doctor checks the environment and the configured clients.

bashbash
npx bla-agents setup
npx bla-agents doctor

Harden the current project in one command

harden finds your build outputs and runs audit, protect and verify. After setup you can ask your agent the same thing in plain language.

bashbash
npx bla-agents harden .
# or ask your agent: "Harden my software against REA"

Or run the stages on one artifact

Audit an artifact for REA exposure, protect it in bankrupt mode, then verify functional preservation against the original.

bashbash
npx bla-agents audit ./dist/app.js
npx bla-agents protect ./dist/app.js --mode bankrupt
npx bla-agents verify ./dist/app.js ./dist/app.bla.js

Protect every build in CI

Install BLA as a dev dependency and add a postbuild step, as the project's installation guide shows for a Vite app.

bashbash
npm install --save-dev bla-agents

# package.json
"scripts": {
  "build": "vite build",
  "postbuild": "bla protect ./dist/assets/index.js --in-place --mode bankrupt --emit-sourcemap"
}

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Making a shipped Electron or JavaScript app expensive for an AI agent to decompile and clone
  • Adding canaries and decoys to WebAssembly modules, SQLite databases or model files you distribute
  • Running a protect step after every build in a release pipeline so each artifact is hardened before it ships
  • Red-teaming your own release with REA to see which analyzer budgets your hardened build trips

How BLA (Blind LLM Agents) compares

BLA (Blind LLM Agents) alongside other open-source guardrails & security tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
SkillSpector★ 28.3kSecurity scanner for AI agent skills that checks a skill for prompt injection, data exfiltration, privilege escalation and supply-chain risks before you install it.
Presidio★ 12.1kAn open-source framework for detecting, redacting, masking, and anonymizing personal data (PII) across text, images, and structured data using NER models, regex, and rule-based recognizers.
Failproof AI★ 10.5kA hook-based CLI and Rust daemon that listens to every event from 12 agent harnesses such as Claude Code, Codex and Cursor, and blocks, warns or steers the agent with one policy API, with optional cloud tracing and failure audits.
Guardrails AI★ 7.7kA Python framework that wraps LLM calls with composable input/output validators (from the Guardrails Hub) to check structure, type, and safety risks before responses reach users.
NeMo Guardrails★ 7.6kNVIDIA's toolkit for adding programmable rails to LLM chat apps, using the Colang language to control dialog flow and block jailbreaks, prompt injection, and off-topic answers.
BLA (Blind LLM Agents)★ 7.3kHarden the build you ship so AI reverse-engineering agents run out of budget and follow decoys
dcg (Destructive Command Guard)★ 6.4kA Rust pre-tool hook for coding agents that inspects each shell or git command before it runs and blocks the destructive ones, with an explanation and a safer alternative.
GLiNER★ 4.3kA small zero-shot named-entity recognition model that can extract arbitrary entity types from text and is widely used as a PII detection backend, including inside Presidio.