🛡️ 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.
JavaScript adversarial-aiclaude-codecursorelectron-securityllm-securitymcpmcp-serverobfuscationreverse-engineeringwebassembly
DESIGN: Sidecar / entry entanglement (issue #40 / STATE)
Status: JS strip⇒fail vertical slice — binding digest + JS preamble + protect/harden opt-in landed; Python/WASM still TBD.
Goal
Decoy / chaff sidecars must not be dismissible as an "independent protection layer". If an attacker strips a sidecar or decoy file, the entry (main module / primary artifact) must fail closed (integrity mismatch), not keep running happily.
This is the same honesty principle as weave-decoy: shared state + entry-reachable checks beat orphan honeypot files.
Non-goals
- No crack / RE playbooks.
- No claim that entanglement equals cryptographic unbreakability.
- No mandatory sidecar for every format in 1.6.x.
Design (v1)
- Binding digest — at protect time, compute
H = SHA-256(entryBytes || sidecarBytes || seedTag). - Entry hook — inject a tiny preamble (JS/Python) or custom-section note (WASM) that
re-measures sibling sidecar path(s) and compares to
H(or foldsHinto the opaque seed / self-seal digest — see#40.5). - Strip ⇒ fail — missing or altered sidecar changes the digest → opaque happy-path / activation gate fails.
- Opt-in —
sidecarEntangle: truein.blarc/ CLI / MCP (not enabled by default until format coverage is broader).
First slice (this batch)
- This DESIGN note (normative intent).
- Stub helper
planSidecarEntanglement()returning abla-sidecar-entangle/v1plan object (paths, digest algorithm, entry hook kind) without rewriting binaries yet. - Unit tests for the planner.
Follow-ups
Entry self-coverage— landed 2026-11-05: self-seal embeds a canonical entry self-digest finalized at write time; harden reportsintegrityCoverageSelfVerifiedand drops paper self edges when it does not verify.- Wire planner into
protectTargetfor JS + Python whensidecarEntangleis set. - Extend to ASAR / Bun snapshot / native companion files.
- Honesty: when entanglement is off, defenseScore gap annotation (like self-seal).