🛡️ 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
fix(test): pass Uint8Array to WebAssembly.Module in preserve-exports test
qybaihe370bcda8557c
diff --git a/tests/wasm-preserve-exports-config.test.ts b/tests/wasm-preserve-exports-config.test.tsindex 7de6709..a42af6a 100644--- a/tests/wasm-preserve-exports-config.test.ts+++ b/tests/wasm-preserve-exports-config.test.ts@@ -110,7 +110,7 @@ describe("wasmPreserveExports .blarc / CLI / protect parity (#40.3)", () => {const fromNames = res.exportsRenamed.map((r) => r.from);expect(fromNames).toContain("__bla_internal_x");expect(fromNames).not.toContain("add");- const mod = new WebAssembly.Module(res.buffer);+ const mod = new WebAssembly.Module(new Uint8Array(res.buffer));const inst = new WebAssembly.Instance(mod);expect(Object.keys(inst.exports)).toContain("add");expect(Object.keys(inst.exports)).not.toContain("__bla_internal_x");