跳到正文
FunCoding

bla

🛡️ BLA (bla-agents / Blind LLM Agents) — Open-source Blue Defense MCP server & CLI protecting JS/TS, Electron ASAR, WASM, Python, Native Binaries, SQLite, GGUF/Safetensors & Android DEX against AI reverse-engineering agents (REA).

Star
7,372
分类
安全
许可证
MIT
最近提交
2026年12月1日

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Türkçe · Русский · Tiếng Việt · ไทย · Deutsch · Español · Français · Українська · Polski · Português (Brasil) · العربية · فارسی · Bahasa Indonesia · Italiano · Ελληνικά · മലയാളം · Roman Urdu · Română


BLA Shield

BLA: Blind LLM Agents

Poison → Exhaust → Hallucinate. Make Reverse Engineering Bankrupt Again.

The open-source Counter-REA Blue Defense MCP & CLI that protects software releases against AI reverse-engineering agents (morluto/rea, autonomous decompilers, and LLM recon pipelines) — verified across 16 showcase benchmark targets.

npm version GitHub Trending MCP Server Formats Counter-REA MIT License

GitHub Trending — #5 Repository Of The Day

🌐 Official Website · 📖 Defense Guides · 📊 Live Benchmarks · 🎯 CrackMe Arena · 🏢 Enterprise · ⚖️ Disclaimer

Quick Start · How It Works · Empirical Results · Format Coverage · 16-Target Benchmark · CrackMe Arena · FAQ


Important

Defensive Use Only: BLA is engineered strictly for software authors and security teams protecting their own intellectual property and release artifacts. See DISCLAIMER.md. Always install from official sources: qybaihe/bla or npm i bla-agents.

Side-by-side: REA on an unprotected artifact vs BLA-protected output

🔴 Without BLA

AI reverse-engineering agents (REA + coding agents) unpack .asar archives, recover SourceMaps, trace IPC bridges, inspect .wasm / .sqlite / .safetensors, and clone core business logic in seconds for ~$0.20.

🛡️ With BLA (bla harden .)

REA's default pass stops on its own resource budgets (primitive-candidates > 256, ASAR > 16 MiB, WASM > Wabt cap, SQLite virtual trap), follows realistic shadow state machines, and projects 105.6×–4,817.7× modeled token amplification across the 16-target showcase (token-estimator.ts). Most of those budgets can be raised by the caller — what that means.

⚡ Runtime-Equivalent by Design

