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.

docs(deception): document REA COMMON_DISCIPLINE exploitation and Shadow Business Logic

qybaihe0e9f5e553c4f
diff --git a/docs/counter-rea-deception.md b/docs/counter-rea-deception.md
new file mode 100644
index 0000000..67e18f7
--- /dev/null
+++ b/docs/counter-rea-deception.md
@@ -0,0 +1,15 @@
+# Counter-REA Model-Misjudgment Induction (`src/shields/deception/`)
+
+While traditional obfuscators only try to hide code, BLA actively **induces LLM reverse-engineering agents to reconstruct the wrong algorithm** by exploiting REA's Evidence Contract.
+
+## Exploiting REA's `COMMON_DISCIPLINE` (`promptContracts.ts:52-57`)
+
+REA instructs coding agents:
+1. *"Report Observations only from cited Evidence returned by tools. Label reasoning as Inference with confidence and competing explanations."*
+2. *"Keep incomplete coverage, unsupported capabilities, and conflicting evidence explicit as Unknowns."*
+
+BLA exploits this discipline through a two-pronged pincer movement:
+- **Prong A (Demote Real Logic to `Unknown`)**: Wrap the real business logic in REA Semantic Budget Breakers (`primitive-candidates > 256`, `alias-selections > 512`) so REA's static analyzer tags the real logic as `status: "unknown"`.
+- **Prong B (Promote Shadow Logic to High-Confidence `Observation`)**: Inject crystal-clear, syntactically pristine **Shadow Business Logic** (`shadow-business-logic.ts`), **Semantic Honeypots** (`semantic-honeypot.ts`), **Evidence Contract Competing-Explanation Lures** (`evidence-contract-poison.ts`), and **Multi-Tier gRPC/vsock Architecture Mirages** (`architecture-mirage.ts`).
+
+When the LLM agent queries REA's `search_procedures`, `search_strings`, and `analyze_function`, the Shadow Business Logic returns 100% complete `observed` Evidence—causing the LLM to faithfully rebuild the decoy algorithm!