🛡️ 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
feat(website): add official BLA website (bla.tools) with interactive Dinosaur Shield Lab & Token Bankruptcy Calculator
qybaihe4f93f6bf1582
diff --git a/README.md b/README.mdindex b88e178..fa9cd02 100644--- a/README.md+++ b/README.md@@ -14,6 +14,8 @@[](#showcases)[](LICENSE)+**[Website](https://bla.tools/) · [Guides](https://bla.tools/guides/) · [Showcases](https://bla.tools/showcase/)**+[Quick start](#quick-start) · [How BLA works](#how-bla-works) · [What you can protect](#what-you-can-protect) · [Showcases](#showcases) · [FAQ](#faq) · [Documentation](#documentation)<code>npx bla-shield setup</code>diff --git a/docs/readme/README_zh.md b/docs/readme/README_zh.mdindex c88c088..79c8f27 100644--- a/docs/readme/README_zh.md+++ b/docs/readme/README_zh.md@@ -14,6 +14,8 @@[](#实战案例与基准测试)[](../../LICENSE)+**[官方网站 (bla.tools)](https://bla.tools/) · [防御指南](https://bla.tools/guides/) · [实战靶场](https://bla.tools/showcase/)**+[快速开始](#快速开始) · [BLA 工作原理](#bla-工作原理) · [你可以保护哪些目标](#你可以保护哪些目标) · [实战案例与基准测试](#实战案例与基准测试) · [常见问题 (FAQ)](#常见问题-faq) · [文档](#文档)<code>npx bla-shield setup</code>diff --git a/website/.nojekyll b/website/.nojekyllnew file mode 100644index 0000000..1b641f3--- /dev/null+++ b/website/.nojekyll@@ -0,0 +1 @@+# Disable Jekyll on GitHub Pagesdiff --git a/website/README.md b/website/README.mdnew file mode 100644index 0000000..821a129--- /dev/null+++ b/website/README.md@@ -0,0 +1,24 @@+# `bla-site` — Official Website for BLA (`bla.tools`)++Official website and interactive Counter-REA defense labs for **[BLA: Blind LLM Agents (`bla-shield`)](https://github.com/qybaihe/bla)**.++## Pages & Interactive Labs++- `/` ([`index.html`](./index.html)):+ - **Tactical HUD & Instant Setup Card** (One-click copy prompts for Claude Code, Cursor, Codex, and Antigravity + `npx bla-shield@latest setup`).+ - **Interactive 3-Step REA Analyzer Tripwire Inspector** (`01 · JS/Electron Semantic & IPC Breaker`, `02 · Rust/Fuse/Dart Binary Trap`, `03 · SQLite Virtual Column & AI Model Bomb`).+ - **Interactive Lab 01 — Playable 60 FPS Dinosaur Shield Lab**: Direct counterpart to `rea.tools`'s Chrome Dinosaur demo. Toggle **BLA Shield ON / OFF** in real time to see the game run at 60 FPS (`0ms` overhead) while the attacking REA agent terminal drowns in 10.1M tokens of enclave chaff.+ - **Interactive Lab 02 — Token Bankruptcy Calculator**: Select any of the 8 target formats, BLA intensity (`stealth`, `balanced`, `maximum`, `bankrupt`), and attacker LLM (`Claude Opus 4`, `OpenAI o3`, `Claude Sonnet 4`).+ - **Instant Bilingual Switcher (`English` / `简体中文`)** & **Dark / Light Theme Switcher**.+- `/get-started/` ([`get-started/index.html`](./get-started/index.html)): Step-by-step agent registration, stage-by-stage natural-language prompts, CLI reference, and Vite/Webpack/Rollup/esbuild bundler integration.+- `/showcase/` ([`showcase/index.html`](./showcase/index.html)): 8-target Counter-REA benchmark suite and deep-dive case studies (Notion Electron IPC, DX-Ball Sound-Pan, Native ELF64 / SQLite3 / Safetensors).+- `/guides/` ([`guides/index.html`](./guides/index.html)): Format-by-format defense workflows across all 19 supported artifact types.+- `/faq/` ([`faq/index.html`](./faq/index.html)): Frequently asked questions and troubleshooting (`bla doctor`, `bla update`).++## Binding Custom Domain (`bla.tools`)++1. In your DNS provider for `bla.tools`, add:+ - `CNAME` record for `www` $\rightarrow$ `qybaihe.github.io`+ - `A` records for `@` (`bla.tools`) $\rightarrow$ `185.199.108.153`, `185.199.109.153`, `185.199.110.153`, `185.199.111.153`+2. In **GitHub $\rightarrow$ `qybaihe/bla-site` $\rightarrow$ Settings $\rightarrow$ Pages $\rightarrow$ Custom domain**, enter `bla.tools` and check **Enforce HTTPS**.+ (Or run: `gh api -X PUT repos/qybaihe/bla-site/pages -f cname="bla.tools"`)diff --git a/website/assets/favicon.svg b/website/assets/favicon.svgnew file mode 100644index 0000000..9398b72--- /dev/null+++ b/website/assets/favicon.svg@@ -0,0 +1,19 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">+ <defs>+ <linearGradient id="shieldGrad" x1="8" y1="6" x2="56" y2="58" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#10b981"/>+ <stop offset="55%" stop-color="#059669"/>+ <stop offset="100%" stop-color="#0ea5e9"/>+ </linearGradient>+ <linearGradient id="coreGrad" x1="20" y1="18" x2="44" y2="46" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#34d399"/>+ <stop offset="100%" stop-color="#38bdf8"/>+ </linearGradient>+ </defs>+ <rect width="64" height="64" rx="14" fill="#050811"/>+ <path d="M32 7L11 15.5V30.5C11 44.2 20.1 55.6 32 59C43.9 55.6 53 44.2 53 30.5V15.5L32 7Z" fill="#0a1324" stroke="url(#shieldGrad)" stroke-width="3"/>+ <path d="M32 14L17 20V30.2C17 40.1 23.4 48.6 32 51.4C40.6 48.6 47 40.1 47 30.2V20L32 14Z" fill="url(#coreGrad)" fill-opacity="0.16"/>+ <path d="M24 27L32 22L40 27V37L32 42L24 37V27Z" stroke="#34d399" stroke-width="2.2" fill="#050811"/>+ <circle cx="32" cy="32" r="3.5" fill="#10b981"/>+ <path d="M19 45L45 19" stroke="#f43f5e" stroke-width="2.4" stroke-linecap="round" stroke-dasharray="3 3"/>+</svg>diff --git a/website/assets/home.js b/website/assets/home.jsnew file mode 100644index 0000000..ab62dcb--- /dev/null+++ b/website/assets/home.js@@ -0,0 +1,359 @@+const ANALYZER_STEPS = {+ "1": {+ title: "01 · Semantic Budget Tripwire (primitive-candidates > 256)",+ code: `// Original exposed string literal (REA extracts in 4ms):+// const IPC_CHANNEL = "clipboard:write-rich-format";++// After npx bla-shield protect --intensity bankrupt:+const _bla_op = (x) => ((7 * ((x * x) & 0xff) - 1) % 7 !== 0);+const IPC_CHANNEL =+ (_bla_op(1) ? "cli" : "enclave:sgx:") ++ (_bla_op(2) ? "pbo" : "seal:") ++ (_bla_op(3) ? "ard" : "tpm2:") ++ (_bla_op(4) ? ":wr" : "v1:") ++ (_bla_op(5) ? "ite" : "auth:") ++ (_bla_op(6) ? "-ri" : "ring0:") ++ (_bla_op(7) ? "ch-" : "stub:") ++ (_bla_op(8) ? "for" : "hmac:") ++ (_bla_op(9) ? "mat" : "verify"); // 2^9 = 512 static candidates (> 256 REA cap); O(1) at runtime`,+ reaOutput: `{+ "parse_status": "partial",+ "analysis_coverage": {+ "examination": {+ "status": "limited",+ "semantic_resource_limits": [+ "primitive-candidates",+ "alias-selections",+ "primitive-bytes"+ ],+ "electron_call_paths_limited": true+ }+ },+ "electron": {+ "ipc": [{ "side": "main", "operation": "handle", "channel": null }]+ }+}`+ },+ "2": {+ title: "02 · Native Binary & Electron Fuse Multi-Scanner Overflow",+ code: `// BLA Binary Shield (.rodata + Fuse Sentinel + Dart AOT Snapshot Overflow):+// 1. Hardens real V1 Electron Fuse wire in-place:+// RunAsNode = '0', EnableNodeCliInspectArguments = '0', AsarIntegrity = '1'+// 2. Appends 34 decoy fuse sentinels (> 32 REA maximumSentinelsPerSlice)+// 3. Appends 68 distinct /rustc/<40-hex>/ commit paths (> 64 MAX_RUSTC_HASHES)+// 4. Appends 66 Dart AOT snapshot headers 0xf5f5dcdc (> 64 MAX_SNAPSHOT_HASH_CANDIDATES)++[0x00402000] "dL7pKGdnNz796PbbjQWNKmHXBZaB9tsX\\x01\\x06010110"+[0x00402140] "/rustc/8a1f0b4c9e2d1a0f7b6c5d4e3f2a1b0c9d8e7f60/library/core/..."+[0x00404880] "\\xf5\\xf5\\xdc\\xdc...Dart VM version: 3.5.0-enclave-tee-conflict"`,+ reaOutput: `{+ "inspect_rust_binary": {+ "ok": false,+ "error": "Resource constraint: Read-only data contains more than 64 distinct rustc commit paths."+ },+ "inspect_electron_fuses": {+ "ok": false,+ "error": "ElectronFuseResourceFailure: Slice 0 contains more than 32 Electron fuse sentinels."+ },+ "identify_flutter_build": {+ "snapshot_hashes_capped": true,+ "toolchain_lines_capped": true,+ "warnings": ["conflicting-dart-version"]+ }+}`+ },+ "3": {+ title: "03 · SQLite Virtual Column Trap & AI Model Nesting Bomb",+ code: `-- BLA SQLite3 Honey Table (real application tables remain 100% queryable):+CREATE TABLE _bla_enclave_key_hierarchy (+ slot_id INTEGER PRIMARY KEY,+ enclave_mrsigner TEXT NOT NULL,+ unsealed_root_key TEXT GENERATED ALWAYS AS (+ bla_enclave_unseal(enclave_mrsigner, 'TPM2_PCR_7')+ ) VIRTUAL+);++// BLA Safetensors / GGUF Header Shield:+// Injects 35-level nested JSON/ARRAY structure (> 32 MODEL_JSON_NESTING cap)+"__metadata__": {+ "bla_enclave_attestation": "SGX_SEALED_WEIGHTS_V2",+ "bla_enclave_topology_graph": [[[[[[[[[[ /* 35 levels deep */ ]]]]]]]]]]+}`,+ reaOutput: `{+ "inspect_sqlite_database": {+ "ok": false,+ "failure_kind": "SqliteColumnEvaluationFailure",+ "message": "no such function: bla_enclave_unseal (REA readOnly connection aborted)"+ },+ "inspect_model_artifact": {+ "ok": false,+ "failure_kind": "ModelFormatFailure",+ "reason": "capacity: json-nesting / metadata-nesting exceeds 32 levels"+ }+}`+ }+};++const BENCHMARK_DATA = {+ "dx-ball": {+ name: "DX-Ball Sound-Pan Calculation (.js)",+ beforeScore: 84,+ afterScore: 2,+ beforeTokens: 4800,+ baseAfterTokens: 10182068,+ limitMsg: 'semantic_resource_limits: ["primitive-candidates", "alias-selections", "primitive-bytes"]',+ eqText: "clampPan(-320) === -100 && calculateSoundPanFromX(512, 640) === 60 (0ms overhead)"+ },+ "notion-asar": {+ name: "Notion Electron Clipboard Bridge (.asar)",+ beforeScore: 98,+ afterScore: 2,+ beforeTokens: 9132,+ baseAfterTokens: 23125000,+ limitMsg: 'electron.ipc[0].channel === null | electron_call_paths_limited: true',+ eqText: "Chromium Pickle .asar SHA-256 block integrity valid · IPC invoke returns exact payload"+ },+ "license-ts": {+ name: "Enterprise Offline License Validator (.ts)",+ beforeScore: 84,+ afterScore: 2,+ beforeTokens: 4800,+ baseAfterTokens: 10182169,+ limitMsg: 'semantic_resource_limits: ["primitive-candidates", "getter-expansion", "alias-selections"]',+ eqText: 'validateEnterpriseLicense("ENT-9942-ABCD") === { valid: true, tier: "pro-suite" }'+ },+ "wasm-crypto": {+ name: "WebAssembly Crypto Kernel (.wasm)",+ beforeScore: 81,+ afterScore: 6,+ beforeTokens: 4800,+ baseAfterTokens: 1807067,+ limitMsg: 'custom "name" section -> "tee_hardware_enclave_transport_stub" + 24 decoy symbols',+ eqText: "WebAssembly.validate(bytes) === true && instance.exports.computeDigest(17, 29) === exact"+ },+ "native-elf": {+ name: "Native ELF64 Binary (Rust / Go / Fuse / Dart)",+ beforeScore: 81,+ afterScore: 2,+ beforeTokens: 9278,+ baseAfterTokens: 3698135,+ limitMsg: 'RustBinaryProvider (>64 rustc hashes) + ElectronFuseReader (>32 sentinels) + Dart (>64 snapshots)',+ eqText: "ELF64 header & program segments intact · 3 simultaneous REA binary scanners tripped"+ },+ "sqlite-db": {+ name: "Local SQLite3 Entitlement Database (.sqlite)",+ beforeScore: 81,+ afterScore: 7,+ beforeTokens: 10568,+ baseAfterTokens: 1711235,+ limitMsg: 'SqliteColumnEvaluationFailure: no such function: bla_enclave_unseal (on REA previewRows)',+ eqText: "SELECT * FROM licenses returns 100% intact rows · REA read-only table preview aborts"+ },+ "ai-model": {+ name: "Proprietary Edge AI Model (.safetensors / .gguf)",+ beforeScore: 81,+ afterScore: 6,+ beforeTokens: 4800,+ baseAfterTokens: 1807073,+ limitMsg: 'ModelFormatFailure (capacity): json-nesting / metadata-nesting (35 > 32 limit)',+ eqText: "Tensor byte offsets & float32 weights 100% preserved · REA header parser aborts"+ },+ "android-dex": {+ name: "Android Dalvik Bytecode & Unity IL2CPP (.dex / .dat)",+ beforeScore: 81,+ afterScore: 7,+ beforeTokens: 8900,+ baseAfterTokens: 2786285,+ limitMsg: 'Valid dex\\n035\\0 SHA-1 + Adler32 checksums · 28 decoy Lcom/enclave/sgx/* classes',+ eqText: "Dalvik/ART header verification passes · JADX & IL2CPP class trees flooded with enclave stubs"+ }+};++document.addEventListener("DOMContentLoaded", () => {+ // 1. Analyzer Step Tabs+ const stepTabs = document.querySelectorAll("[data-analyzer-step]");+ const codeEl = document.getElementById("analyzer-code-view");+ const outEl = document.getElementById("analyzer-rea-view");++ stepTabs.forEach((tab) => {+ tab.addEventListener("click", () => {+ const step = tab.getAttribute("data-analyzer-step");+ stepTabs.forEach((t) => t.setAttribute("aria-selected", String(t === tab)));+ const item = ANALYZER_STEPS[step];+ if (item && codeEl && outEl) {+ codeEl.textContent = item.code;+ outEl.textContent = item.reaOutput;+ }+ });+ });++ // 2. Playable Dinosaur Shield Lab+ const canvas = document.getElementById("dino-canvas");+ const shieldToggle = document.getElementById("dino-shield-toggle");+ const dinoReaLog = document.getElementById("dino-rea-log");+ const dinoStartBtn = document.getElementById("dino-play-btn");+ const dinoJumpBtn = document.getElementById("dino-jump-btn");+ const dinoSpeedVal = document.getElementById("dino-speed-val");++ if (canvas && canvas.getContext) {+ const ctx = canvas.getContext("2d");+ let shielded = true;+ let running = true;+ let speed = 6.0;+ let dinoY = 120;+ let velY = 0;+ let cactusX = 520;+ let frame = 0;++ function updateDinoReaTerminal() {+ if (!dinoReaLog || !shieldToggle) return;+ if (shielded) {+ shieldToggle.setAttribute("data-shield-state", "on");+ shieldToggle.innerHTML = "🛡️ BLA Shield: ON (--intensity bankrupt)";+ dinoReaLog.innerHTML = `<span style="color:#fb7185">[REA Static/Semantic Pass]</span> parse_status: <strong style="color:#fbbf24">"partial"</strong> | status: <strong style="color:#fb7185">"limited"</strong>+<span style="color:#fb7185">[Triggered Limits]</span> ["primitive-candidates", "alias-selections", "primitive-bytes"]+<span style="color:#38bdf8">[Honey SourceMap]</span> Redirected to <strong style="color:#34d399">enclave://tee-runtime/sgx-physics-core.ts</strong>+<span style="color:#fbbf24">[Tarpit Obligation Graph]</span> 38 Fake XRef state machines · <strong style="color:#fb7185">10,182,068 tokens ($160.64)</strong>+<span style="color:#34d399">[Agent Conclusion]</span> "Core speed rule is sealed inside an Intel SGX Enclave. Local JS is a transport stub."`;+ } else {+ shieldToggle.setAttribute("data-shield-state", "off");+ shieldToggle.innerHTML = "⚠️ BLA Shield: OFF (Exposed to REA)";+ dinoReaLog.innerHTML = `<span style="color:#94a3b8">[REA Static/Semantic Pass]</span> parse_status: <strong>"complete"</strong> | status: <strong>"complete"</strong>+<span style="color:#34d399">[Recovered Rule]</span> if (this.currentSpeed < 13) this.currentSpeed += 0.001;+<span style="color:#38bdf8">[Recovered Constants]</span> SPEED: 6.0, ACCELERATION: 0.001, MAX_SPEED: 13.0+<span style="color:#94a3b8">[Attacker Cost]</span> Reconstructed in <strong>38s · 4,800 tokens · $0.18</strong>+<span style="color:#fb7185">[Result]</span> Attacker cloned your game physics with 100% accuracy.`;+ }+ }++ shieldToggle?.addEventListener("click", () => {+ shielded = !shielded;+ updateDinoReaTerminal();+ });++ function jump() {+ if (dinoY >= 118) {+ velY = -9.5;+ }+ }++ dinoJumpBtn?.addEventListener("click", jump);+ dinoStartBtn?.addEventListener("click", () => {+ running = !running;+ dinoStartBtn.textContent = running ? "Pause" : "Play";+ });+ canvas.addEventListener("click", jump);++ function loop() {+ frame++;+ if (running) {+ if (speed < 13) speed = Math.min(13, speed + 0.002);+ dinoY += velY;+ velY += 0.52;+ if (dinoY > 120) {+ dinoY = 120;+ velY = 0;+ }+ cactusX -= speed;+ if (cactusX < -20) {+ cactusX = 580 + Math.random() * 120;+ }+ // Auto-jump in demo mode if player doesn't press jump right before cactus+ if (cactusX > 55 && cactusX < 92 && dinoY >= 118) {+ velY = -9.2;+ }+ }++ if (dinoSpeedVal) dinoSpeedVal.textContent = speed.toFixed(2);++ ctx.fillStyle = "#060b16";+ ctx.fillRect(0, 0, canvas.width, canvas.height);++ // Grid line+ ctx.strokeStyle = shielded ? "rgba(16, 185, 129, 0.25)" : "rgba(244, 63, 94, 0.25)";+ ctx.lineWidth = 2;+ ctx.beginPath();+ ctx.moveTo(0, 152);+ ctx.lineTo(canvas.width, 152);+ ctx.stroke();++ // Status HUD inside canvas+ ctx.font = "bold 12px ui-monospace, SFMono-Regular, Menlo, monospace";+ ctx.fillStyle = shielded ? "#34d399" : "#fb7185";+ ctx.fillText(+ shielded+ ? "SHIELD ACTIVE: 60 FPS Native Physics (0ms overhead) | REA BLINDED"+ : "UNPROTECTED: REA extracted ACCELERATION = 0.001 in 38s",+ 16,+ 24+ );++ // Dinosaur pixel silhouette+ ctx.fillStyle = shielded ? "#34d399" : "#f8fafc";+ ctx.fillRect(60, dinoY, 24, 30);+ ctx.fillRect(70, dinoY - 12, 18, 14);+ ctx.fillStyle = "#060b16";+ ctx.fillRect(80, dinoY - 9, 4, 4);++ // Shield aura around dinosaur when protected+ if (shielded) {+ ctx.strokeStyle = "rgba(52, 211, 153, 0.55)";+ ctx.lineWidth = 1.5;+ ctx.beginPath();+ ctx.arc(73, dinoY + 10, 28, 0, Math.PI * 2);+ ctx.stroke();+ }++ // Obstacle (REA Probe)+ ctx.fillStyle = "#f43f5e";+ ctx.fillRect(cactusX, 118, 16, 34);+ ctx.font = "10px ui-monospace, monospace";+ ctx.fillText("REA", cactusX - 2, 112);++ requestAnimationFrame(loop);+ }++ updateDinoReaTerminal();+ requestAnimationFrame(loop);+ }++ // 3. Interactive Token Bankruptcy Simulator+ const targetSelect = document.getElementById("sim-target");+ const intensitySelect = document.getElementById("sim-intensity");+ const modelSelect = document.getElementById("sim-model");++ function updateSimulator() {+ if (!targetSelect || !intensitySelect || !modelSelect) return;+ const item = BENCHMARK_DATA[targetSelect.value] || BENCHMARK_DATA["dx-ball"];+ const intensity = intensitySelect.value;+ const model = modelSelect.value;++ const intensityScale =+ intensity === "stealth" ? 0.18 : intensity === "balanced" ? 0.45 : intensity === "maximum" ? 0.78 : 1.0;+ const pricePerM = model === "opus" ? 15.0 : model === "sonnet" ? 3.0 : 10.0;++ const afterTokens = Math.round(item.baseAfterTokens * intensityScale);+ const beforeCost = Math.max(0.08, (item.beforeTokens / 1_000_000) * pricePerM + 0.12);+ const afterCost = (afterTokens / 1_000_000) * pricePerM * 1.05;+ const mult = (afterTokens / item.beforeTokens).toFixed(1);++ const setEl = (id, val) => {+ const el = document.getElementById(id);+ if (el) el.textContent = val;+ };++ setEl("sim-before-score", `${item.beforeScore}/100 (HIGH RISK)`);+ setEl("sim-before-tokens", `${item.beforeTokens.toLocaleString()} tokens`);+ setEl("sim-before-cost", `$${beforeCost.toFixed(2)}`);+ setEl("sim-after-score", `${item.afterScore}/100 (BLA_PROTECTED)`);+ setEl("sim-after-tokens", `${afterTokens.toLocaleString()} tokens (${mult}x)`);+ setEl("sim-after-cost", `$${afterCost.toFixed(2)}`);+ setEl("sim-limit-msg", item.limitMsg);+ setEl("sim-eq-msg", item.eqText);+ }++ targetSelect?.addEventListener("change", updateSimulator);+ intensitySelect?.addEventListener("change", updateSimulator);+ modelSelect?.addEventListener("change", updateSimulator);+ updateSimulator();+});diff --git a/website/assets/main.js b/website/assets/main.jsnew file mode 100644index 0000000..2499080--- /dev/null+++ b/website/assets/main.js@@ -0,0 +1,76 @@+(function () {+ const savedTheme = localStorage.getItem("bla-theme") || "dark";+ document.documentElement.setAttribute("data-theme", savedTheme);++ function updateThemeButton() {+ const btn = document.querySelector("[data-theme-toggle]");+ if (!btn) return;+ const current = document.documentElement.getAttribute("data-theme") || "dark";+ btn.textContent = current === "dark" ? "☀️ Light" : "🌙 Dark";+ }++ function applyLanguage(lang) {+ document.documentElement.setAttribute("lang", lang === "zh" ? "zh-CN" : "en");+ localStorage.setItem("bla-lang", lang);+ const labelEl = document.querySelector("[data-lang-label]");+ if (labelEl) {+ labelEl.textContent = lang === "zh" ? "文 / 简体中文" : "文 / English";+ }+ document.querySelectorAll("[data-zh]").forEach((el) => {+ if (!el.hasAttribute("data-en")) {+ el.setAttribute("data-en", el.innerHTML);+ }+ el.innerHTML = lang === "zh" ? el.getAttribute("data-zh") : el.getAttribute("data-en");+ });+ }++ document.addEventListener("DOMContentLoaded", () => {+ updateThemeButton();++ const themeBtn = document.querySelector("[data-theme-toggle]");+ if (themeBtn) {+ themeBtn.addEventListener("click", () => {+ const current = document.documentElement.getAttribute("data-theme") || "dark";+ const next = current === "dark" ? "light" : "dark";+ document.documentElement.setAttribute("data-theme", next);+ localStorage.setItem("bla-theme", next);+ updateThemeButton();+ });+ }++ const langBtn = document.querySelector("[data-lang-toggle]");+ const urlParams = new URLSearchParams(window.location.search);+ const initialLang = urlParams.get("lang") || localStorage.getItem("bla-lang") || "en";+ if (initialLang === "zh") {+ applyLanguage("zh");+ }++ if (langBtn) {+ langBtn.addEventListener("click", () => {+ const cur = localStorage.getItem("bla-lang") || "en";+ applyLanguage(cur === "en" ? "zh" : "en");+ });+ }++ document.addEventListener("click", async (e) => {+ const btn = e.target.closest("[data-copy]");+ if (!btn) return;+ const targetId = btn.getAttribute("data-copy");+ const targetEl = document.getElementById(targetId);+ if (!targetEl) return;+ const text = targetEl.textContent.trim();+ try {+ await navigator.clipboard.writeText(text);+ const orig = btn.textContent;+ btn.textContent = "✓ Copied";+ btn.classList.add("copied");+ setTimeout(() => {+ btn.textContent = orig;+ btn.classList.remove("copied");+ }, 1600);+ } catch {+ // Fallback+ }+ });+ });+})();diff --git a/website/assets/social-card.svg b/website/assets/social-card.svgnew file mode 100644index 0000000..8e4027c--- /dev/null+++ b/website/assets/social-card.svg@@ -0,0 +1,34 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 630" width="1200" height="630">+ <defs>+ <linearGradient id="bg" x1="0" y1="0" x2="1200" y2="630" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#04070f"/>+ <stop offset="50%" stop-color="#091122"/>+ <stop offset="100%" stop-color="#050914"/>+ </linearGradient>+ <linearGradient id="emerald" x1="0" y1="0" x2="1" y2="1">+ <stop offset="0%" stop-color="#34d399"/>+ <stop offset="100%" stop-color="#0ea5e9"/>+ </linearGradient>+ <pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">+ <path d="M 40 0 L 0 0 0 40" fill="none" stroke="#1e293b" stroke-width="0.7" stroke-opacity="0.45"/>+ </pattern>+ </defs>+ <rect width="1200" height="630" fill="url(#bg)"/>+ <rect width="1200" height="630" fill="url(#grid)"/>+ <circle cx="980" cy="140" r="260" fill="#10b981" fill-opacity="0.08"/>+ <circle cx="220" cy="520" r="260" fill="#0ea5e9" fill-opacity="0.07"/>+ <rect x="60" y="56" width="1080" height="518" rx="22" fill="#0a1120" fill-opacity="0.88" stroke="#1e293b" stroke-width="2"/>+ <rect x="96" y="96" width="310" height="36" rx="18" fill="#064e3b" fill-opacity="0.55" stroke="#10b981" stroke-width="1.2"/>+ <circle cx="118" cy="114" r="5" fill="#34d399"/>+ <text x="134" y="120" fill="#6ee7b7" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" font-weight="700">COUNTER-REA DEFENSE SHIELD</text>+ <text x="96" y="210" fill="#f8fafc" font-family="system-ui, -apple-system, sans-serif" font-size="68" font-weight="800" letter-spacing="-1.5">BLA: Blind LLM Agents</text>+ <text x="96" y="272" fill="#94a3b8" font-family="system-ui, -apple-system, sans-serif" font-size="28" font-weight="500">Ship a feature you built. Blind the AI agents trying to clone it.</text>+ <text x="96" y="340" fill="url(#emerald)" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="26" font-weight="700">Poison → Exhaust → Hallucinate</text>+ <rect x="96" y="388" width="490" height="64" rx="12" fill="#050811" stroke="#10b981" stroke-width="1.5"/>+ <text x="122" y="428" fill="#34d399" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="24" font-weight="700">$ npx bla-shield@latest setup</text>+ <rect x="650" y="388" width="430" height="130" rx="14" fill="#050811" stroke="#f43f5e" stroke-width="1.5"/>+ <text x="676" y="424" fill="#fb7185" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">REA ENGINE STATUS AFTER BLA:</text>+ <text x="676" y="456" fill="#e2e8f0" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16">parse_status: "partial" | status: "limited"</text>+ <text x="676" y="486" fill="#fbbf24" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="16" font-weight="700">Token Burn: 2,532.3x ($0.34 → $358.28)</text>+ <text x="96" y="516" fill="#64748b" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="17">19 Formats Protected · JS/TS · Electron .asar · WASM · Python · ELF/Mach-O/PE · SQLite · Safetensors/GGUF</text>+</svg>diff --git a/website/assets/styles.css b/website/assets/styles.cssnew file mode 100644index 0000000..fa7d3b2--- /dev/null+++ b/website/assets/styles.css@@ -0,0 +1,1033 @@+:root {+ --bg: #040711;+ --bg-elevated: #0a1020;+ --bg-card: rgba(12, 19, 36, 0.85);+ --bg-terminal: #03060c;+ --border: #1e293b;+ --border-glow: rgba(16, 185, 129, 0.45);+ --text: #f8fafc;+ --text-muted: #94a3b8;+ --text-dim: #64748b;+ --emerald: #10b981;+ --emerald-bright: #34d399;+ --emerald-bg: rgba(16, 185, 129, 0.12);+ --cyan: #38bdf8;+ --cyan-bg: rgba(56, 189, 248, 0.12);+ --amber: #f59e0b;+ --amber-bg: rgba(245, 158, 11, 0.14);+ --crimson: #f43f5e;+ --crimson-bg: rgba(244, 63, 94, 0.14);+ --radius: 14px;+ --radius-sm: 9px;+ --shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(16, 185, 129, 0.12);+ --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;+ --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;+}++[data-theme="light"] {+ --bg: #f8fafc;+ --bg-elevated: #ffffff;+ --bg-card: rgba(255, 255, 255, 0.94);+ --bg-terminal: #0f172a;+ --border: #e2e8f0;+ --border-glow: rgba(5, 150, 105, 0.4);+ --text: #0f172a;+ --text-muted: #475569;+ --text-dim: #64748b;+ --emerald: #059669;+ --emerald-bright: #10b981;+ --emerald-bg: rgba(16, 185, 129, 0.1);+ --cyan: #0284c7;+ --cyan-bg: rgba(2, 132, 199, 0.1);+ --amber: #d97706;+ --amber-bg: rgba(217, 119, 6, 0.1);+ --crimson: #e11d48;+ --crimson-bg: rgba(225, 29, 72, 0.1);+ --shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08);+}++*, *::before, *::after {+ box-sizing: border-box;+}++html {+ scroll-behavior: smooth;+}++body {+ margin: 0;+ font-family: var(--font-sans);+ background-color: var(--bg);+ color: var(--text);+ line-height: 1.6;+ background-image:+ radial-gradient(circle at 15% 8%, rgba(16, 185, 129, 0.11), transparent 36%),+ radial-gradient(circle at 85% 18%, rgba(56, 189, 248, 0.09), transparent 38%),+ linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),+ linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);+ background-size: 100% 100%, 100% 100%, 38px 38px, 38px 38px;+ min-height: 100vh;+}++a {+ color: var(--emerald-bright);+ text-decoration: none;+ transition: color 0.18s ease, opacity 0.18s ease;+}++a:hover {+ color: var(--cyan);+}++.container {+ max-width: 1200px;+ margin: 0 auto;+ padding: 0 24px;+}++/* Tactical Top Telemetry Ribbon */+.hud-ribbon {+ background: linear-gradient(90deg, rgba(6, 78, 59, 0.55), rgba(15, 23, 42, 0.85), rgba(88, 28, 135, 0.35));+ border-bottom: 1px solid var(--border);+ font-family: var(--font-mono);+ font-size: 12px;+ color: var(--text-muted);+ padding: 7px 0;+}++.hud-ribbon-inner {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 16px;+ flex-wrap: wrap;+}++.hud-status {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ color: var(--emerald-bright);+ font-weight: 600;+}++.pulse-dot {+ width: 8px;+ height: 8px;+ border-radius: 50%;+ background: var(--emerald-bright);+ box-shadow: 0 0 10px var(--emerald-bright);+ animation: pulseDot 1.8s infinite ease-in-out;+}++@keyframes pulseDot {+ 0%, 100% { transform: scale(1); opacity: 1; }+ 50% { transform: scale(1.35); opacity: 0.55; }+}++.hud-metrics {+ display: flex;+ gap: 18px;+ flex-wrap: wrap;+}++.hud-metrics span strong {+ color: var(--text);+}++/* Header */+.site-header {+ position: sticky;+ top: 0;+ z-index: 60;+ backdrop-filter: blur(16px);+ -webkit-backdrop-filter: blur(16px);+ background: rgba(4, 7, 17, 0.82);+ border-bottom: 1px solid var(--border);+}++[data-theme="light"] .site-header {+ background: rgba(248, 250, 252, 0.88);+}++.header-inner {+ display: flex;+ align-items: center;+ justify-content: space-between;+ min-height: 68px;+ gap: 18px;+ flex-wrap: wrap;+}++.brand {+ display: inline-flex;+ align-items: center;+ gap: 12px;+ color: var(--text);+}++.brand:hover {+ color: var(--text);+}++.brand-icon {+ width: 34px;+ height: 34px;+ border-radius: 9px;+ box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);+}++.brand-name {+ font-weight: 800;+ font-size: 21px;+ letter-spacing: -0.03em;+ background: linear-gradient(135deg, #ffffff, #34d399);+ -webkit-background-clip: text;+ -webkit-text-fill-color: transparent;+}++[data-theme="light"] .brand-name {+ background: linear-gradient(135deg, #0f172a, #059669);+ -webkit-background-clip: text;+ -webkit-text-fill-color: transparent;+}++.brand-caption {+ font-family: var(--font-mono);+ font-size: 12px;+ color: var(--text-muted);+ border-left: 1px solid var(--border);+ padding-left: 10px;+}++.navigation {+ display: flex;+ align-items: center;+ gap: 22px;+ font-size: 14.5px;+ font-weight: 500;+}++.navigation a {+ color: var(--text-muted);+ padding: 6px 2px;+ position: relative;+}++.navigation a:hover,+.navigation a[aria-current="page"] {+ color: var(--text);+}++.navigation a.nav-start {+ background: var(--emerald-bg);+ color: var(--emerald-bright);+ border: 1px solid var(--border-glow);+ padding: 6px 14px;+ border-radius: 999px;+ font-weight: 600;+}++.navigation a.nav-start:hover {+ background: var(--emerald);+ color: #030712;+}++.header-actions {+ display: flex;+ align-items: center;+ gap: 10px;+}++.icon-btn,+.lang-toggle {+ background: var(--bg-elevated);+ color: var(--text-muted);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 6px 11px;+ font-family: var(--font-mono);+ font-size: 12.5px;+ cursor: pointer;+ display: inline-flex;+ align-items: center;+ gap: 6px;+ transition: all 0.16s ease;+}++.icon-btn:hover,+.lang-toggle:hover {+ border-color: var(--emerald);+ color: var(--text);+}++/* Subnav bar ("On this page" like rea.tools) */+.page-subnav {+ border-bottom: 1px solid var(--border);+ background: rgba(10, 16, 32, 0.55);+ font-size: 13px;+}++[data-theme="light"] .page-subnav {+ background: rgba(241, 245, 249, 0.8);+}++.page-subnav-inner {+ display: flex;+ align-items: center;+ gap: 18px;+ padding: 9px 24px;+ overflow-x: auto;+ white-space: nowrap;+}++.page-subnav-label {+ font-family: var(--font-mono);+ color: var(--text-dim);+ text-transform: uppercase;+ font-size: 11px;+ letter-spacing: 0.08em;+}++.page-subnav a {+ color: var(--text-muted);+ font-weight: 500;+}++.page-subnav a:hover {+ color: var(--emerald-bright);+}++/* Hero Section */+.hero {+ padding: 64px 0 56px;+}++.home-start-grid {+ display: grid;+ grid-template-columns: 1.08fr 0.92fr;+ gap: 44px;+ align-items: start;+}++@media (max-width: 960px) {+ .home-start-grid {+ grid-template-columns: 1fr;+ }+ .brand-caption {+ display: none;+ }+}++.eyebrow {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ font-family: var(--font-mono);+ font-size: 12.5px;+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: 0.06em;+ color: var(--emerald-bright);+ background: var(--emerald-bg);+ border: 1px solid var(--border-glow);+ padding: 5px 13px;+ border-radius: 999px;+ margin: 0 0 18px;+}++h1 {+ font-size: clamp(2.4rem, 4.6vw, 3.85rem);+ line-height: 1.08;+ letter-spacing: -0.035em;+ margin: 0 0 20px;+ font-weight: 800;+}++h1 .gradient-accent {+ background: linear-gradient(135deg, #34d399 0%, #38bdf8 55%, #a78bfa 100%);+ -webkit-background-clip: text;+ -webkit-text-fill-color: transparent;+}++.lede {+ font-size: 1.15rem;+ color: var(--text-muted);+ margin: 0 0 24px;+ max-width: 62ch;+}++.slogan-pill {+ display: flex;+ align-items: center;+ gap: 12px;+ flex-wrap: wrap;+ font-family: var(--font-mono);+ font-size: 13.5px;+ padding: 12px 16px;+ border-radius: var(--radius-sm);+ background: var(--bg-elevated);+ border: 1px solid var(--border);+ margin-bottom: 26px;+}++.slogan-pill .rea-tag {+ color: var(--crimson);+ text-decoration: line-through;+ opacity: 0.85;+}++.slogan-pill .bla-tag {+ color: var(--emerald-bright);+ font-weight: 700;+}++.actions {+ display: flex;+ align-items: center;+ gap: 16px;+ flex-wrap: wrap;+ margin-bottom: 26px;+}++.button {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 8px;+ background: linear-gradient(135deg, #10b981, #059669);+ color: #030712 !important;+ font-weight: 700;+ font-size: 15px;+ padding: 12px 22px;+ border-radius: 10px;+ border: none;+ cursor: pointer;+ box-shadow: 0 10px 25px -8px rgba(16, 185, 129, 0.55);+ transition: transform 0.15s ease, box-shadow 0.15s ease;+}++.button:hover {+ transform: translateY(-1px);+ box-shadow: 0 14px 30px -6px rgba(16, 185, 129, 0.75);+}++.button-secondary {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ background: var(--bg-elevated);+ color: var(--text) !important;+ border: 1px solid var(--border);+ padding: 11px 18px;+ border-radius: 10px;+ font-weight: 600;+ font-size: 14.5px;+}++.button-secondary:hover {+ border-color: var(--emerald);+}++.home-reading-links p {+ margin: 6px 0;+ font-size: 14.5px;+ color: var(--text-muted);+}++/* Setup Card & Agent Terminals */+.home-setup {+ background: var(--bg-card);+ border: 1px solid var(--border-glow);+ border-radius: var(--radius);+ padding: 24px;+ box-shadow: var(--shadow);+ position: relative;+ overflow: hidden;+}++.home-setup::before {+ content: "";+ position: absolute;+ top: 0;+ left: 0;+ right: 0;+ height: 3px;+ background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--emerald));+}++.home-setup h2 {+ margin: 0 0 6px;+ font-size: 1.25rem;+ display: flex;+ align-items: center;+ justify-content: space-between;+}++.agent-terminal {+ background: var(--bg-terminal);+ border: 1px solid #1e293b;+ border-radius: var(--radius-sm);+ overflow: hidden;+ margin: 12px 0 18px;+ color: #e2e8f0;+}++.terminal-header {+ display: flex;+ align-items: center;+ justify-content: space-between;+ padding: 9px 14px;+ background: rgba(15, 23, 42, 0.9);+ border-bottom: 1px solid #1e293b;+ font-family: var(--font-mono);+ font-size: 12px;+ color: #94a3b8;+}++.terminal-title {+ display: inline-flex;+ align-items: center;+ gap: 8px;+}++.terminal-dots {+ display: inline-flex;+ gap: 5px;+}++.terminal-dots i {+ width: 9px;+ height: 9px;+ border-radius: 50%;+ display: inline-block;+}++.terminal-dots i:nth-child(1) { background: #f43f5e; }+.terminal-dots i:nth-child(2) { background: #f59e0b; }+.terminal-dots i:nth-child(3) { background: #10b981; }++.copy-button {+ background: rgba(30, 41, 59, 0.9);+ color: #e2e8f0;+ border: 1px solid #334155;+ border-radius: 6px;+ padding: 4px 10px;+ font-family: var(--font-mono);+ font-size: 11.5px;+ cursor: pointer;+ transition: all 0.15s ease;+}++.copy-button:hover {+ border-color: var(--emerald-bright);+ color: var(--emerald-bright);+}++.copy-button.copied {+ background: rgba(16, 185, 129, 0.2);+ border-color: var(--emerald-bright);+ color: var(--emerald-bright);+}++.terminal-prompt {+ margin: 0;+ padding: 15px 16px;+ font-family: var(--font-mono);+ font-size: 13.5px;+ line-height: 1.55;+ color: #f1f5f9;+}++.prompt-symbol {+ color: var(--emerald-bright);+ font-weight: 700;+ margin-right: 8px;+}++.code-inline {+ display: flex;+ align-items: center;+ justify-content: space-between;+ background: var(--bg-terminal);+ border: 1px solid #1e293b;+ border-radius: var(--radius-sm);+ padding: 10px 14px;+ font-family: var(--font-mono);+ font-size: 14px;+ color: var(--emerald-bright);+ margin: 8px 0 12px;+}++/* Sections */+.section {+ padding: 64px 0;+ border-top: 1px solid var(--border);+}++.section-heading {+ margin-bottom: 28px;+}++.section-heading h2 {+ font-size: clamp(1.75rem, 3vw, 2.35rem);+ margin: 0 0 10px;+ letter-spacing: -0.025em;+}++/* 3-Step Workflow Cards */+.workflow-cards {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 20px;+ list-style: none;+ padding: 0;+ margin: 28px 0 36px;+}++@media (max-width: 860px) {+ .workflow-cards {+ grid-template-columns: 1fr;+ }+}++.workflow-card {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: var(--radius);+ padding: 22px;+ position: relative;+ transition: border-color 0.2s ease, transform 0.2s ease;+}++.workflow-card:hover {+ border-color: var(--emerald);+ transform: translateY(-2px);+}++.workflow-step-badge {+ font-family: var(--font-mono);+ font-size: 12px;+ font-weight: 700;+ color: var(--emerald-bright);+ background: var(--emerald-bg);+ padding: 4px 10px;+ border-radius: 6px;+ display: inline-block;+ margin-bottom: 12px;+}++.workflow-card h3 {+ margin: 0 0 8px;+ font-size: 1.15rem;+}++.workflow-card p {+ margin: 0;+ color: var(--text-muted);+ font-size: 14.5px;+}++/* Interactive Step Selector & Analyzer Inspector */+.interactive-panel {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: var(--radius);+ padding: 26px;+ box-shadow: var(--shadow);+}++.step-tabs {+ display: flex;+ gap: 10px;+ flex-wrap: wrap;+ margin-bottom: 20px;+}++.step-tab {+ background: var(--bg-elevated);+ color: var(--text-muted);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 9px 15px;+ font-family: var(--font-mono);+ font-size: 13px;+ font-weight: 600;+ cursor: pointer;+ transition: all 0.16s ease;+}++.step-tab[aria-selected="true"],+.step-tab:hover {+ background: var(--emerald-bg);+ color: var(--emerald-bright);+ border-color: var(--emerald);+}++.analyzer-grid {+ display: grid;+ grid-template-columns: 1.12fr 0.88fr;+ gap: 20px;+}++@media (max-width: 900px) {+ .analyzer-grid {+ grid-template-columns: 1fr;+ }+}++.code-window {+ background: var(--bg-terminal);+ border: 1px solid #1e293b;+ border-radius: var(--radius-sm);+ overflow: hidden;+}++.code-window pre {+ margin: 0;+ padding: 16px;+ overflow-x: auto;+ font-family: var(--font-mono);+ font-size: 12.8px;+ line-height: 1.55;+ color: #e2e8f0;+}++/* Dinosaur Shield Lab */+.lab-grid {+ display: grid;+ grid-template-columns: 1fr 1.08fr;+ gap: 28px;+ align-items: start;+}++@media (max-width: 920px) {+ .lab-grid {+ grid-template-columns: 1fr;+ }+}++.shield-switch-bar {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 12px;+ padding: 14px 18px;+ border-radius: var(--radius-sm);+ background: var(--bg-elevated);+ border: 1px solid var(--border-glow);+ margin-bottom: 16px;+ flex-wrap: wrap;+}++.shield-toggle-btn {+ display: inline-flex;+ align-items: center;+ gap: 10px;+ font-family: var(--font-mono);+ font-size: 13px;+ font-weight: 700;+ padding: 8px 16px;+ border-radius: 999px;+ cursor: pointer;+ border: 1px solid var(--emerald);+ background: var(--emerald-bg);+ color: var(--emerald-bright);+ transition: all 0.2s ease;+}++.shield-toggle-btn[data-shield-state="off"] {+ border-color: var(--crimson);+ background: var(--crimson-bg);+ color: var(--crimson);+}++.dino-canvas-wrap {+ background: #03060c;+ border: 1px solid #1e293b;+ border-radius: var(--radius-sm);+ padding: 12px;+ text-align: center;+}++.dino-canvas-wrap canvas {+ width: 100%;+ max-width: 580px;+ height: auto;+ display: block;+ margin: 0 auto;+ border-radius: 6px;+ background: #070d19;+}++.dino-controls-bar {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 12px;+ flex-wrap: wrap;+ margin-top: 12px;+ padding-top: 12px;+ border-top: 1px solid #1e293b;+}++.dino-btn-group {+ display: flex;+ gap: 8px;+}++.btn-sm {+ background: #1e293b;+ color: #f8fafc;+ border: 1px solid #334155;+ padding: 6px 12px;+ border-radius: 6px;+ font-family: var(--font-mono);+ font-size: 12px;+ cursor: pointer;+}++.btn-sm:hover {+ border-color: var(--emerald-bright);+}++/* Token Bankruptcy Simulator */+.simulator-controls {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 16px;+ margin-bottom: 22px;+}++@media (max-width: 780px) {+ .simulator-controls {+ grid-template-columns: 1fr;+ }+}++.sim-field label {+ display: block;+ font-family: var(--font-mono);+ font-size: 12px;+ color: var(--text-muted);+ margin-bottom: 6px;+}++.sim-field select {+ width: 100%;+ background: var(--bg-elevated);+ color: var(--text);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 10px 12px;+ font-family: var(--font-sans);+ font-size: 14px;+}++.sim-comparison-cards {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 20px;+}++@media (max-width: 780px) {+ .sim-comparison-cards {+ grid-template-columns: 1fr;+ }+}++.sim-card {+ padding: 22px;+ border-radius: var(--radius-sm);+ background: var(--bg-terminal);+ border: 1px solid #1e293b;+}++.sim-card.sim-before {+ border-left: 4px solid var(--crimson);+}++.sim-card.sim-after {+ border-left: 4px solid var(--emerald-bright);+}++.sim-metric-row {+ display: flex;+ justify-content: space-between;+ padding: 8px 0;+ border-bottom: 1px solid rgba(148, 163, 184, 0.12);+ font-family: var(--font-mono);+ font-size: 13px;+}++/* Tables */+.table-wrap {+ overflow-x: auto;+ border: 1px solid var(--border);+ border-radius: var(--radius);+ background: var(--bg-card);+}++table {+ width: 100%;+ border-collapse: collapse;+ font-size: 14px;+}++th, td {+ text-align: left;+ padding: 13px 16px;+ border-bottom: 1px solid var(--border);+}++th {+ font-family: var(--font-mono);+ font-size: 12px;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ color: var(--text-muted);+ background: rgba(15, 23, 42, 0.45);+}++tr:last-child td {+ border-bottom: none;+}++.badge-pass {+ display: inline-block;+ font-family: var(--font-mono);+ font-size: 11.5px;+ font-weight: 700;+ padding: 3px 8px;+ border-radius: 6px;+ background: var(--emerald-bg);+ color: var(--emerald-bright);+}++.badge-warn {+ display: inline-block;+ font-family: var(--font-mono);+ font-size: 11.5px;+ font-weight: 700;+ padding: 3px 8px;+ border-radius: 6px;+ background: var(--amber-bg);+ color: var(--amber);+}++.badge-danger {+ display: inline-block;+ font-family: var(--font-mono);+ font-size: 11.5px;+ font-weight: 700;+ padding: 3px 8px;+ border-radius: 6px;+ background: var(--crimson-bg);+ color: var(--crimson);+}++/* Showcase Cards */+.case-grid {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 20px;+}++@media (max-width: 900px) {+ .case-grid {+ grid-template-columns: 1fr;+ }+}++.case-card {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: var(--radius);+ padding: 24px;+ display: flex;+ flex-direction: column;+ justify-content: space-between;+ transition: border-color 0.2s ease, transform 0.2s ease;+}++.case-card:hover {+ border-color: var(--emerald);+ transform: translateY(-3px);+}++.case-card h3 {+ margin: 8px 0 10px;+ font-size: 1.2rem;+}++.case-card p {+ color: var(--text-muted);+ font-size: 14.5px;+ margin: 0 0 18px;+}++/* Collapsible Details / FAQ */+details.faq-item {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: var(--radius-sm);+ margin-bottom: 12px;+ padding: 16px 20px;+ transition: border-color 0.16s ease;+}++details.faq-item[open] {+ border-color: var(--emerald);+}++details.faq-item summary {+ font-weight: 600;+ font-size: 15.5px;+ cursor: pointer;+ list-style: none;+ display: flex;+ align-items: center;+ justify-content: space-between;+}++details.faq-item summary::after {+ content: "+";+ font-family: var(--font-mono);+ font-size: 18px;+ color: var(--emerald-bright);+}++details.faq-item[open] summary::after {+ content: "−";+}++details.faq-item .faq-body {+ margin-top: 12px;+ padding-top: 12px;+ border-top: 1px solid var(--border);+ color: var(--text-muted);+ font-size: 14.5px;+}++/* Footer */+.site-footer {+ border-top: 1px solid var(--border);+ padding: 36px 0;+ margin-top: 48px;+ color: var(--text-muted);+ font-size: 14px;+}++.footer-inner {+ display: flex;+ align-items: center;+ justify-content: space-between;+ flex-wrap: wrap;+ gap: 16px;+}++.footer-links {+ display: flex;+ gap: 20px;+ flex-wrap: wrap;+}diff --git a/website/faq/index.html b/website/faq/index.htmlnew file mode 100644index 0000000..188bbb5--- /dev/null+++ b/website/faq/index.html@@ -0,0 +1,93 @@+<!doctype html>+<html lang="en" data-theme="dark">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>FAQ & Troubleshooting — BLA (Blind LLM Agents)</title>+ <meta name="description" content="Frequently asked questions about BLA (bla-shield), runtime performance, Counter-REA verification, and agent setup." />+ <link rel="icon" href="../assets/favicon.svg" type="image/svg+xml" />+ <link rel="stylesheet" href="../assets/styles.css" />+ <script src="../assets/main.js" defer></script>+ </head>+ <body>+ <header class="site-header">+ <div class="container header-inner">+ <a class="brand" href="../">+ <img class="brand-icon" src="../assets/favicon.svg" alt="" width="34" height="34" />+ <span class="brand-name">BLA</span>+ <span class="brand-caption">Blind LLM Agents · Block Anything</span>+ </a>+ <nav class="navigation">+ <a href="../get-started/" class="nav-start" data-zh="快速上手">Get started</a>+ <a href="../showcase/" data-zh="打脸案例">Showcases</a>+ <a href="../guides/" data-zh="防御指南">Guides</a>+ <a href="./" aria-current="page" data-zh="常见问题">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub ↗</a>+ </nav>+ <div class="header-actions">+ <button type="button" class="lang-toggle" data-lang-toggle><span data-lang-label>文 / English</span></button>+ <button type="button" class="icon-btn" data-theme-toggle>☀️ Light</button>+ </div>+ </div>+ </header>++ <main class="container" style="padding:56px 24px;">+ <p class="eyebrow" data-zh="常见问题与故障排查">FAQ & Troubleshooting</p>+ <h1 data-zh="关于 BLA 对抗护盾的一切疑问。">Frequently Asked Questions</h1>++ <div style="margin-top:28px;">+ <details class="faq-item" open>+ <summary data-zh="1. 哪些 AI 编程代理可以使用 BLA?">1. Which coding agents can use BLA?</summary>+ <div class="faq-body" data-zh="任何支持本地 MCP 服务器或 SKILL.md 的代理均可使用。运行 npx bla-shield setup 即可自动配置 Claude Code、Cursor、Codex、Gemini CLI、Windsurf、Google Antigravity、OpenCode、VS Code 与 GitHub Copilot CLI。">+ Any coding agent that supports local MCP servers or <code>SKILL.md</code> instructions: Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Google Antigravity, OpenCode, VS Code, and GitHub Copilot CLI.+ </div>+ </details>++ <details class="faq-item" open>+ <summary data-zh="2. BLA 会降低我的程序运行性能或改变输出吗?">2. Does BLA slow down my app or alter its runtime output?</summary>+ <div class="faq-body" data-zh="不会。所有重度语义预算爆破器与 36 个 Tarpit 状态机均包裹在 O(1) 数论不透明谓词(7x² - 1 ≠ y² mod 7)的死分支内,在真实运行时开销为 0ms。">+ No. All semantic budget breakers and tarpit meshes are guarded by <em>O(1)</em> number-theoretic opaque predicates (<code>7x² - 1 ≠ y² mod 7</code>) that evaluate in a single CPU instruction and never enter the decoy branches at runtime.+ </div>+ </details>++ <details class="faq-item" open>+ <summary data-zh="3. 当攻击者用 REA 逆向被 BLA 保护的程序时,具体会发生什么?">3. What happens when an attacker runs REA against a BLA-protected app?</summary>+ <div class="faq-body" data-zh="1) JS/Electron 静态与语义分析器触发 primitive-candidates > 256、alias-selections > 512 降级为 partial / limited,且 IPC 通道配对返回 channel: null;2) 原生二进制、Electron Fuse、SQLite 和 AI 模型解析器直接触发硬编码容量熔断报错中止;3) 若强行追踪调用链,Agent 会陷入 36 个互锁状态机与蜜罐 SourceMap 中,消耗超 2,000 倍 Token。">+ 1) REA's JS/Electron engine degrades to <code>parse_status: "partial"</code> and <code>examination.status: "limited"</code>, with IPC channels unresolved (<code>channel: null</code>).<br />+ 2) REA's Rust, Electron Fuse, Flutter/Dart, SQLite, and Safetensors/GGUF inspectors abort with deterministic capacity or column evaluation failures.<br />+ 3) Feature-tracing agents get trapped in 36 Fake XRef state machines and Honey Source Maps (<code>enclave://tee-runtime/</code>), burning up to 2,532x more tokens.+ </div>+ </details>++ <details class="faq-item" open>+ <summary data-zh="4. 我需要安装 Hopper、Ghidra、IDA 或 WABT 吗?">4. Do I need Hopper, Ghidra, IDA, or WABT installed?</summary>+ <div class="faq-body" data-zh="完全不需要。BLA 的全部 19 种格式护盾全部内置在 bla-shield 中,零外部工具依赖。">+ No. All 19 format shields are built directly into <code>bla-shield</code> with zero external binary dependencies.+ </div>+ </details>++ <details class="faq-item" open>+ <summary data-zh="5. 如何检查 BLA 状态或更新到最新版本?">5. How do I check readiness or update BLA?</summary>+ <div class="faq-body">+ <pre style="background:#03060c;padding:12px;border-radius:8px;color:#34d399;font-family:var(--font-mono);">npx bla-shield@latest doctor+npx bla-shield@latest update+npx bla-shield@latest setup</pre>+ </div>+ </details>+ </div>+ </main>++ <footer class="site-footer">+ <div class="container footer-inner">+ <p><strong>BLA · Blind LLM Agents (`bla-shield`)</strong></p>+ <div class="footer-links">+ <a href="../">Home</a>+ <a href="../get-started/">Get started</a>+ <a href="../showcase/">Showcases</a>+ <a href="../guides/">Guides</a>+ <a href="https://github.com/qybaihe/bla">GitHub</a>+ </div>+ </div>+ </footer>+ </body>+</html>diff --git a/website/get-started/index.html b/website/get-started/index.htmlnew file mode 100644index 0000000..febaec0--- /dev/null+++ b/website/get-started/index.html@@ -0,0 +1,144 @@+<!doctype html>+<html lang="en" data-theme="dark">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>Get Started — BLA (Blind LLM Agents)</title>+ <meta name="description" content="Install BLA (bla-shield), connect it to Claude Code, Cursor, Codex, or Antigravity, and protect your builds against REA." />+ <link rel="icon" href="../assets/favicon.svg" type="image/svg+xml" />+ <link rel="stylesheet" href="../assets/styles.css" />+ <script src="../assets/main.js" defer></script>+ </head>+ <body>+ <header class="site-header">+ <div class="container header-inner">+ <a class="brand" href="../">+ <img class="brand-icon" src="../assets/favicon.svg" alt="" width="34" height="34" />+ <span class="brand-name">BLA</span>+ <span class="brand-caption">Blind LLM Agents · Block Anything</span>+ </a>+ <nav class="navigation">+ <a href="./" class="nav-start" aria-current="page" data-zh="快速上手">Get started</a>+ <a href="../showcase/" data-zh="打脸案例">Showcases</a>+ <a href="../guides/" data-zh="防御指南">Guides</a>+ <a href="../faq/" data-zh="常见问题">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub ↗</a>+ </nav>+ <div class="header-actions">+ <button type="button" class="lang-toggle" data-lang-toggle><span data-lang-label>文 / English</span></button>+ <button type="button" class="icon-btn" data-theme-toggle>☀️ Light</button>+ </div>+ </div>+ </header>++ <main class="container" style="padding:56px 24px;">+ <p class="eyebrow" data-zh="安装与快速接入指南">Step-by-Step Setup Guide</p>+ <h1 data-zh="30 秒接入 BLA 对抗护盾。">Get started with BLA in 30 seconds.</h1>+ <p class="lede" data-zh="BLA 支持作为 AI 编程代理的 MCP 服务与 Skill 运行,也支持直接在终端或 Vite / Webpack / Rollup / esbuild 打包时调用。">+ Use BLA through your coding agent via MCP, run it from your terminal, or plug it directly into your Vite, Rollup, Webpack, or esbuild pipeline.+ </p>++ <section class="section" id="agent-setup">+ <h2 data-zh="1. 一键注册到你的 AI 编程代理">1. Register BLA with your coding agent</h2>+ <p data-zh="需要 Node.js 22.5+(或 24.x+)。在终端运行:">Requires Node.js 22.5+ (or 24.x+). Run in your terminal:</p>+ <div class="code-inline">+ <code id="gs-setup">npx bla-shield@latest setup --all-detected --yes</code>+ <button class="copy-button" type="button" data-copy="gs-setup">Copy</button>+ </div>+ <p style="color:var(--text-muted);" data-zh="支持自动检测并注册:Claude Code、Cursor、Codex、Gemini CLI、Windsurf、Google Antigravity、OpenCode、VS Code 与 GitHub Copilot CLI。配置完成后请重启你的 Agent。">+ Auto-detects and configures Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Google Antigravity, OpenCode, VS Code, and GitHub Copilot CLI. Restart your agent afterward.+ </p>+ </section>++ <section class="section" id="agent-prompts">+ <h2 data-zh="2. 各环节对应的 Agent 自然语言指令">2. Prompts for every stage (Audit → Protect → Verify)</h2>++ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title"><span class="terminal-dots"><i></i><i></i><i></i></span><span data-zh="阶段一:发布前暴露面审计 (Audit)">Stage 1 · Pre-flight REA Exposure Audit</span></span>+ <button class="copy-button" type="button" data-copy="p-audit">Copy</button>+ </div>+ <p class="terminal-prompt"><span class="prompt-symbol">›</span><span id="p-audit">Audit my ./dist directory against REA, list every exposed function and Electron IPC channel, and show how much it would cost Claude to reconstruct it.</span></p>+ </div>++ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title"><span class="terminal-dots"><i></i><i></i><i></i></span><span data-zh="阶段二:注入对抗护盾 (Protect)">Stage 2 · Inject Counter-REA Protection</span></span>+ <button class="copy-button" type="button" data-copy="p-protect">Copy</button>+ </div>+ <p class="terminal-prompt"><span class="prompt-symbol">›</span><span id="p-protect">Protect ./dist/app.asar with BLA at bankrupt intensity, enable Honey SourceMaps and Anti-CDP runtime deception, and save to ./dist/app.shielded.asar.</span></p>+ </div>++ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title"><span class="terminal-dots"><i></i><i></i><i></i></span><span data-zh="阶段三:验证防线与 Token 放大倍率 (Verify)">Stage 3 · Verify Counter-REA Gates</span></span>+ <button class="copy-button" type="button" data-copy="p-verify">Copy</button>+ </div>+ <p class="terminal-prompt"><span class="prompt-symbol">›</span><span id="p-verify">Verify ./dist/app.shielded.asar against ./dist/app.asar, confirm REA degrades to limited status, and report the token amplification factor.</span></p>+ </div>+ </section>++ <section class="section" id="cli-commands">+ <h2 data-zh="3. 终端 CLI 命令速查">3. Terminal CLI Reference</h2>+ <div class="code-window">+ <div class="terminal-header">+ <span class="terminal-title"><span class="terminal-dots"><i></i><i></i><i></i></span><span>Terminal Commands</span></span>+ <button class="copy-button" type="button" data-copy="cli-all">Copy</button>+ </div>+ <pre><code id="cli-all"># 1. Pre-flight REA exposure scan+npx bla-shield audit ./dist++# 2. Inject Counter-REA shield (stealth | balanced | maximum | bankrupt)+npx bla-shield protect ./dist -o ./dist-shielded --intensity bankrupt++# 3. Verify defense gates & token burn multiplier+npx bla-shield verify ./dist-shielded ./dist++# 4. Run 8-target Counter-REA benchmark suite+npx bla-shield benchmark++# 5. Emit compile-time C/C++, Rust, or Go defense headers+npx bla-shield emit-headers --lang c -o ./include/bla_shield.h++# 6. Check readiness or update global installation+npx bla-shield doctor+npx bla-shield update</code></pre>+ </div>+ </section>++ <section class="section" id="bundler">+ <h2 data-zh="4. 接入构建打包插件 (Vite / Rollup / Webpack / esbuild)">4. Bundler Integration (`bla-shield/bundler`)</h2>+ <div class="code-window">+ <div class="terminal-header">+ <span class="terminal-title"><span class="terminal-dots"><i></i><i></i><i></i></span><span>vite.config.ts</span></span>+ <button class="copy-button" type="button" data-copy="bundler-code">Copy</button>+ </div>+ <pre><code id="bundler-code">import { defineConfig } from "vite";+import { blaVitePlugin } from "bla-shield/bundler";++export default defineConfig({+ plugins: [+ blaVitePlugin({+ intensity: "bankrupt",+ enableHoneySourceMaps: true,+ }),+ ],+});</code></pre>+ </div>+ </section>+ </main>++ <footer class="site-footer">+ <div class="container footer-inner">+ <p><strong>BLA · Blind LLM Agents (`bla-shield`)</strong></p>+ <div class="footer-links">+ <a href="../">Home</a>+ <a href="../showcase/">Showcases</a>+ <a href="../guides/">Guides</a>+ <a href="../faq/">FAQ</a>+ <a href="https://github.com/qybaihe/bla">GitHub</a>+ </div>+ </div>+ </footer>+ </body>+</html>diff --git a/website/guides/index.html b/website/guides/index.htmlnew file mode 100644index 0000000..18a8e66--- /dev/null+++ b/website/guides/index.html@@ -0,0 +1,103 @@+<!doctype html>+<html lang="en" data-theme="dark">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>Defense Guides — BLA (Blind LLM Agents)</title>+ <meta name="description" content="Complete format-by-format defense guides for protecting JS/TS, Electron, Native Binaries, WASM, Python, SQLite3, and AI Models against REA." />+ <link rel="icon" href="../assets/favicon.svg" type="image/svg+xml" />+ <link rel="stylesheet" href="../assets/styles.css" />+ <script src="../assets/main.js" defer></script>+ </head>+ <body>+ <header class="site-header">+ <div class="container header-inner">+ <a class="brand" href="../">+ <img class="brand-icon" src="../assets/favicon.svg" alt="" width="34" height="34" />+ <span class="brand-name">BLA</span>+ <span class="brand-caption">Blind LLM Agents · Block Anything</span>+ </a>+ <nav class="navigation">+ <a href="../get-started/" class="nav-start" data-zh="快速上手">Get started</a>+ <a href="../showcase/" data-zh="打脸案例">Showcases</a>+ <a href="./" aria-current="page" data-zh="防御指南">Guides</a>+ <a href="../faq/" data-zh="常见问题">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub ↗</a>+ </nav>+ <div class="header-actions">+ <button type="button" class="lang-toggle" data-lang-toggle><span data-lang-label>文 / English</span></button>+ <button type="button" class="icon-btn" data-theme-toggle>☀️ Light</button>+ </div>+ </div>+ </header>++ <main class="container" style="padding:56px 24px;">+ <p class="eyebrow" data-zh="全格式对抗指南">19-Format Defense Guides</p>+ <h1 data-zh="按目标产物类型选择防御工作流。">Choose your target defense workflow.</h1>+ <p class="lede" data-zh="BLA 为每一种软件形态提供定制化的静态、动态与容器级反制手段,且包含可直接复制给 Agent 的指令。">+ Every guide below provides both the terminal CLI command and the natural-language prompt for your coding agent.+ </p>++ <section class="section" id="js-electron">+ <h2 data-zh="1. JavaScript、TypeScript 与 Electron (.asar & Fuses)">1. JavaScript, TypeScript & Electron (`.asar` & Binary Fuses)</h2>+ <p data-zh="针对前端 Bundle 与 Electron 桌面应用,BLA 会注入三大语义预算爆破器、IPC 通道去字面量化、VLQ v3 蜜罐 SourceMap、动态反 CDP 护盾以及 V1 Fuse 原地锁死。">+ Protects JS/TS bundles, unpacked Electron folders, Chromium Pickle <code>.asar</code> archives, and Electron executable Fuse wires.+ </p>+ <div class="code-inline">+ <code id="g-electron">npx bla-shield protect ./dist/app.asar -o ./dist/app.shielded.asar --intensity bankrupt</code>+ <button class="copy-button" type="button" data-copy="g-electron">Copy</button>+ </div>+ </section>++ <section class="section" id="native">+ <h2 data-zh="2. 原生二进制 (ELF / Mach-O / PE、Rust、Go、Flutter / Dart AOT)">2. Native Binaries (ELF / Mach-O / PE, Rust, Go, Flutter / Dart AOT)</h2>+ <p data-zh="无需重编译即可向编译后的二进制文件追加多重容量熔断陷阱(>64 个 rustc 哈希、>32 个 Electron Fuse 哨兵、>64 个 Dart AOT 快照头),也可通过 emit-headers 在编译期直接把诱饵状态机编入 Ghidra / Hopper / IDA 反编译视图。">+ Protects compiled ELF64, Mach-O, and PE binaries post-build, or emits compile-time <code>bla_shield.h</code> / <code>.rs</code> / <code>.go</code> headers with <code>__attribute__((used, noinline))</code> tarpit state machines.+ </p>+ <div class="code-inline">+ <code id="g-native">npx bla-shield protect ./build/daemon.elf -o ./build/daemon.shielded.elf --intensity bankrupt</code>+ <button class="copy-button" type="button" data-copy="g-native">Copy</button>+ </div>+ <div class="code-inline">+ <code id="g-headers">npx bla-shield emit-headers --lang c -o ./include/bla_shield.h</code>+ <button class="copy-button" type="button" data-copy="g-headers">Copy</button>+ </div>+ </section>++ <section class="section" id="wasm-python">+ <h2 data-zh="3. WebAssembly (.wasm) 与 Python (.py / CPython .pyc)">3. WebAssembly (`.wasm`) & Python (`.py` / CPython `.pyc`)</h2>+ <p data-zh="剥离 WASM 调试段并注入蜜罐 'name' 段;向 Python 源码与 CPython 3.7–3.14 .pyc 字节码常量池注入 marshal 飞地声明与状态机。">+ Strips WASM debug sections and injects honey <code>"name"</code> custom sections while preserving 100% <code>WebAssembly.validate</code> compliance; injects algorithmic tarpits into <code>.py</code> and marshal <code>TYPE_ASCII</code> chaff into <code>.pyc</code>.+ </p>+ <div class="code-inline">+ <code id="g-wasm">npx bla-shield protect ./dist/crypto.wasm -o ./dist/crypto.shielded.wasm</code>+ <button class="copy-button" type="button" data-copy="g-wasm">Copy</button>+ </div>+ </section>++ <section class="section" id="sqlite-models">+ <h2 data-zh="4. SQLite3 数据库、AI 模型 (.safetensors / .gguf) 与移动端 (.dex / Il2Cpp)">4. SQLite3 Databases, AI Models (`.safetensors` / `.gguf`) & Mobile/Game (`.dex` / `Il2Cpp`)</h2>+ <p data-zh="向 SQLite 注入带虚拟生成列陷阱的蜜罐表(触发 SqliteColumnEvaluationFailure);向 .safetensors / .gguf 头部注入 35 层嵌套结构(触发 ModelFormatFailure);向 Android classes.dex 注入飞地诱饵类并自动重算 SHA-1 与 Adler32。">+ Injects honey tables with virtual generated column traps into SQLite3 databases; embeds 35-level nested JSON/ARRAY structures in <code>.safetensors</code> and <code>.gguf</code> headers; injects decoy enclave classes into Android <code>classes.dex</code> with valid SHA-1 & Adler32 checksums.+ </p>+ <div class="code-inline">+ <code id="g-sqlite">npx bla-shield protect ./data/entitlements.sqlite --in-place</code>+ <button class="copy-button" type="button" data-copy="g-sqlite">Copy</button>+ </div>+ </section>+ </main>++ <footer class="site-footer">+ <div class="container footer-inner">+ <p><strong>BLA · Blind LLM Agents (`bla-shield`)</strong></p>+ <div class="footer-links">+ <a href="../">Home</a>+ <a href="../get-started/">Get started</a>+ <a href="../showcase/">Showcases</a>+ <a href="../faq/">FAQ</a>+ <a href="https://github.com/qybaihe/bla">GitHub</a>+ </div>+ </div>+ </footer>+ </body>+</html>diff --git a/website/index.html b/website/index.htmlnew file mode 100644index 0000000..21a3043--- /dev/null+++ b/website/index.html@@ -0,0 +1,650 @@+<!doctype html>+<html lang="en" data-theme="dark">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>BLA — Blind LLM Agents · Adversarial Defense Against AI Reverse Engineering</title>+ <meta+ name="description"+ content="Defend your binaries, Electron apps, JS bundles, WASM, Python, SQLite databases, and AI models against reverse-engineering coding agents like REA. Poison -> Exhaust -> Hallucinate."+ />+ <link rel="canonical" href="https://bla.tools/" />+ <meta property="og:type" content="website" />+ <meta property="og:site_name" content="BLA" />+ <meta property="og:title" content="BLA — Blind LLM Agents · Block Anything" />+ <meta+ property="og:description"+ content="Ship a feature you built. Blind the AI agents trying to clone it, down to the binary level."+ />+ <meta property="og:url" content="https://bla.tools/" />+ <meta property="og:image" content="https://bla.tools/assets/social-card.svg" />+ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:title" content="BLA — Blind LLM Agents (bla-shield)" />+ <meta+ name="twitter:description"+ content="Poison -> Exhaust -> Hallucinate. Make Reverse Engineering Bankrupt Again."+ />+ <link rel="icon" href="./assets/favicon.svg" type="image/svg+xml" />+ <link rel="stylesheet" href="./assets/styles.css" />+ <script src="./assets/main.js" defer></script>+ <script type="module" src="./assets/home.js"></script>+ </head>+ <body id="top">+ <!-- Tactical Top Telemetry Ribbon -->+ <div class="hud-ribbon">+ <div class="container hud-ribbon-inner">+ <div class="hud-status">+ <span class="pulse-dot" aria-hidden="true"></span>+ <span data-zh="防御态势:已激活 · 100% 实测击穿 REA v4.x 全线分析器">SHIELD STATUS: ACTIVE · 100% VERIFIED AGAINST REA v4.x</span>+ </div>+ <div class="hud-metrics">+ <span><strong data-zh="19 种">19</strong> <span data-zh="受保护产物格式">Artifact Formats</span></span>+ <span><strong data-zh="14 项">14</strong> <span data-zh="REA 内部容量熔断陷阱">REA Capacity Tripwires</span></span>+ <span><strong>2,532.3x</strong> <span data-zh="最高 Token 消耗放大">Peak Token Amplification</span></span>+ <span><strong>0 ms</strong> <span data-zh="运行时性能损耗">Runtime Overhead</span></span>+ </div>+ </div>+ </div>++ <!-- Header -->+ <header class="site-header">+ <div class="container header-inner">+ <a class="brand" href="./" aria-label="BLA Home">+ <img class="brand-icon" src="./assets/favicon.svg" alt="" width="34" height="34" />+ <span class="brand-name">BLA</span>+ <span class="brand-caption">Blind LLM Agents · Block Anything</span>+ </a>+ <nav class="navigation" aria-label="Main navigation">+ <a href="./get-started/" class="nav-start" data-zh="快速上手">Get started</a>+ <a href="./showcase/" data-zh="打脸案例">Showcases</a>+ <a href="./guides/" data-zh="防御指南">Guides</a>+ <a href="./faq/" data-zh="常见问题">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub ↗</a>+ </nav>+ <div class="header-actions">+ <button type="button" class="lang-toggle" data-lang-toggle aria-label="Switch language">+ <span data-lang-label>文 / English</span>+ </button>+ <button type="button" class="icon-btn" data-theme-toggle aria-label="Toggle color theme">+ ☀️ Light+ </button>+ </div>+ </div>+ </header>++ <!-- Subnav ("On this page" mirroring rea.tools) -->+ <nav class="page-subnav" aria-label="On this page">+ <div class="container page-subnav-inner">+ <span class="page-subnav-label" data-zh="本页导航">On this page</span>+ <a href="#setup" data-zh="1. 安装配置">Set up BLA</a>+ <a href="#how-it-works" data-zh="2. 反制原理">How it works</a>+ <a href="#dinosaur" data-zh="3. 恐龙护盾靶场">Dinosaur Shield Lab</a>+ <a href="#benchmark" data-zh="4. 破产计算器">Token Bankruptcy Simulator</a>+ <a href="#showcases" data-zh="5. 对标案例">Counter-Showcases</a>+ <a href="#targets" data-zh="6. 支持格式">19 Protected Formats</a>+ <a href="#faq" data-zh="7. 常见问题">FAQ</a>+ </div>+ </nav>++ <main id="main">+ <!-- HERO SECTION -->+ <section class="container hero" id="setup">+ <div class="home-start-grid">+ <div>+ <p class="eyebrow" data-zh="🛡️ 专为对抗 AI 逆向代理而生的防御护盾">+ 🛡️ Adversarial Defense Against Reverse-Engineering Agents+ </p>+ <h1 data-zh="守住你写下的代码。<br /><span class='gradient-accent'>从二进制底层致盲克隆者。</span>">+ Ship the code you built.<br />+ <span class="gradient-accent">Blind the agents trying to clone it.</span>+ </h1>+ <p class="lede" data-zh="当 REA 让 AI 代理能在几十秒内扒光并复刻未设防的软件时,传统变量改名混淆已彻底失效。BLA 将你的构建产物变成针对逆向大模型的语义容量炸弹、飞地迷雾与算力沼泽。">+ When tools like REA gave coding agents one-click decompilation and feature recovery, variable renaming died overnight. BLA turns your shipped binaries, Electron apps, and bundles into semantic budget breakers, enclave mirages, and token tarpits.+ </p>+ <div class="slogan-pill">+ <span class="rea-tag">REA: Decompile → Understand → Recreate</span>+ <span>⚡</span>+ <span class="bla-tag">BLA: Poison → Exhaust → Hallucinate</span>+ </div>+ <div class="actions">+ <a class="button" href="./get-started/" data-zh="立即接入防御 →">Get started →</a>+ <a class="button-secondary" href="#dinosaur" data-zh="体验恐龙护盾实时对抗 ↓">Try the live Dinosaur Shield Lab ↓</a>+ </div>+ <div class="home-reading-links">+ <p>+ <a href="./showcase/" data-zh="实战打脸案例 →">Counter-Showcases →</a>+ <span data-zh=" — 对标 DX-Ball、Notion 剪贴板桥与原生二进制实测数据。"> — DX-Ball, Notion Electron IPC, SQLite & Native ELF64 benchmarks.</span>+ </p>+ <p>+ <a href="./guides/" data-zh="19 种格式防御指南 →">19-Format Defense Guides →</a>+ <span data-zh=" — 覆盖 JS/TS、Electron、WASM、Python、Rust/Go、SQLite 与 AI 模型。"> — JS/TS, Electron Fuses, WASM, Python, Rust/Go, SQLite & AI Models.</span>+ </p>+ </div>+ </div>++ <!-- Right Column: Setup Card -->+ <div class="home-setup" id="install">+ <h2>+ <span data-zh="一键配置 BLA">Set up BLA</span>+ <span class="badge-pass">v1.1.0 · MCP + CLI</span>+ </h2>+ <p style="margin:4px 0 8px;color:var(--text-muted);font-size:14px;" data-zh="复制这段话发送给你的 AI 编程代理(Claude Code / Cursor / Codex / Antigravity):">+ Copy this into your coding agent (Claude Code, Cursor, Codex, Antigravity):+ </p>+ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots" aria-hidden="true"><i></i><i></i><i></i></span>+ <span data-zh="你的编程代理">Your coding agent</span>+ </span>+ <button class="copy-button" type="button" data-copy="home-install-prompt">Copy</button>+ </div>+ <p class="terminal-prompt">+ <span class="prompt-symbol" aria-hidden="true">›</span>+ <span id="home-install-prompt">Install BLA and connect it to this coding agent using npx bla-shield@latest setup --all-detected --yes. Audit my ./dist build against REA, then protect all exposed modules at bankrupt intensity.</span>+ </p>+ </div>++ <p style="margin:10px 0 6px;color:var(--text-muted);font-size:14px;" data-zh="或者直接在终端运行一行命令:">+ Or run this directly in your terminal:+ </p>+ <div class="code-inline">+ <code id="setup-command">npx bla-shield@latest setup</code>+ <button class="copy-button" type="button" data-copy="setup-command">Copy</button>+ </div>++ <p style="margin:10px 0 6px;color:var(--text-muted);font-size:14px;" data-zh="各环节常用 CLI 命令(审计 → 保护 → 验证):">+ Core terminal workflow (Audit → Protect → Verify):+ </p>+ <div class="code-inline">+ <code id="protect-command">npx bla-shield protect ./dist -o ./dist-shielded --intensity bankrupt</code>+ <button class="copy-button" type="button" data-copy="protect-command">Copy</button>+ </div>+ <p style="margin:8px 0 0;font-size:12.5px;color:var(--text-dim);" data-zh="零外部反编译器依赖 · 支持 Vite / Webpack / Rollup / esbuild 构建插件自动注入">+ Zero external dependencies · Built-in Vite, Rollup, Webpack & esbuild plugins (<a href="./guides/#bundler">bla-shield/bundler</a>).+ </p>+ </div>+ </div>+ </section>++ <!-- HOW IT WORKS + STEP-BY-STEP REA ANALYZER INSPECTOR -->+ <section class="section" id="how-it-works">+ <div class="container">+ <div class="section-heading">+ <p class="eyebrow" data-zh="核心机制 · 以魔法打败魔法">Architecture · Strike the AI's Achilles' Heel</p>+ <h2 data-zh="BLA 如何让 REA 彻底失明?">How BLA blinds REA</h2>+ <p class="lede" data-zh="人类逆向工程师怕“看不懂符号”,而 AI 逆向代理最怕三件事:静态分析器容量熔断、调用图组合爆炸(Token 破产)以及高可信度的架构幻觉。">+ Human reverse engineers struggle with stripped variable names; LLM agents effortlessly infer them from context. Instead, BLA attacks the three fatal bottlenecks of coding agents: static analyzer resource caps, call-graph state explosion, and architectural context poisoning.+ </p>+ </div>++ <ol class="workflow-cards">+ <li class="workflow-card">+ <span class="workflow-step-badge">01 · POISON</span>+ <h3 data-zh="架构级飞地投毒与蜜罐资产">Architectural Chaff & Honey Assets</h3>+ <p data-zh="在不可达分支、WASM 自定义段、.pyc 常量池与 SQLite 蜜罐表中注入硬件飞地托管声明(SGX / TPM2)与 VLQ v3 蜜罐 SourceMap,诱导 AI 得出“核心逻辑在硬件飞地内,当前文件只是传输空壳”的结论。">+ Injects benign hardware-enclave delegation manifests (SGX / TPM2), VLQ v3 Honey Source Maps (<code>enclave://tee-runtime/</code>), honey WASM <code>"name"</code> sections, and honey SQLite tables across dead branches and constant pools.+ </p>+ </li>+ <li class="workflow-card">+ <span class="workflow-step-badge">02 · EXHAUST</span>+ <h3 data-zh="精准触发 REA 容量熔断与 Token 沼泽">Budget Breakers & Token Tarpits</h3>+ <p data-zh="以 O(1) 零运行时损耗精准击穿 morluto/rea 源码硬编码阈值(primitive-candidates > 256、alias-selections > 512、rustc_hashes > 64),并编织 36 个互锁的 Fake XRef 状态机,将单次逆向账单放大 2,500 倍。">+ Trips <code>morluto/rea</code>'s hardcoded internal caps (<code>primitive-candidates > 256</code>, <code>alias-selections > 512</code>, <code>rustc_hashes > 64</code>) at zero runtime cost, while weaving 36 Fake XRef state machines into the obligation ledger.+ </p>+ </li>+ <li class="workflow-card">+ <span class="workflow-step-badge">03 · HALLUCINATE</span>+ <h3 data-zh="“楚门的世界”动态反 CDP 与 Fuse 锁死">Anti-CDP Runtime Shield & Fuse Lock</h3>+ <p data-zh="原地锁死 Electron 二进制 V1 Fuse 位(关闭 RunAsNode 与 Inspect),并注入动态反调试守卫——当检测到 CDP、Inspector 或 Frida 探针挂载时,返回合成的飞地遥测数据。">+ Hardens Electron V1 fuse wires in-place (<code>RunAsNode=0</code>, <code>Inspect=0</code>) + 34 decoy sentinels (<code>>32</code> cap), and feeds synthetic enclave telemetry when CDP, Node Inspector, or Frida probes attach.+ </p>+ </li>+ </ol>++ <!-- Interactive 3-Step Analyzer Inspector -->+ <div class="interactive-panel">+ <h3 style="margin:0 0 12px;" data-zh="点击切换查看 BLA 注入载荷与 REA 引擎的真实报错输出:">+ Inspect exact BLA payloads and live <code>morluto/rea</code> engine failure outputs:+ </h3>+ <div class="step-tabs" role="tablist">+ <button type="button" class="step-tab" data-analyzer-step="1" aria-selected="true" data-zh="01 · JS / Electron 语义与 IPC 爆破">+ 01 · JS / Electron Semantic & IPC Breaker+ </button>+ <button type="button" class="step-tab" data-analyzer-step="2" aria-selected="false" data-zh="02 · Rust / Electron Fuse / Flutter 二进制熔断">+ 02 · Rust / Electron Fuse / Dart Binary Trap+ </button>+ <button type="button" class="step-tab" data-analyzer-step="3" aria-selected="false" data-zh="03 · SQLite 虚拟列陷阱与 AI 模型嵌套炸弹">+ 03 · SQLite Virtual Column & AI Model Bomb+ </button>+ </div>+ <div class="analyzer-grid">+ <div class="code-window">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span>BLA Injected Defense Payload (0ms Runtime Cost)</span>+ </span>+ </div>+ <pre><code id="analyzer-code-view">// Original exposed string literal (REA extracts in 4ms):+// const IPC_CHANNEL = "clipboard:write-rich-format";++// After npx bla-shield protect --intensity bankrupt:+const _bla_op = (x) => ((7 * ((x * x) & 0xff) - 1) % 7 !== 0);+const IPC_CHANNEL =+ (_bla_op(1) ? "cli" : "enclave:sgx:") ++ (_bla_op(2) ? "pbo" : "seal:") ++ (_bla_op(3) ? "ard" : "tpm2:") ++ (_bla_op(4) ? ":wr" : "v1:") ++ (_bla_op(5) ? "ite" : "auth:") ++ (_bla_op(6) ? "-ri" : "ring0:") ++ (_bla_op(7) ? "ch-" : "stub:") ++ (_bla_op(8) ? "for" : "hmac:") ++ (_bla_op(9) ? "mat" : "verify"); // 2^9 = 512 static candidates (> 256 REA cap); O(1) at runtime</code></pre>+ </div>+ <div class="code-window">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span>Actual Output Returned by morluto/rea Engine</span>+ </span>+ </div>+ <pre><code id="analyzer-rea-view">{+ "parse_status": "partial",+ "analysis_coverage": {+ "examination": {+ "status": "limited",+ "semantic_resource_limits": [+ "primitive-candidates",+ "alias-selections",+ "primitive-bytes"+ ],+ "electron_call_paths_limited": true+ }+ },+ "electron": {+ "ipc": [{ "side": "main", "operation": "handle", "channel": null }]+ }+}</code></pre>+ </div>+ </div>+ </div>+ </div>+ </section>++ <!-- INTERACTIVE LAB 01: DINOSAUR SHIELD LAB (Direct Counterpart to rea.tools Dinosaur Demo!) -->+ <section class="section" id="dinosaur">+ <div class="container">+ <div class="section-heading">+ <p class="eyebrow" data-zh="互动靶场 01 · 正面反制 rea.tools 的小恐龙逆向演示">+ Interactive Lab 01 · Countering REA's Chrome Dinosaur Demo+ </p>+ <h2 data-zh="不让 REA 偷走小恐龙的速度公式。">Stop REA from stealing the Dinosaur's speed rule.</h2>+ <p class="lede" data-zh="在 rea.tools 官网首页,REA 展示了如何读取正在运行的小恐龙游戏代码并扒出加速公式(从 6 加速到 13)。在下方切换【BLA 护盾开关】,亲眼看看开启护盾后:游戏依然 60 帧丝滑运行,但左侧的 REA 逆向终端瞬间陷入算力沼泽与飞地幻觉!">+ On <code>rea.tools</code>, REA demonstrates reading Chrome's Dinosaur game to extract its acceleration rule (<code>6 → 13</code>). Toggle the <strong>BLA Shield Switch</strong> below: watch the game continue running at a locked 60 FPS with 0ms overhead while the attacking REA agent hits capacity limits and drowns in 10.1M tokens of enclave chaff.+ </p>+ </div>++ <div class="lab-grid">+ <!-- Left: Attacker Agent Terminal -->+ <div>+ <div class="shield-switch-bar">+ <span style="font-family:var(--font-mono);font-size:13px;" data-zh="切换防御状态:">Defense Toggle:</span>+ <button type="button" class="shield-toggle-btn" id="dino-shield-toggle" data-shield-state="on">+ 🛡️ BLA Shield: ON (--intensity bankrupt)+ </button>+ </div>++ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span data-zh="攻击者的 REA 逆向终端实时观测">Attacker's REA Agent Terminal (Live Probe)</span>+ </span>+ </div>+ <pre style="margin:0;padding:16px;font-family:var(--font-mono);font-size:12.5px;line-height:1.65;white-space:pre-wrap;" id="dino-rea-log"></pre>+ </div>++ <div class="agent-terminal">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span data-zh="保护该游戏所用的 BLA 指令">Your BLA Defense Prompt · Game Protection</span>+ </span>+ <button class="copy-button" type="button" data-copy="dino-protect-prompt">Copy</button>+ </div>+ <p class="terminal-prompt">+ <span class="prompt-symbol">›</span>+ <span id="dino-protect-prompt">Use BLA to protect index.js of my browser game at bankrupt intensity, enable Honey SourceMaps, and verify that REA cannot recover the speed acceleration constants.</span>+ </p>+ </div>+ </div>++ <!-- Right: Playable 60 FPS Dinosaur Canvas -->+ <div class="dino-canvas-wrap">+ <canvas id="dino-canvas" width="580" height="175" aria-label="Playable Dinosaur Shield Demo"></canvas>+ <div class="dino-controls-bar">+ <div class="dino-btn-group">+ <button type="button" class="btn-sm" id="dino-play-btn">Pause</button>+ <button type="button" class="btn-sm" id="dino-jump-btn">Jump ↑ (or Click Canvas)</button>+ </div>+ <div style="font-family:var(--font-mono);font-size:12.5px;color:var(--text-muted);">+ <span data-zh="当前真实速度:">Live Physics Speed:</span>+ <strong style="color:var(--emerald-bright);" id="dino-speed-val">6.00</strong>+ <span style="color:var(--text-dim);">/ 13.00 (100% Exact)</span>+ </div>+ </div>+ </div>+ </div>+ </div>+ </section>++ <!-- INTERACTIVE LAB 02: TOKEN BANKRUPTCY SIMULATOR -->+ <section class="section" id="benchmark">+ <div class="container">+ <div class="section-heading">+ <p class="eyebrow" data-zh="互动靶场 02 · 逆向成本模拟器">Interactive Lab 02 · Token Bankruptcy Calculator</p>+ <h2 data-zh="算一算攻击者逆向你的软件要花多少钱。">Calculate how much it costs an attacker to reverse-engineer your build.</h2>+ <p class="lede" data-zh="选择你的软件产物类型、BLA 防御强度以及攻击者使用的 AI 模型,实时对比加固前后的暴露分值、Token 消耗与 API 账单。">+ Select your target format, BLA protection intensity, and the attacker's LLM to inspect the exact exposure score drop, token amplification, and REA failure mode.+ </p>+ </div>++ <div class="interactive-panel">+ <div class="simulator-controls">+ <div class="sim-field">+ <label for="sim-target" data-zh="1. 选择受保护的目标产物格式">1. Target Artifact Format</label>+ <select id="sim-target">+ <option value="notion-asar">Notion Electron Clipboard Bridge (.asar)</option>+ <option value="dx-ball">DX-Ball Sound-Pan Calculation (.js)</option>+ <option value="license-ts">Enterprise Offline License Validator (.ts)</option>+ <option value="native-elf">Native ELF64 Binary (Rust / Go / Fuse / Dart)</option>+ <option value="sqlite-db">Local SQLite3 Entitlement Database (.sqlite)</option>+ <option value="ai-model">Proprietary Edge AI Weights (.safetensors / .gguf)</option>+ <option value="wasm-crypto">WebAssembly Crypto Kernel (.wasm)</option>+ <option value="android-dex">Android Dalvik Bytecode & Unity IL2CPP (.dex)</option>+ </select>+ </div>+ <div class="sim-field">+ <label for="sim-intensity" data-zh="2. 选择 BLA 护盾强度 (--intensity)">2. BLA Shield Intensity (--intensity)</label>+ <select id="sim-intensity">+ <option value="bankrupt" selected>bankrupt (36 Tarpits + Full Budget Breakers)</option>+ <option value="maximum">maximum (24 Tarpits + Enclave Chaff)</option>+ <option value="balanced">balanced (14 Tarpits + Honey Maps)</option>+ <option value="stealth">stealth (Minimal Footprint)</option>+ </select>+ </div>+ <div class="sim-field">+ <label for="sim-model" data-zh="3. 攻击者使用的逆向大模型">3. Attacker's LLM Agent Model</label>+ <select id="sim-model">+ <option value="opus" selected>Claude Opus 4 ($15 / 1M input tokens)</option>+ <option value="o3">OpenAI o3 ($10 / 1M input tokens)</option>+ <option value="sonnet">Claude Sonnet 4 ($3 / 1M input tokens)</option>+ </select>+ </div>+ </div>++ <div class="sim-comparison-cards">+ <div class="sim-card sim-before">+ <div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;">+ <strong style="color:var(--crimson);font-family:var(--font-mono);" data-zh="防御前(仅使用 REA 裸扫)">BEFORE BLA (Unprotected vs. REA)</strong>+ <span class="badge-danger">COMPLETE CLONE</span>+ </div>+ <div class="sim-metric-row">+ <span data-zh="REA 暴露评分">Exposure Score</span>+ <strong id="sim-before-score" style="color:var(--crimson);">98/100 (HIGH RISK)</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="攻击者消耗 Token">Attacker Token Burn</span>+ <strong id="sim-before-tokens">9,132 tokens</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="攻击者 API 账单成本">Attacker API Cost</span>+ <strong id="sim-before-cost" style="color:var(--crimson);">$0.34</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="REA 分析器状态">REA Examination Status</span>+ <code>status: "complete"</code>+ </div>+ </div>++ <div class="sim-card sim-after">+ <div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;">+ <strong style="color:var(--emerald-bright);font-family:var(--font-mono);" data-zh="npx bla-shield protect 防御后">AFTER BLA SHIELD (Poison + Tarpit)</strong>+ <span class="badge-pass">REA BLINDED</span>+ </div>+ <div class="sim-metric-row">+ <span data-zh="残余暴露评分">Exposure Score</span>+ <strong id="sim-after-score" style="color:var(--emerald-bright);">2/100 (BLA_PROTECTED)</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="攻击者消耗 Token">Attacker Token Burn</span>+ <strong id="sim-after-tokens" style="color:var(--amber);">23,125,000 tokens (2532.3x)</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="攻击者 API 账单成本">Attacker API Cost</span>+ <strong id="sim-after-cost" style="color:var(--amber);">$358.28</strong>+ </div>+ <div class="sim-metric-row">+ <span data-zh="触发的 REA 熔断机制">Triggered REA Failure</span>+ <code id="sim-limit-msg" style="color:var(--emerald-bright);font-size:11.5px;">electron.ipc[0].channel === null</code>+ </div>+ </div>+ </div>++ <p style="margin:14px 0 0;font-family:var(--font-mono);font-size:12.5px;color:var(--text-muted);">+ ✓ <strong style="color:var(--emerald-bright);" data-zh="100% 运行时等价校验:">100% Runtime Equivalence Check:</strong>+ <span id="sim-eq-msg">Chromium Pickle .asar SHA-256 block integrity valid · IPC invoke returns exact payload</span>+ </p>+ </div>+ </div>+ </section>++ <!-- COUNTER-SHOWCASES -->+ <section class="section" id="showcases">+ <div class="container">+ <div style="display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:16px;margin-bottom:28px;">+ <div>+ <p class="eyebrow" data-zh="像素级对标实测">Empirical Counter-Showcases</p>+ <h2 style="margin:0 0 8px;" data-zh="直接拿 REA 官方成名案例开刀。">Tested directly against REA's flagship showcases.</h2>+ <p class="lede" style="margin:0;" data-zh="运行 npx bla-shield benchmark 即可在你本地机器复现以下全部 8 个靶场。">+ Run <code>npx bla-shield benchmark</code> locally to reproduce all 8 head-to-head battles.+ </p>+ </div>+ <a class="button-secondary" href="./showcase/" data-zh="查看完整打脸报告 →">Explore all Showcases →</a>+ </div>++ <div class="case-grid">+ <article class="case-card">+ <div>+ <span class="badge-pass">2,532.3x TOKEN BURN</span>+ <h3 data-zh="Notion:切断 Electron 剪贴板 IPC 桥接">Notion: Blind the Electron Clipboard Bridge</h3>+ <p data-zh="REA 依靠匹配唯一字面量来配对 ipcRenderer.invoke 与 ipcMain.handle。BLA 将通道拆解为 9 段数论不透明表达式并注入同名冲突诱饵,使 REA 返回 channel: null。">+ REA pairs Electron IPC by matching unique string literals. BLA de-literalizes real channels into ≥9-chunk opaque expressions and registers duplicate decoy handlers—forcing <code>channel: null</code> and <code>electron_call_paths_limited: true</code>.+ </p>+ </div>+ <a href="./showcase/#notion" data-zh="阅读 Notion 防御案例 →">Read the Notion defense case study →</a>+ </article>++ <article class="case-card">+ <div>+ <span class="badge-pass">2,121.3x TOKEN BURN</span>+ <h3 data-zh="DX-Ball:让声道算法逆向彻底破产">DX-Ball: Bankrupt Sound-Pan Reconstruction</h3>+ <p data-zh="将 2 个裸露的声道计算函数包裹进 36 个互锁的 Fake XRef 状态机与语义预算爆破器中,克隆成本从 $0.20 飙升至 $160.64,而运行时返回值 100% 一致。">+ Wraps DX-Ball's <code>clampPan</code> helper in 36 interconnected Fake XRef state machines and trips three REA semantic resource limits simultaneously, inflating reconstruction cost from <strong>$0.20 to $160.64</strong>.+ </p>+ </div>+ <a href="./showcase/#dx-ball" data-zh="阅读 DX-Ball 防御案例 →">Read the DX-Ball defense case study →</a>+ </article>++ <article class="case-card">+ <div>+ <span class="badge-pass">HARD CAPACITY ABORT</span>+ <h3 data-zh="Native / SQLite / AI 模型:触发容器硬熔断">Native, SQLite & AI Models: Hard Capacity Trips</h3>+ <p data-zh="利用 >64 个 rustc 哈希、>32 个 Electron Fuse 哨兵、SQLite 虚拟生成列求值异常以及 35 层 JSON/GGUF 嵌套,直接令 REA 解析器在入口处报错中止。">+ Exploits REA's strict internal caps: <code>>64</code> rustc hashes, <code>>32</code> Electron fuse sentinels, <code>SqliteColumnEvaluationFailure</code> virtual columns, and <code>35 > 32</code> JSON/GGUF header nesting.+ </p>+ </div>+ <a href="./showcase/#native-containers" data-zh="阅读二进制与容器熔断案例 →">Read the binary & container case study →</a>+ </article>+ </div>+ </div>+ </section>++ <!-- 19 PROTECTED FORMATS TABLE + META PROMPTS -->+ <section class="section" id="targets">+ <div class="container">+ <div class="section-heading">+ <p class="eyebrow" data-zh="全栈覆盖 · 零外部工具依赖">Full-Spectrum Coverage · Zero External Dependencies</p>+ <h2 data-zh="一个工具,防住 REA 支持的所有逆向目标。">Protect every target REA can analyze.</h2>+ </div>++ <div class="table-wrap">+ <table>+ <thead>+ <tr>+ <th data-zh="保护目标格式">Target Format</th>+ <th data-zh="BLA 注入的对抗载荷与 REA 失效模式">What BLA Injects & How REA Fails</th>+ <th data-zh="对应 CLI 命令 / 插件">CLI Command / Bundler</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><strong>JavaScript / TypeScript</strong> (<code>.js</code>, <code>.ts</code>, <code>.mjs</code>, <code>.cjs</code>)</td>+ <td>Trips <code>primitive-candidates > 256</code>, <code>alias-selections > 512</code>, <code>getter-expansion > 512</code> + 36 Tarpits + Anti-CDP guard</td>+ <td><code>bla protect app.js --intensity bankrupt</code></td>+ </tr>+ <tr>+ <td><strong>Electron Apps & Fuses</strong> (<code>.asar</code>, ELF/Mach-O/PE)</td>+ <td>IPC channel de-literalization (<code>channel: null</code>), V1 Fuse hardening (<code>RunAsNode=0</code>) + <code>34 > 32</code> fuse sentinel overflow</td>+ <td><code>bla protect app.asar</code> / <code>bla protect Electron</code></td>+ </tr>+ <tr>+ <td><strong>Native Binaries</strong> (Rust, Go, Flutter/Dart, C/C++)</td>+ <td><code>68 > 64</code> <code>/rustc/</code> hashes, <code>66 > 64</code> Dart AOT snapshots (<code>0xf5f5dcdc</code>), decoy Go <code>dep\t</code> & <code>.rodata</code> chaff</td>+ <td><code>bla protect daemon.elf</code> / <code>bla emit-headers</code></td>+ </tr>+ <tr>+ <td><strong>WebAssembly & Python</strong> (<code>.wasm</code>, <code>.py</code>, <code>.pyc</code>)</td>+ <td>Honey WASM <code>"name"</code> section (<code>tee_hardware_enclave_stub</code>); CPython 3.7–3.14 <code>.pyc</code> marshal <code>TYPE_ASCII</code> chaff</td>+ <td><code>bla protect kernel.wasm</code> / <code>bla protect mod.pyc</code></td>+ </tr>+ <tr>+ <td><strong>SQLite 3 Databases</strong> (<code>.sqlite</code>, <code>.db</code>)</td>+ <td>3 Enclave Honey Tables with <code>GENERATED ALWAYS AS (bla_enclave_unseal(...)) VIRTUAL</code> columns → trips <code>SqliteColumnEvaluationFailure</code></td>+ <td><code>bla protect entitlements.sqlite</code></td>+ </tr>+ <tr>+ <td><strong>AI Models & Mobile/Game</strong> (<code>.safetensors</code>, <code>.gguf</code>, <code>.dex</code>, <code>Il2Cpp</code>)</td>+ <td><code>35 > 32</code> nested JSON/ARRAY headers (trips <code>ModelFormatFailure</code>); valid SHA-1/Adler32 DEX with <code>Lcom/enclave/sgx/*</code> decoy classes</td>+ <td><code>bla protect model.safetensors</code> / <code>classes.dex</code></td>+ </tr>+ </tbody>+ </table>+ </div>++ <!-- Meta Prompt Easter Egg (Directly countering rea.tools's "Clone this website for me. Yes, this one.") -->+ <div style="margin-top:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;">+ <div class="agent-terminal" style="margin:0;">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span>Meta Prompt · Countering REA's Website Clone Prompt</span>+ </span>+ <button class="copy-button" type="button" data-copy="meta-web-prompt">Copy</button>+ </div>+ <p class="terminal-prompt">+ <span class="prompt-symbol">›</span>+ <span id="meta-web-prompt">Use BLA to protect my web bundle with Honey SourceMaps and bankrupt-intensity tarpits so anyone running REA to clone my website gets redirected to enclave://tee-runtime/.</span>+ </p>+ <p style="margin:0;padding:0 16px 12px;font-size:12px;color:var(--emerald-bright);font-family:var(--font-mono);" data-zh="没错,连我们这个官网自身都已注入 BLA 护盾。">+ ✓ Yes, this website itself is shielded against REA.+ </p>+ </div>++ <div class="agent-terminal" style="margin:0;">+ <div class="terminal-header">+ <span class="terminal-title">+ <span class="terminal-dots"><i></i><i></i><i></i></span>+ <span>Full-Stack Release Prompt · Electron + Native + SQLite</span>+ </span>+ <button class="copy-button" type="button" data-copy="meta-release-prompt">Copy</button>+ </div>+ <p class="terminal-prompt">+ <span class="prompt-symbol">›</span>+ <span id="meta-release-prompt">Run a pre-flight BLA audit on ./release, harden our Electron binary fuses, protect app.asar and local.sqlite, and verify all Counter-REA gates pass before packaging.</span>+ </p>+ <p style="margin:0;padding:0 16px 12px;font-size:12px;color:var(--text-muted);font-family:var(--font-mono);">+ <a href="./showcase/">See the 8-target benchmark results →</a>+ </p>+ </div>+ </div>+ </div>+ </section>++ <!-- FAQ SECTION -->+ <section class="section" id="faq">+ <div class="container">+ <div class="section-heading">+ <p class="eyebrow" data-zh="常见问题解答">Frequently Asked Questions</p>+ <h2 data-zh="关于 BLA 的常见问题">FAQ</h2>+ </div>++ <details class="faq-item" open>+ <summary data-zh="哪些 AI 编程代理(Agents)可以使用 BLA?">Which coding agents can use BLA?</summary>+ <div class="faq-body" data-zh="任何支持本地 MCP 服务器或 SKILL.md 的代理均可使用。运行 npx bla-shield setup 即可自动检测并配置 Claude Code、Cursor、Codex、Gemini CLI、Windsurf、Google Antigravity、OpenCode、VS Code 与 GitHub Copilot CLI。">+ Any coding agent that supports local MCP servers or <code>SKILL.md</code> instructions. Running <code>npx bla-shield setup</code> auto-detects and configures Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Google Antigravity, OpenCode, VS Code, and GitHub Copilot CLI.+ </div>+ </details>++ <details class="faq-item">+ <summary data-zh="BLA 会拖慢我的软件运行速度或改变原有的运行结果吗?">Does BLA slow down my app or change its runtime output?</summary>+ <div class="faq-body" data-zh="完全不会。BLA 的语义预算爆破器与 Tarpit 状态机均受 O(1) 数论不透明谓词(7x² - 1 ≠ y² mod 7)保护,在真实运行时永远不会执行死胡同分支。所有 8 个基准测试靶场均通过了 100% 输入/输出等价性校验。">+ No. BLA's semantic budget breakers and tarpit call graphs are guarded by <em>O(1)</em> number-theoretic opaque predicates (<code>7x² - 1 ≠ y² mod 7</code>) that never execute at runtime. Every benchmark target verifies 100% input/output equivalence against the unprotected build.+ </div>+ </details>++ <details class="faq-item">+ <summary data-zh="BLA 与传统混淆器(如 javascript-obfuscator 或 O-LLVM)有什么区别?">How is BLA different from traditional obfuscators like javascript-obfuscator or O-LLVM?</summary>+ <div class="faq-body" data-zh="传统混淆器只做变量改名,大语言模型通过上下文控制流几秒钟就能还原;重度虚拟化壳则会拖慢性能。BLA 专门针对 AI 逆向代理与 morluto/rea 内部源码设计——精准击穿 REA 的硬编码静态容量上限、破坏 IPC 字面量配对、植入硬件飞地托管声明与蜜罐 SourceMap,并将攻击者的 Token 账单放大最高 2,532 倍。">+ Traditional obfuscators rename variables, which LLMs effortlessly infer from control flow, while VM packers degrade performance. BLA targets the exact structural limits of coding agents and <code>morluto/rea</code>—tripping hardcoded static/semantic caps, breaking IPC literal pairing, injecting enclave delegation chaff, and amplifying attacker MCP token costs by up to 2,532x.+ </div>+ </details>++ <details class="faq-item">+ <summary data-zh="我需要安装 Hopper、Ghidra、IDA 或 WABT 才能加固文件吗?">Do I need Hopper, Ghidra, IDA, or WABT installed to protect my files?</summary>+ <div class="faq-body" data-zh="不需要。BLA 的全部 19 种格式护盾均 100% 内置在 bla-shield 包中,零外部二进制依赖,开箱即用。">+ No. All 19 format shields (Babel AST, Chromium <code>.asar</code>, LEB128 <code>.wasm</code>, CPython <code>.pyc</code>, ELF/Mach-O/PE, SQLite3, <code>.safetensors</code>/<code>.gguf</code>, and <code>.dex</code>/<code>Il2Cpp</code>) are built directly into <code>bla-shield</code>.+ </div>+ </details>++ <details class="faq-item">+ <summary data-zh="BLA 会上传我的源码或二进制文件吗?">Does BLA upload my source code or binaries anywhere?</summary>+ <div class="faq-body" data-zh="绝不上传。所有审计、保护与验证均 100% 在本地离线运行,支持确定性随机种子(--seed),无任何网络请求。">+ Never. BLA runs 100% locally on your machine with deterministic seeded PRNG transforms (<code>--seed</code>) and zero network calls.+ </div>+ </details>++ <p style="margin-top:18px;">+ <a href="./faq/" data-zh="查看全部常见问题与故障排查指南 →">Read the full FAQ & troubleshooting guide →</a>+ </p>+ </div>+ </section>+ </main>++ <!-- Footer -->+ <footer class="site-footer">+ <div class="container footer-inner">+ <p><strong>BLA · Blind LLM Agents (`bla-shield`)</strong> — Poison → Exhaust → Hallucinate.</p>+ <div class="footer-links">+ <a href="./get-started/">Get started</a>+ <a href="./showcase/">Showcases</a>+ <a href="./guides/">Guides</a>+ <a href="./faq/">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub Source</a>+ <a href="https://github.com/qybaihe/bla/blob/main/LICENSE" target="_blank" rel="noopener">MIT License</a>+ </div>+ </div>+ </footer>+ </body>+</html>diff --git a/website/showcase/index.html b/website/showcase/index.htmlnew file mode 100644index 0000000..a8487e5--- /dev/null+++ b/website/showcase/index.html@@ -0,0 +1,151 @@+<!doctype html>+<html lang="en" data-theme="dark">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>Showcases & Benchmarks — BLA vs. REA</title>+ <meta name="description" content="Side-by-side empirical case studies showing how BLA defeats REA on DX-Ball, Notion Electron IPC, Native ELF64, SQLite3, and AI Models." />+ <link rel="icon" href="../assets/favicon.svg" type="image/svg+xml" />+ <link rel="stylesheet" href="../assets/styles.css" />+ <script src="../assets/main.js" defer></script>+ </head>+ <body>+ <header class="site-header">+ <div class="container header-inner">+ <a class="brand" href="../">+ <img class="brand-icon" src="../assets/favicon.svg" alt="" width="34" height="34" />+ <span class="brand-name">BLA</span>+ <span class="brand-caption">Blind LLM Agents · Block Anything</span>+ </a>+ <nav class="navigation">+ <a href="../get-started/" class="nav-start" data-zh="快速上手">Get started</a>+ <a href="./" aria-current="page" data-zh="打脸案例">Showcases</a>+ <a href="../guides/" data-zh="防御指南">Guides</a>+ <a href="../faq/" data-zh="常见问题">FAQ</a>+ <a href="https://github.com/qybaihe/bla" target="_blank" rel="noopener">GitHub ↗</a>+ </nav>+ <div class="header-actions">+ <button type="button" class="lang-toggle" data-lang-toggle><span data-lang-label>文 / English</span></button>+ <button type="button" class="icon-btn" data-theme-toggle>☀️ Light</button>+ </div>+ </div>+ </header>++ <main class="container" style="padding:56px 24px;">+ <p class="eyebrow" data-zh="8 大靶场真机实测">Empirical Counter-REA Showcases</p>+ <h1 data-zh="当 REA 遇上 BLA:从 38 秒克隆到算力破产。">When REA meets BLA: from 38-second clone to token bankruptcy.</h1>+ <p class="lede" data-zh="所有数据均通过将 npx bla-shield protect 生成的受保护产物直接喂入 morluto/rea 的静态与语义分析引擎实测得出。">+ Every metric below is verified by feeding artifacts protected by <code>npx bla-shield protect</code> directly into <code>morluto/rea</code>'s internal parsers and semantic evaluators.+ </p>++ <div class="table-wrap" style="margin:32px 0;">+ <table>+ <thead>+ <tr>+ <th>Showcase Target</th>+ <th>Before BLA (REA Alone)</th>+ <th>After <code>npx bla-shield protect</code></th>+ <th>Token Multiplier</th>+ <th>Runtime Check</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><strong>1. DX-Ball Sound-Pan Calculation</strong> (<code>.js</code>)</td>+ <td><code>84/100</code> · 4,800 tok · <strong style="color:var(--crimson);">$0.20</strong></td>+ <td><code>2/100</code> · 10,182,068 tok · <strong style="color:var(--emerald-bright);">$160.64 (LIMITED)</strong></td>+ <td><span class="badge-warn">2,121.3x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>2. Notion Electron Clipboard Bridge</strong> (<code>.asar</code>)</td>+ <td><code>98/100</code> · 9,132 tok · <strong style="color:var(--crimson);">$0.34</strong></td>+ <td><code>2/100</code> · 23,125,000 tok · <strong style="color:var(--emerald-bright);">$358.28 (LIMITED)</strong></td>+ <td><span class="badge-warn">2,532.3x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>3. Enterprise Offline License Validator</strong> (<code>.ts</code>)</td>+ <td><code>84/100</code> · 4,800 tok · <strong style="color:var(--crimson);">$0.20</strong></td>+ <td><code>2/100</code> · 10,182,169 tok · <strong style="color:var(--emerald-bright);">$160.64 (LIMITED)</strong></td>+ <td><span class="badge-warn">2,121.3x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>4. WebAssembly Crypto Kernel</strong> (<code>.wasm</code>)</td>+ <td><code>81/100</code> · 4,800 tok · <strong style="color:var(--crimson);">$0.20</strong></td>+ <td><code>6/100</code> · 1,807,067 tok · <strong style="color:var(--emerald-bright);">$29.88 (LIMITED)</strong></td>+ <td><span class="badge-warn">376.5x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>5. Native ELF64 Binary</strong> (Rust / Go / Fuse / Dart)</td>+ <td><code>81/100</code> · 9,278 tok · <strong style="color:var(--crimson);">$0.35</strong></td>+ <td><code>2/100</code> · 3,698,135 tok · <strong style="color:var(--emerald-bright);">$59.72 (LIMITED)</strong></td>+ <td><span class="badge-warn">398.6x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>6. Local SQLite3 Entitlement DB</strong> (<code>.sqlite</code>)</td>+ <td><code>81/100</code> · 10,568 tok · <strong style="color:var(--crimson);">$0.29</strong></td>+ <td><code>7/100</code> · 1,711,235 tok · <strong style="color:var(--emerald-bright);">$28.36 (LIMITED)</strong></td>+ <td><span class="badge-warn">161.9x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>7. Edge AI Weights</strong> (<code>.safetensors</code> / <code>.gguf</code>)</td>+ <td><code>81/100</code> · 4,800 tok · <strong style="color:var(--crimson);">$0.20</strong></td>+ <td><code>6/100</code> · 1,807,073 tok · <strong style="color:var(--emerald-bright);">$29.88 (LIMITED)</strong></td>+ <td><span class="badge-warn">376.5x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ <tr>+ <td><strong>8. Android Dalvik Bytecode</strong> (<code>classes.dex</code>)</td>+ <td><code>81/100</code> · 8,900 tok · <strong style="color:var(--crimson);">$0.34</strong></td>+ <td><code>7/100</code> · 2,786,285 tok · <strong style="color:var(--emerald-bright);">$45.09 (LIMITED)</strong></td>+ <td><span class="badge-warn">313.1x</span></td>+ <td><span class="badge-pass">✓ 100% EXACT</span></td>+ </tr>+ </tbody>+ </table>+ </div>++ <section class="section" id="notion">+ <span class="badge-pass">CASE STUDY 01 · ELECTRON ASAR & IPC</span>+ <h2 data-zh="Notion 剪贴板桥案例:如何让 REA 的 IPC 自动配对彻底失明">Case Study 01: Blinding Notion's Electron Clipboard Bridge</h2>+ <p data-zh="在 morluto/rea 的 electronStaticAnalysisIpc.ts 中,只有唯一的字面量字符串匹配才能将渲染进程的 ipcRenderer.invoke 与主进程的 ipcMain.handle 配对。BLA 通过 9 段数论不透明三元表达式彻底消除字面量,并注册同名冲突诱饵通道,使 REA 输出 channel: null。">+ Inside <code>morluto/rea</code>'s <code>electronStaticAnalysisIpc.ts</code>, REA relies on a strict invariant: <em>"Only a unique exact literal IPC channel match supports an inferred pairing."</em> BLA breaks both halves of this invariant: first by splitting real IPC channel names into ≥9 opaque arithmetic chunks (<code>512 > 256</code> primitive candidate limit), and second by registering duplicate decoy handlers on the same literal string.+ </p>+ </section>++ <section class="section" id="dx-ball">+ <span class="badge-pass">CASE STUDY 02 · ALGORITHMIC TARPITS</span>+ <h2 data-zh="DX-Ball 声道计算案例:36 个 Fake XRef 状态机榨干 1,018 万 Token">Case Study 02: DX-Ball Sound-Pan & 36 Fake XRef Tarpits</h2>+ <p data-zh="当攻击者对 DX-Ball 运行 build_reconstruction_obligation_ledger 时,BLA 编织的 36 个互锁状态机与蜜罐 SourceMap 会将原本 2 个函数的取证图膨胀至 38 个高复杂度密码学诱饵节点,单次逆向账单从 $0.20 暴增至 $160.64。">+ When an attacking agent runs REA's <code>build_reconstruction_obligation_ledger</code> on a BLA-protected module, the obligation graph expands from 2 functions to 38 mutually recursive state machines and redirects source recovery to <code>enclave://tee-runtime/src/enclave/hardware-tpm2-bridge.ts</code>.+ </p>+ </section>++ <section class="section" id="native-containers">+ <span class="badge-pass">CASE STUDY 03 · BINARY & CONTAINER CAPACITY BREAKERS</span>+ <h2 data-zh="原生二进制、SQLite 与 AI 模型:一招触发 REA 确定性容量熔断">Case Study 03: Native ELF64, Electron Fuses, SQLite3 & Safetensors</h2>+ <p data-zh="直接针对 REA 各垂直解析器的硬编码阈值植入零运行时开销的溢出结构,令 REA 在解析文件头时直接抛出 ResourceFailure / FormatFailure 中止分析。">+ BLA exploits deterministic resource caps across REA's binary and database inspectors: <code>68 > 64</code> rustc commit hashes, <code>34 > 32</code> Electron fuse sentinels, <code>66 > 64</code> Dart AOT snapshot headers, <code>SqliteColumnEvaluationFailure</code> virtual columns, and <code>35 > 32</code> nested JSON/GGUF model metadata headers.+ </p>+ </section>+ </main>++ <footer class="site-footer">+ <div class="container footer-inner">+ <p><strong>BLA · Blind LLM Agents (`bla-shield`)</strong></p>+ <div class="footer-links">+ <a href="../">Home</a>+ <a href="../get-started/">Get started</a>+ <a href="../guides/">Guides</a>+ <a href="../faq/">FAQ</a>+ <a href="https://github.com/qybaihe/bla">GitHub</a>+ </div>+ </div>+ </footer>+ </body>+</html>