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(sidecar): mark JS strip⇒fail slice landed; queue Python/WASM

qybaiheeae28c8b8e2d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3032cda..91382dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
+- **Sidecar entry entanglement JS strip⇒fail (issue #40):** `computeSidecarBindingDigest` + `generateSidecarJsPreamble` / `bindSidecarEntanglement`. Opt-in CLI `--sidecar-entangle` / MCP `sidecar_entangle` / `.blarc sidecarEntangle`. `protectTarget` prepends a Node preamble that re-measures sibling sidecars (sidecars-mode digest is preamble-safe); strip/alter fails closed. `hardenProject` post-pass rewrites the JS entry against FINAL sibling bytes. Python/WASM still open.
- **`bla_harden` progress/cancel (issue #75):** cooperative `AbortSignal` + `onProgress` between artifacts; cancelled reports set `cancelled: true` and list every already-written path (no silent half-harden). MCP `notifications/progress` when `_meta.progressToken` is present; `notifications/cancelled` aborts in-flight harden immediately (stdio fast-path, not behind the serial queue).
diff --git a/STATE.md b/STATE.md
index 53f4344..60abfde 100644
--- a/STATE.md
+++ b/STATE.md
@@ -98,7 +98,7 @@ CrackMe v8 red team (round-20261105): **NO PRIZE** — key/FLAG not recovered; `
## Nightly roadmap remaining
1. ~~**Self-seal / defenseScore honesty (#40)**~~ — landed soft-caps + opt-in `--self-seal` / MCP `self_seal` / `.blarc selfSeal` (batch 2026-11-02). Remaining: deeper onefile/peel score model.
-2. **Sidecar entry entanglement** — DESIGN + `planSidecarEntanglement()` stub landed; self-seal entry self-digest (edit⇒fail on the entry itself) landed 2026-11-05; full strip⇒fail rewrite still open.
+2. **Sidecar entry entanglement** — JS strip⇒fail vertical slice landed 2026-11-05 nightly (`sidecarEntangle` / binding digest / JS preamble / protect+harden post-pass). Remaining: Python preamble, WASM custom-section, ASAR/Bun companions, defenseScore gap when off.
3. **Deception shields → more formats** — WASM export rename + `wasmPreserveExports` landed; DEX/SQLite/model densify and broader numeric template hygiene still open.
4. **Empirical JADX / Android red-team** — real REA mapping+JNI vs BLA-hardened unsigned APK.
5. **ESP flash / esp-image (#8228)** — if REA moved there; UF2 empirical red-team otherwise.
diff --git a/docs/design/sidecar-entry-entanglement.md b/docs/design/sidecar-entry-entanglement.md
index d802c1c..5d8b94e 100644
--- a/docs/design/sidecar-entry-entanglement.md
+++ b/docs/design/sidecar-entry-entanglement.md
@@ -1,6 +1,6 @@
# DESIGN: Sidecar / entry entanglement (issue #40 / STATE)
-Status: **first-slice stub** — design locked; full multi-format entanglement TBD.
+Status: **JS strip⇒fail vertical slice** — binding digest + JS preamble + protect/harden opt-in landed; Python/WASM still TBD.
## Goal