Skip to content

armgit / bla

Public Imported from GitHub
0

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

feat(cli): gate bla audit exit on --fail-under exposure (#79)

Timo Zhang4ebf4d721091
diff --cc src/cli.ts
index e41f34c,0b35c6c..c286e64
--- a/src/cli.ts
+++ b/src/cli.ts
@@@ -91,15 -72,11 +91,16 @@@ Options
--weave-decoys Opt-in structural weave decoys (Python customer-def / .pyc co_consts weave; JS AST weave already on); OFF by default
--self-seal Opt-in self-seal / sibling-module integrity binding for JS/Node targets (issue #40.5); OFF by default
--wasm-preserve-exports <a,b> Comma-separated WASM export names to keep as public ABI (issue #40.3)
+ --allow-lane-independent Allow harden/defend of lane-independent JS gates (issue #40.1); OFF by default
+ --allow-plaintext-seal Allow bankrupt harden despite plaintext/reversible seal JSON (round-2); OFF by default
+ --allow-js-wasm-hydrate-dump Allow bankrupt despite JS←WASM hydrate param-dump (round-5); OFF by default
+ --allow-wasm-xor-mask-sidecar Allow bankrupt despite WASM XOR-mask-beside-blob packs (round-6); OFF by default
+ --allow-wasm-seal-xor-known-plaintext Allow bankrupt despite seal.revision XOR known-plaintext packs (round-7); OFF by default
--lang <c|rust|go> Target language for emit-headers (default: c)
+ --fail-under <n> Exit 2 when the score fails the gate: defense score < n (defend/verify) or audit exposure score > n (audit)
--client <id> Agent client ID for setup (repeatable: claude_code, cursor, codex, etc.)
--all-detected Configure all detected coding agents on this machine
- --dry-run Preview planned setup changes without writing files
+ --dry-run Preview planned setup/harden changes without writing files
-y, --yes Approve setup actions without interactive confirmation
--json Emit structured JSON output
-v, --version Print BLA version