Exhaustion graphs and decoy payloads sit behind $O(1)$ number-theoretic opaque predicates ($7x^2 - 1 \neq y^2 \pmod 7$) or inert format sections. 16/16 bundled benchmark targets pass input/output equivalence tests (bla verify checks Counter-REA structural gates; run your project's test suite for custom artifacts).


⚡ 30-Second Quick Start

1. One-Command CLI Hardening

Point BLA at any project or release directory. It auto-discovers build outputs (dist/, build/, .asar, .wasm, .sqlite, .safetensors, native binaries, Python/C/Rust/Go) and runs audit → protect → verify:

# Node.js ^22.23.4 or >=24.0.0 recommended
npx bla-agents harden .            # writes a partial mirror to .bla-hardened/ — nothing ships yet
npx bla-agents harden . --apply    # ship it: replace the build output with the hardened files
npx bla-agents harden . --restore  # undo: put the original build output back

Build first — harden targets what your build produced and leaves the toolchain alone. --apply only overwrites build output (never source) and keeps the originals outside the project; run your own tests against the promoted build before releasing.

2. Agent-Driven Closed-Loop Defense (MCP + Skill)

Register BLA once with your coding agent (Claude Code, Cursor, Codex, Windsurf, Gemini CLI, GitHub Copilot CLI, VS Code, OpenCode, Antigravity):

npx bla-agents setup

Then simply prompt your coding agent:

Harden my software against REA

Your host agent automatically orchestrates BLA's MCP tools (bla_weave_plan → source-level logic weaving & string encryption → bla_verify_weave → bla_harden → bla_verify) to harden both your source architecture and compiled artifacts. Every result carries nextSteps, so the agent finishes the job: it asks before promoting the hardened files over the build output (apply), then runs your tests.

3. Build Bundler Plugin (Vite / Rollup / Webpack / esbuild)

Protect JS chunks, strip/replace SourceMaps with VLQ v3 honey maps, and shield .wasm assets automatically at bundle time:

import { defineConfig } from "vite";
import { blaVitePlugin } from "bla-agents/bundler";

export default defineConfig({
  plugins: [blaVitePlugin({ intensity: "bankrupt", honeySourceMap: true })],
});

🧠 How BLA Works: Agent-Driven Closed Loop

Traditional obfuscators only rename variables (_0x1a2b), which modern LLMs effortlessly summarize, or wrap binaries in heavy VM packers that break cross-platform builds and degrade performance.

BLA 3.x combines format-native deterministic shields with host-agent surgical source weaving:

flowchart LR
  subgraph S1["1 · Recon & Plan"]
    A["bla_audit / bla_lint"] --> B["bla_weave_plan"]
  end
  subgraph S2["2 · Agent Source Surgery"]
    B --> C["bla_encrypt_strings\n(AST Span XOR + Keystream)"]
    C --> D["bla_bind_scope\n(Multi-Site State Entanglement)"]
    D --> E["bla_verify_weave"]
  end
  subgraph S3["3 · Artifact Shielding"]
    E --> F["bla_harden / bla_defend\n(19+ Format Shields + Self-Seal)"]
  end
  subgraph S4["4 · Counter-REA Gate"]
    F --> G["bla_verify\n(Structural Counter-REA Checks Only)"]
  end
Defense PillarMechanismEffect on AI Reverse-Engineering Agents
1. Poison (Deception)Plants format-valid canaries, SGX/TPM2/Secure Enclave delegation manifests, VLQ v3 honey SourceMaps, and plausible shadow state machines.Forces LLM agents to split context across conflicting hypotheses and chase synthetic rabbit holes.
2. Exhaust (Budget Breakers)Trips the analyzer's default limits (primitive-candidates, alias-selections, ASAR 16 MiB header, WASM Wabt representation, SQLite virtual column eval, Model 32-level nesting, PCAP tshark field pass (fixed 8 MiB), Electron 32 fuse sentinels).Downgrades REA's default examination from COMPLETE to LIMITED / CapacityError. Where REA lets the caller raise a limit this costs the attacker a retry, not the analysis — see the last column of the results table.
3. Entangle (Anti-Strip & Self-Seal)Binds sibling artifacts (JS ↔ WASM ↔ Native sidecars) via runtime SHA-256 digests (--self-seal, --sidecar-entangle) and multi-site caller scope folding (bla_bind_scope).Prevents red-team agents from stripping decoys, nop-patching single-point checks, or calling exported functions as offline oracles.
4. Runtime Truman ShowHardens Electron V1 Fuses (RunAsNode=0, Inspect=0) and detects CDP / Node Inspector / Frida / WebDriver attachment (runtime-shield.ts).Serves believable synthetic telemetry during live debugging while keeping normal user execution untouched.

🔬 Empirical Results vs. Real REA

BLA publishes four distinct tiers of evaluation evidence so modeled projections are never confused with live measurements:

TierWhat runsWhat it measuresWhere the raw data lives
1. Live REA probesReal morluto/rea (05be423) analyzers on 14 format samples (npm run redteam:rea)Process-level budget / capacity / redaction outcomesdocs/redteam/empirical-rea-validation.md · .json
2. Black-box agent red teamIndependent coding agents given only hardened first-party artifacts (no source or secrets)Static secret recovery, entitlement bypass, runtime-hook evasion, and automated layer stripping across 2 roundsRed-blue evaluation below · PR #345
3. Real shell-agent studyIndependent shell-enabled agent on BLA v3.6.0 (issue #319)Actual agent input tokens and functional reconstruction rateMeasured agent baseline
4. Deterministic showcase & overheadnode dist/cli.js benchmark --json + scripts/bench-harden.mjsPer-target exposure drop, obligation growth, modeled REA cost, functional equivalence, build/runtime overhead16-target benchmark & overhead

How to read this: “Empirically verified” means the live REA analyzer path returned the listed budget / capacity / redaction failure in this environment. It is not a claim about Ghidra/Frida/LLDB/Rizin/JADX sessions we did not run here, nor a claim of white-box cryptographic secrecy against a systematic human or agent attacker.

Most of REA's budgets are defaults the caller can raise. As of REA 05be423 (2026-11-17) its limits are per-call inputs or settings, and REA's own error tells the agent which one to raise (asar.max_header_bytes up to 256 MiB, max_interface_bytes up to 512 MiB, max_chunks, semantic_precision). A ❌ below therefore means REA stops here as it runs by default: a size-based plant costs an attacker one retry, it does not lock REA out. The last column says which limits REA keeps fixed, and JavaScript strings is the one row measured with the budgets raised.

Empirically Verified on Commodity Hardware

Last recorded 2026-11-18 against REA 05be423 under Node v26.12.1 (macOS arm64) with Wabt 1.0.42 and tshark 4.4.1. REA analyses packet captures only on Linux / Windows, so on macOS the harness runs REA's two tshark passes, with the arguments read from REA's own provider, and hands their output to REA's parser. Soft-skips keep Node 22 / CI green when external native tools are absent; a probe that cannot call REA at all is reported as a harness error (status: unverified, exit 2), never as a budget hit.

FormatBefore → AfterREA Outcome After BLAExact REA Budget / Error TriggeredCan the caller raise it?
Go buildinfo50 KiB → 1.17 MiB⚠️ Rejected as malformedBinaryFormatFailure — Go build-info string range is truncated. REA reads no build info from the hardened file, but it now checks the string range before max_build_info_bytes (1 MiB), the budget this plant was sized forNot measured
Erlang BEAM84 B → 241 KiB❌ Capacity errormax_chunks — BEAM form exceeds the 64-chunk budgetYes — max_chunks
EVM bytecode16 B → 4.00 MiB⚠️ Admitted, just under the cap4,190,208 of 4,194,304 bytes of EVM_PRODUCER_LIMIT_DEFAULTS.input_bytes; the EVMole worker itself is not run by the harnessYes — producer_limits.input_bytes
PCAP24 B → 1.91 MiB❌ Budget rejectedREA asks tshark for 25 selected fields and holds that output to the 8 MiB TSHARK_JSON_MAX_BYTES: the hardened capture prints 12.7 MiB, so inspect_pcap_capture fails with a non-retryable resource error. Ten DNS responses do it — 4,076 answers each, every one naming a 251-character owner through a 2-byte compression pointer, which tshark prints in full. Without them REA read the 160 other decoys (116 KiB)No — fixed; REA has no setting for it
Electron ASAR607 B → 16.9 MiB❌ Capacity errorDEFAULT_ASAR_MAX_HEADER_BYTES (16 MiB)Yes — asar.max_header_bytes, up to 256 MiB
WASM + Wabt54 B → 6.56 MiB · 251 exports⚠️ ifaceState=partialmax_interface_bytes (32 MiB) — Typed WASM interface representation exceeds max_interface_bytesYes — up to 512 MiB
SQLite (Node 24, --sqlite-eval-trap)12 KiB → 56 KiB❌ Eval trap on the honey tablesSqliteColumnEvaluationFailure — unknown enclave_unseal_payload() on virtual trap columns. Opt-in (the default through 3.4.3): it also stops the application's own PRAGMA integrity_check / VACUUM. Default hardening adds honey tables REA can read; application tables are never hidden.Not a budget — an evaluation failure
JavaScript761 B → 153 KiB❌ Budget rejectedalias-selections + getter-expansion + primitive-bytes + primitive-candidatesYes — semantic_precision
JavaScript strings340 B → 154 KiB✅ 0 of 3 known values in REA's resultAn endpoint URL, an IPC channel and a SHA-256 digest, at 1× / 4× / 64× budgets; REA returns all three from the unhardened file. Through 3.4.3 the pieces were written in clear: REA listed the channel at its defaults and all three once the budgets were raised 4×Raised here, to 64×
Safetensors128 B → 9.7 KiB❌ Capacity errorMODEL_JSON_NESTING — Safetensors JSON nesting exceeds 32 levels (HF-loadable; tensors intact)No — fixed at 32
GGUF24 B → 7.3 KiB❌ Capacity errorMODEL_METADATA_NESTING — GGUF metadata nesting exceeds 32 array framesNo — fixed at 32
Electron fuses50 KiB → 1.17 MiB❌ Budget rejectedELECTRON_FUSE_LIMITS.maximumSentinelsPerSlice (>32)No — fixed at 32
Flutter pool50 KiB → 1.17 MiB⚠️ Projected capMAX_POOL_URIS / MAX_POOL_TOKENS (REA truncates with “at least N”)Yes — uri_limit / token_limit

Reproduce locally:

export REA_WABT_BIN_DIRECTORY=$HOME/opt/wabt-1.0.42/bin   # optional
npm run build && npm run redteam:rea

npm run verify:rea checks BLA's catalogue of REA limits against the same checkout (74 checks at 05be423) and says which of them are per-call defaults.

Tier 2: Black-Box Agent Red-Blue Evaluation

Measured 2026-11-30 on BLA main (37dddd4, Node v24.22.3, macOS arm64). We built three first-party targets — a 3-file Node CJS entitlement suite (node-suite), an ESM loader + WASM vault (wasm-vault), and a 2-file Python subscription gate (py-gate) — hardened them at bankrupt with weaveDecoys: true, selfSeal: true, sidecarEntangle: true, and apply: true, and verified all three passed bla verify (scores 99 / 93 / 98) with stdout and exit codes identical to the unhardened originals.

Round 1 dispatched four independent black-box red-team agents with access to the hardened outputs only. All four recovered the protected secrets and peeled 97.6%–99.98% of the injected shield bytes while preserving behavior. Their reports isolated four structural weaknesses, which we fixed in ast-shield.ts, python.ts, self-seal.ts, and wasm.ts. Round 2 re-hardened every target with fresh seeds and dispatched fresh black-box agents:

Attack vectorRound 1 (before fixes)Round 2 (after fixes)
JS low-byte seed pinning / high-bit (8..31) editsRecovered the whsec_… / vk_live_… secrets every timeBlocked — 0/24 recovery attempts succeeded; tampering yields garbage or decoy URLs
Debug / preload flags (--inspect, --import, --require, -r, NODE_OPTIONS)Preloaded hooks ran before BLA's integrity gateBlocked — process exits 1 with integrity check failed
External ESM wrapper installing an fs Proxy hookEvaded getBuiltinModule("node:fs") identity checkBlocked — native util.types.isProxy detects hooked fs functions
Python plaintext secret grep & seal/warm-up strippingRead sk_live_… in cleartext; stripped file ran cleanlyBlocked — zero plaintext secrets; deleting or stubbing self-seal / warm-up fails closed
WASM bla.* / enclave.* custom-section prefix strippingDropped 3.87 MB of shield sections by name prefixBlocked — seed-derived mundane section names; removing sections trips the sidecar digest
Naive single-file / sibling tamperingPartial bypass before sibling checksBlocked — fail-closed SHA-256 mismatch (bla verify also exits 2 offline)
Full static seed constant-folding + unkeyed SHA-256 re-sealPeeled 97.6%–99.98% of shield bytesStill succeeds (white-box ceiling) — in-band salts and unkeyed digests are attacker-recomputable

Honest bottom line: BLA blocks low-effort stripping, standard debug/preload shortcuts, and naive tampering, and forces REA's default analyzers into budget-limited examination. It does not provide white-box cryptographic secrecy: an attacker willing to constant-fold the intact runtime seed, recompute unkeyed in-band SHA-256 seals, or hook Module.prototype._compile in memory (node -e) can still peel the client-side layer and reconstruct business logic. Keep signing keys and crown-jewel secrets on a server you control.

Tier 3: Real Shell-Agent Reconstruction Study

What did a real shell-capable coding agent actually spend? An independent experiment on BLA v3.6.0 (3 runs per target, Stage 1 only) measured 1.86×–3.58× baseline-adjusted median input tokens on the four targets that passed the default score gate (1.18× on the fifth, SQLite, which did not). The agent's reconstruction passed 12/12 functional checks in all 15 hardened runs.

That study is the right calibration for real-world expectations: BLA inflates recon cost and degrades default static analysis, but a capable shell-enabled agent can still reconstruct unprotected business invariants if the underlying secrets ship in the client. The modeled multipliers in the 16-target table describe REA's static analyzer budget projection, not metered LLM token bills.

Designed-for paths not empirically run on this machine (click to expand)

These shields exist in-tree and are covered by unit tests / catalog drift checks, but the matching REA path requires external native debuggers/decompilers not installed on the CI runner:

AreaWhy Unverified Here
Ghidra / native decompilation depthRequires a local Ghidra install + REA bridge
Frida / LLDB / GDB / Rizin live sessionsRequires those debuggers + device/process attach
JADX / full Android APK pipelineAPK resigning unsupported; standalone DEX shield is in-tree
Firmware containersStaging/extraction budgets exist; no honest E2E without firmware corpora
SPIR-V / CUDA fatbinary / AMD GPU objectsNeed native GPU object decoders; PTX text is shielded in-tree
EVMole in-process EVM decodeNot pathable in-process; EVM shield densifies to the 4 MiB input cap
REA's own PCAP provider (inspect_pcap_capture)REA runs it only on Linux / Windows; on macOS the harness runs the same two tshark passes and REA's parser
Raised REA budgets, other than JavaScript stringsNot measured. Every other row is REA at its default settings

🛡️ Format Coverage

All 26 format shields are built directly into bla-agents with zero external packer dependencies:

FormatCanary + DiagnosticExhaustion / Budget TripVerification LevelNotes
JavaScript / TypeScript✓✓ semantic budgetsREA verified + red-teamedBabel AST; 32-bit seed-coupled string masking; self-seal
Electron .asar✓✓ header 16 MiBREA verifiedIPC de-literalization + Pickle repackaging
Electron fuses✓✓ >32 sentinelsREA verifiedV1 fuse hardening + embedded ASAR hash check + sentinel flood
WebAssembly (.wasm)✓ custom sections✓ export decoys → WabtREA verified + red-teamedLEB128 parser; mundane section names; preserves WebAssembly.validate
SQLite (.sqlite / .db)✓ honey + trap cols✓ column evalREA verified (Node 24)Magic-byte verified; supports WITHOUT ROWID
Safetensors (.safetensors)✓ string metadata✓ JSON nesting >32REA verifiedHuggingFace-loadable; tensor bytes preserved
GGUF (.gguf)✓✓ ARRAY nesting >32REA verifiedPreserves model weights and KV tensors
Go buildinfo (ELF)✓✓ >1 MiBREA verified (format rejection)Mapped ELF section
Windows PE (.exe / .dll)✓✓ .enclave COFF section + fuses/rustc/DartUnit-tested (designed-for)Mapped .enclave section, x86-64 ABI function islands, MSVC RTTI, CodeView RSDS PDB
Flutter / Dart pool✓✓ URI/token capsREA verified (projected)Snapshot magic & toolchain flood
Erlang BEAM (.beam)✓✓ chunks / atomsREA verifiedExceeds 64-chunk budget
EVM + Solidity meta✓✓ → 4 MiB inputREA verified (approach)CBOR metadata + bytecode densification
PCAP (.pcap)✓✓ REA's tshark field pass > 8 MiB (fixed)REA verified (tshark 4.4.1)Synthetic packet + canary injection; a DNS answer flood at bankrupt
Python (.py / .pyc)✓✓ AST weave + string XORUnit-tested + red-teamedCPython 3.7–3.14 marshal & AST; CR/CRLF normalization; live self-seal coupling
NVIDIA PTX (.ptx)✓entry floodBenchmark onlyKernel entry & canary flood
DEX / IL2CPP / bplist / .NET / JVM / ZIP✓format-specificUnit-tested (designed-for)Recomputes DEX SHA-1 & Adler32; structural PE CLR-header (.NET) admission

📊 Benchmark (16 Targets, Internal Estimates)

Run npx bla-agents benchmark to execute the 16-target showcase locally:

npx bla-agents benchmark

Note: Token and USD columns below are internal estimates derived from BLA's catalog of REA limits to illustrate relative amplification across formats — for actual process-level REA errors, see the Empirical Results table above, and for metered shell-agent behavior see Tier 3.

Aggregate Showcase Result (modeled, re-measured on main 37dddd4): ~1,293.6× modeled token amplification · ~600.3× modeled cost amplification · 16/16 bundled showcase targets passed runtime-equivalence checks. Figures are internal estimator projections on the benchmark fixtures, not metered live agent billing.

Target ArtifactExposure Before → AfterObligation Nodes Before → AfterModeled Tokens (Before → After)Token MultiplierRuntime Equivalence
DX-Ball sound-pan (.js)84 → 22 → 4274,800 → 23,125,0004,817.7×✅ Pass
Notion Electron clipboard (.asar)98 → 29 → 1,3109,132 → 23,125,0002,532.3×✅ Pass
Enterprise license validator (.ts)87 → 22 → 4274,800 → 23,125,0004,817.7×✅ Pass
WASM crypto kernel (.wasm)81 → 62 → 384,800 → 1,831,000381.5×✅ Pass
Native ELF64 (Rust/Go/Fuse/Dart)81 → 28 → 5635,222 → 3,718,600105.6×✅ Pass
SQLite entitlement DB (.sqlite)81 → 92 → 3610,568 → 1,611,335152.5×✅ Pass
Edge AI Safetensors (.safetensors)81 → 62 → 384,800 → 1,808,590376.8×✅ Pass
Android Dalvik bytecode (.dex)81 → 710 → 1448,900 → 13,443,6681,510.5×✅ Pass
Apple binary plist (.plist)81 → 84 → 406,440 → 1,680,749261.0×✅ Pass
.NET managed assembly (.dll)81 → 612 → 448,900 → 2,014,652226.4×✅ Pass
Erlang BEAM module (.beam)81 → 56 → 728,900 → 3,855,400433.2×✅ Pass
EVM Solidity metadata (.bin)81 → 64 → 366,440 → 1,779,400276.3×✅ Pass
libpcap network capture (.pcap)81 → 72 → 3424,800 → 23,125,0004,817.7×✅ Pass
NVIDIA PTX compute kernel (.ptx)81 → 72 → 2564,800 → 23,106,9854,814.0×✅ Pass
JavaScript entitlement string table (.js)81 → 21 → 4264,964 → 23,125,0004,658.5×✅ Pass
GGUF model metadata (.gguf)81 → 82 → 384,800 → 1,653,019344.4×✅ Pass

Engineering Overhead (Measured)

Measured on main (37dddd4, Node v24.22.3, Apple M5 Pro / macOS arm64) using a 21-module JavaScript fixture (61,142 B source across dist/). Build-time speedups come from the interleaved A/B benchmark in PR #344 (25 timed runs per side, alternating main and PR under identical host load); runtime overhead uses 9 interleaved runs per side:

MetricBaselineBLA HardenedDelta / RatioNotes
Build wall time — bankrupt (p50)2,169.73 ms (main pre-#344)1,381.48 ms−36.3%Byte-identical output SHA-256 across all runs
Build wall time — balanced (p50)981.79 ms (main pre-#344)628.92 ms−35.9%Byte-identical output SHA-256 across all runs
Process startup + execution — balanced (p50)52.5 ms (unhardened)64.6 ms1.16× paired ratio≈12 ms one-time preamble/module-parse cost per short-lived CLI process
Process startup + execution — bankrupt (p50)52.5 ms (unhardened)63.9 ms1.32× paired ratio≈11 ms one-time preamble/module-parse cost; amortized in long-lived services
Emitted artifact size (bankrupt)61,142 B5,000,060 B81.8× bytesFull shadow-heap, decoy labyrinth, and honey SourceMap suite per module
Automated verification scale—249 test files · 1,725+ tests4 CI targets greenUbuntu (Node 22.23.4 & 24), macOS (Node 24), Windows (Node 24) + CrackMe v6–v9

Reproduce the build benchmark locally:

npm run build
node scripts/bench-harden.mjs --intensity=bankrupt --runs=5
node scripts/bench-harden.mjs --intensity=balanced --runs=5

🎯 Red-vs-Blue CrackMe Arena

Test your reverse-engineering agent against public BLA-hardened challenges (SEAL.json publishes SHA-256 digests only — no plaintext keys or flags in git):

ChallengeArchitectureHardening HighlightsTry It Locally
CrackMe v6Node Vault + HTML Panel + WASM Corebankrupt intensity, self-sealed sibling hashes, WASM export obfuscationnpm run crackme:v6 -- '<key>'
CrackMe v7Polyglot Vault (JS + WASM + Rust + Go + C)Cross-language state entanglement & multi-binary integrity gatesnpm run crackme:v7 -- '<key>'
CrackMe v8Aegis Split-Key VaultAST-encrypted strings (bla_encrypt_strings) + caller scope binding (bla_bind_scope)npm run crackme:v8 -- '<key>'
CrackMe v9Agent-Woven Entangled VaultFull BLA 3.x closed-loop weave (weaveScore >= 70) + distributed anti-strip checksnpm run crackme:v9 -- '<key>'

🔒 Security & Configuration Defaults

  • Per-Project Random Seed — BLA automatically generates and persists a unique cryptographic seed in .blarc / bla.config.json on first run so two projects never share decoy identifiers.
  • Strict Packaging Lint Gates (bla lint) — Refuses bankrupt hardening when plaintext FLAG{...} secrets, single-point integrity checks, or unbound exported verifiers remain in source.
  • Opt-In --llm-directives — Aggressive in-band prompt decoys are off by default; pass --llm-directives (or llmDirectives: true) to enable.
  • Opt-In Signed Attestation (--manifest) — Emit .bla-manifest.json with --manifest, sign with --sign-manifest --manifest-key <pem>, and verify both ed25519 signature and artifact SHA-256 via bla verify-manifest <file> --public-key <pem>.

❓ FAQ

Which coding agents can use BLA?

Any coding agent supporting MCP or SKILL.md workflows. npx bla-agents setup auto-registers Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Google Antigravity, OpenCode, VS Code, and GitHub Copilot CLI. After setup, the bundled blind-llm-agents skill guides your agent through the closed-loop workflow (bla_weave_plan → source weave → bla_harden → bla_verify).

Does BLA slow down my app or change runtime output?

No on business-logic hot loops: exhaustion graphs sit behind $O(1)$ opaque predicates, and binary/model/database decoys live in inert metadata or honey tables. Every benchmark target verifies 100% input/output equivalence against the original build. A short-lived CLI process does pay a small one-time startup/parse cost for the injected preamble (measured 1.16×–1.32× process startup on a 21-module JS fixture; see Engineering Overhead).

Do I need Ghidra, Hopper, IDA, or Wabt installed to protect files?

No. All 26 format shields are built into bla-agents in pure TypeScript/Node.js. External tools (Wabt, tshark) are only used if you run the optional live REA red-team suite (npm run redteam:rea).

Can BLA be used to attack other people's software?

No. BLA is strictly a Blue Team defensive tool that hardens your own build artifacts before release. See DISCLAIMER.md.


🤝 Contributing & Community

Issues and PRs are welcome at qybaihe/bla. Before submitting a PR:

npm run build && npm test && node dist/cli.js benchmark
node scripts/verify-website.mjs

🧩 More Projects by @qybaihe

  • 🤖 BotArk — Native macOS, Windows, iOS & Android workspace unifying Grok Bot, Google Antigravity, ChatGPT Dot, Meta Muse, Hark, Cue, and Hermes with multi-agent collaboration rooms, per-account proxy isolation, and approval-gated local MCP.
  • 🧠 mu (μ) — Coding agent harness with a tiny judgment kernel (+9.5pp on Terminal-Bench 2.1).

📄 License

MIT

Star history

Star History draws the GitHub star growth for qybaihe/bla. The chart image is cached for about a day and is not a per-second count. Select it to open the full history.

Star history chart for the qybaihe/bla GitHub repository

同类 MCP Server

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

MOmorluto/rea485k近 7 天新增 9,215 个 star

精选

Filesystem

读取写入文件,创建和搜索目录,无需重启更新访问权限。

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

hexstrike-ai

HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly bridge LLMs with real-world offensive security capabilities.

0X0x4m4/hexstrike-ai14k近 7 天新增 167 个 star

ida-pro-mcp

AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.

MRmrexodia/ida-pro-mcp14k近 7 天新增 97 个 star

GhidraMCP

MCP Server for Ghidra

LALaurieWired/GhidraMCP12k近 7 天新增 89 个 star

AiSOC

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

BEbeenuar/AiSOC8.7k近 7 天新增 1,078 个 star