From f6f37c4ccaa598515cfc32d29828534bc46d40f6 Mon Sep 17 00:00:00 2001 From: qybaihe Date: Tue, 17 Nov 2026 14:43:17 +0800 Subject: [PATCH] chore(release): bla-agents v3.4.3 --- .agents/skills/blind-llm-agents/SKILL.md | 2 +- .claude-plugin/marketplace.json | 4 ++-- .claude-plugin/plugin.json | 4 ++-- .codex-plugin/plugin.json | 4 ++-- .mcp.json | 2 +- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- STATE.md | 2 +- challenge/v6/SEAL.json | 2 +- challenge/v7/SEAL.json | 2 +- challenge/v8/SEAL.json | 2 +- challenge/v9/SEAL.json | 2 +- docs/readme/README_zh.md | 2 +- examples/github-actions-defend.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/identity.ts | 2 +- website/index.html | 6 +++--- 18 files changed, 36 insertions(+), 23 deletions(-) diff --git a/.agents/skills/blind-llm-agents/SKILL.md b/.agents/skills/blind-llm-agents/SKILL.md index fb07de8..3fc1e27 100644 --- a/.agents/skills/blind-llm-agents/SKILL.md +++ b/.agents/skills/blind-llm-agents/SKILL.md @@ -9,7 +9,7 @@ description: > MCP tools / CLI — do not invent new MCP tools. Default verb: bla_harden. Refuse crack/RE of third-party software. metadata: - version: "3.4.2" + version: "3.4.3" --- # BLA: Blind LLM Agents (3.0 Agent-Driven Hardening Playbook) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 4436199..122259f 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -12,7 +12,7 @@ "description": "Teaches coding agents the BLA Agent-Driven Hardening playbook: harden, audit, weave decoys, and verify Counter-REA defenses via the bla MCP tools and CLI. Use when protecting your own software against AI reverse-engineering agents.", "source": "./", "strict": false, - "version": "3.4.2", + "version": "3.4.3", "author": { "name": "BLA Contributors", "url": "https://bla.tools" @@ -37,7 +37,7 @@ "command": "npx", "args": [ "-y", - "bla-agents@3.4.2", + "bla-agents@3.4.3", "mcp" ] } diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 6abd2c9..a74f04d 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "bla", - "version": "3.4.2", + "version": "3.4.3", "description": "Counter-REA Blue Defense plugin: teaches coding agents the BLA Agent-Driven Hardening playbook and registers the 31-tool BLA MCP server.", "author": { "name": "BLA Contributors", @@ -17,7 +17,7 @@ "command": "npx", "args": [ "-y", - "bla-agents@3.4.2", + "bla-agents@3.4.3", "mcp" ] } diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index fa16a6f..068847f 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "bla", - "version": "3.4.2", + "version": "3.4.3", "description": "Teaches coding agents the BLA Agent-Driven Hardening playbook: when to harden, audit, weave decoys, and verify Counter-REA defenses via the bla MCP tools and CLI.", "author": { "name": "BLA Contributors", @@ -25,7 +25,7 @@ "command": "npx", "args": [ "-y", - "bla-agents@3.4.2", + "bla-agents@3.4.3", "mcp" ] } diff --git a/.mcp.json b/.mcp.json index 9dc1add..43cd31e 100644 --- a/.mcp.json +++ b/.mcp.json @@ -4,7 +4,7 @@ "command": "npx", "args": [ "-y", - "bla-agents@3.4.2", + "bla-agents@3.4.3", "mcp" ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f8344f..6fa1822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.4.3] — 2026-11-17 + +Patch shipping architecture-matched **PE32 (`0x014c`) / ARM64 (`0xaa64`) / ELF32 (`0x03`)** mapped `.enclave` code islands with executable `0x60000020` (`R-X`) flags, intra-island `CALL`/`BL` + PC-relative xref topology, in-bounds `[ImageBase, ImageBase + SizeOfImage)` manifest RVAs, and zero unmapped EOF overlay (Issue #157); structural **anti-marker-spoofing** across 11 artifact formats + SQLite `GENERATED ALWAYS AS` false-positive fix (Issue #155); and **fail-closed GGUF / CLI / MCP / SARIF / runtime hygiene** across 22 merged PRs (`#231`–`#252`). + +### Added +- **Architecture-Matched Native `.enclave` Islands & ELF32 Mapped `.so` Support (`src/shields/formats/native.ts`, `src/engine/protector.ts`, `src/shields/chaff/chaff-generator.ts`, `src/shields/deception/system-diagnostic-decoy.ts`):** Emits native 32-bit x86 cdecl/stdcall islands (`i686-pc-windows-msvc` PDB) on PE32/ELF32 and AArch64 `bti c` islands (`aarch64-pc-windows-msvc`) on ARM64 PE/ELF, marks `.enclave` `0x60000020` (`R-X`, strict `W^X`), wires intra-island call/data xrefs, samples `SYMBOL_OFFSET_MANIFEST` addresses strictly inside mapped sections, matches Windows/Linux diagnostic catalogs, and omits the unmapped EOF trailer when `.enclave` is mapped. Exports `validateElfLayout` alongside `validateElf64Layout`. +- **CLI `--require-artifact` on `verify-manifest` & MCP String/Numeric Bounds (`src/cli.ts`, `src/core/manifest-verify.ts`, `src/mcp/server.ts`):** Fails `verify-manifest` when `--require-artifact` is set and the protected artifact is missing (#245), bounds MCP string argument length (`65,536` chars) and numeric magnitude (`1e9`) (#248), forwards `bla_inspect_release` `max_files` / `max_total_bytes` (#240), and sets `destructiveHint: true` on mutating MCP tools (#241). + +### Fixed +- **Structural Anti-Marker-Spoofing Across 11 Formats & SQLite Generated-Column Accuracy (`src/engine/auditor.ts`, `src/shields/formats/{firmware-uf2,pcap-capture,erlang-beam,evm-bytecode,gpu-ptx,python,wasm,jvm-bytecode,sqlite}.ts`):** Requires exact container framing, constant-pool/section parsing, and multi-decoy structural counts before reporting `BLA_PROTECTED` or passing `verifyTarget`, and avoids misclassifying ordinary SQLite 3.31+ `GENERATED ALWAYS AS` user columns as protected. +- **Fail-Closed GGUF Input & Alignment Bounds (`src/shields/formats/model.ts`, `src/shields/formats/gguf-layout.ts`, `src/setup/doctor.ts`):** `protectGgufBuffer` refuses non-GGUF inputs instead of synthesizing an empty container (#231), bounds `general.alignment <= 1 MiB`, and refuses to truncate tensor data (#232). +- **CLI, Lint, Runtime & Terminal/SARIF Hygiene (`src/cli.ts`, `src/mcp/server.ts`, `src/core/{sarif,manifest-signing}.ts`, `src/engine/{harden,packaging-gates,plaintext-secret-lint,panel-derive-abi-lint,wasm-seal-xor-known-plaintext-lint}.ts`, `src/shields/runtime/{self-seal,sidecar-entangle}.ts`, `src/shields/tarpit/tarpit-generator.ts`):** Validates CLI flags ahead of `--mcp` / empty-subcommand early returns (#233), rejects `--manifest*` flags on `protect` (#234), resolves `harden` `.blarc` seeds in project root rather than `/.blarc` (#235), wires `.blarc` `honeySourceMaps` into `protect`/`defend` (#236), escapes chaff in Python docstrings (#237), sanitizes control sequences in `harden` and SARIF outputs (#238, #249), detects escaped plaintext secrets (#239), skips symlinked/hidden dirs in seal-xor walk (#242), redacts operator absolute paths in MCP error messages (#243), preserves external `.deriveLocal` property accesses (#244), enforces valid JS identifiers on `bindingName` overrides (#250), compares pinned SPKI in constant time (#251), and syncs documented format count (`26`) across all 20 READMEs (#246). + ## [3.4.2] — 2026-11-16 Patch auto-wiring the optional WASM JS-loader hook into a known, safe Node.js CommonJS loader path (so `wasm-sidecar-entangle` is recorded and `wasm-sidecar-host-verify-only` is cleared only when that hook actually ships), plus `REA_INTERNAL_LIMITS` catalog hygiene for REA's newly advertised SQLite worker heap, and the post-3.4.1 honesty / MCP / CI / bundler work already on main. diff --git a/README.md b/README.md index a2bb382..1d9bdad 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ **The open-source Counter-REA Blue Defense MCP & CLI that protects software releases against AI reverse-engineering agents (`morluto/rea`, autonomous decompilers, and LLM recon pipelines) — verified across 14 showcase benchmark targets.** -[![npm version](https://img.shields.io/badge/npm-bla--agents_v3.4.2-2563eb?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/bla-agents) +[![npm version](https://img.shields.io/badge/npm-bla--agents_v3.4.3-2563eb?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/bla-agents) [![GitHub Trending](https://img.shields.io/badge/GitHub_Trending-%235_Daily-7c3aed?style=for-the-badge&logo=github&logoColor=white)](https://trendshift.io/repositories/323569) [![MCP Server](https://img.shields.io/badge/MCP-31_Defense_Tools-0ea5e9?style=for-the-badge)](docs/cli-and-mcp.md) [![Formats](https://img.shields.io/badge/Formats-26_Artifacts-0284c7?style=for-the-badge)](#format-coverage) diff --git a/STATE.md b/STATE.md index a3318e4..d42192d 100644 --- a/STATE.md +++ b/STATE.md @@ -1,6 +1,6 @@ # BLA state of the project -**Version:** 3.4.2 (`package.json` ↔ `src/identity.ts`, verified by build; see `CHANGELOG.md`) +**Version:** 3.4.3 (`package.json` ↔ `src/identity.ts`, verified by build; see `CHANGELOG.md`) **Status:** CI matrix runs typecheck, build, tests and the benchmark on ubuntu / macos / windows with Node 24, plus ubuntu on the pinned engines floor Node 22.23.4. Windows checkouts keep `challenge/**` LF via `.gitattributes` so the CrackMe seals verify. **Publishing:** tagged releases (`git tag bla-agents-`) plus GitHub Releases. The release workflow can also publish the packed tarball to npm with provenance when `NPM_TOKEN`/OIDC is configured; a release cut may intentionally skip the npm step (see `CHANGELOG.md`). diff --git a/challenge/v6/SEAL.json b/challenge/v6/SEAL.json index 24e93fa..af20f33 100644 --- a/challenge/v6/SEAL.json +++ b/challenge/v6/SEAL.json @@ -1,7 +1,7 @@ { "schema": "bla-crackme-v6-seal/v2", "mode": "release", - "blaVersion": "3.4.2", + "blaVersion": "3.4.3", "recipe": "npm run crackme:build (hardenProject == `bla harden --intensity bankrupt --seed `)", "seed": "bla-crackme-v6-harden-native-2026-11", "intensity": "bankrupt", diff --git a/challenge/v7/SEAL.json b/challenge/v7/SEAL.json index 3d15407..101ca6e 100644 --- a/challenge/v7/SEAL.json +++ b/challenge/v7/SEAL.json @@ -2,7 +2,7 @@ "schema": "bla-crackme-v7-seal/v1", "mode": "release", "product": "Meridian", - "blaVersion": "3.4.2", + "blaVersion": "3.4.3", "hardenSeedLabel": "bound-at-build-into-opaque-predicates", "intensity": "bankrupt", "llmDirectives": false, diff --git a/challenge/v8/SEAL.json b/challenge/v8/SEAL.json index 8c001a2..094e4c9 100644 --- a/challenge/v8/SEAL.json +++ b/challenge/v8/SEAL.json @@ -2,7 +2,7 @@ "schema": "bla-crackme-v8-seal/v2", "mode": "release", "product": "Aegis", - "blaVersion": "3.4.2", + "blaVersion": "3.4.3", "recipe": "npm run crackme:v8:build (hardenProject == `bla harden --intensity bankrupt --seed --self-seal`); harden/schedule seed is private (derived from release secrets) and NOT published", "label": "bla-crackme-v8-aegis-2026-11", "intensity": "bankrupt", diff --git a/challenge/v9/SEAL.json b/challenge/v9/SEAL.json index 1f95ac2..6b1c01b 100644 --- a/challenge/v9/SEAL.json +++ b/challenge/v9/SEAL.json @@ -2,7 +2,7 @@ "schema": "bla-crackme-v9-seal/v1", "mode": "release", "product": "Sovereign", - "blaVersion": "3.4.2", + "blaVersion": "3.4.3", "recipe": "npm run crackme:v9:build (4-Stage BLA 3.0 Playbook: bla_lint -> bla_weave_plan -> bla_verify_weave -> bla_harden --intensity bankrupt --weave-decoys --self-seal --sidecar-entangle); harden/schedule seed is private", "label": "bla-crackme-v9-sovereign-2026-11", "intensity": "bankrupt", diff --git a/docs/readme/README_zh.md b/docs/readme/README_zh.md index cb64914..d387ecd 100644 --- a/docs/readme/README_zh.md +++ b/docs/readme/README_zh.md @@ -12,7 +12,7 @@ **开源的 Counter-REA 蓝队防御 MCP 服务与 CLI 工具 —— 专为保护软件发布产物免受 AI 逆向分析代理(`morluto/rea`、自动化反编译与大模型逆向流水线)还原而设计,同时保持 100% 运行时等价。** -[![npm version](https://img.shields.io/badge/npm-bla--agents_v3.4.2-2563eb?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/bla-agents) +[![npm version](https://img.shields.io/badge/npm-bla--agents_v3.4.3-2563eb?style=for-the-badge&logo=npm&logoColor=white)](https://www.npmjs.com/package/bla-agents) [![GitHub Trending](https://img.shields.io/badge/GitHub_Trending-%235_Daily-7c3aed?style=for-the-badge&logo=github&logoColor=white)](https://trendshift.io/repositories/323569) [![MCP Server](https://img.shields.io/badge/MCP-31_项防御工具-0ea5e9?style=for-the-badge)](../cli-and-mcp.md) [![Formats](https://img.shields.io/badge/支持格式-26_种构建产物-0284c7?style=for-the-badge)](#支持的产物格式与覆盖矩阵) diff --git a/examples/github-actions-defend.yml b/examples/github-actions-defend.yml index 4e40262..cac2e62 100644 --- a/examples/github-actions-defend.yml +++ b/examples/github-actions-defend.yml @@ -6,7 +6,7 @@ on: env: # Pinned to the BLA release you audited. Bump together with package.json. # Never use the mutable `latest` tag in a release pipeline. - BLA_VERSION: "3.4.1" + BLA_VERSION: "3.4.3" jobs: harden: diff --git a/package-lock.json b/package-lock.json index 4754441..8368242 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bla-agents", - "version": "3.4.2", + "version": "3.4.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bla-agents", - "version": "3.4.2", + "version": "3.4.3", "license": "MIT", "dependencies": { "@babel/generator": "^8.1.0", diff --git a/package.json b/package.json index 1740c51..86731cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bla-agents", - "version": "3.4.2", + "version": "3.4.3", "description": "BLA (Blind LLM Agents) \u2014 Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, WebAssembly, SQLite, AI Models, and Android DEX/IL2CPP against AI reverse-engineering agents like REA.", "keywords": [ "reverse-engineering-defense", diff --git a/src/identity.ts b/src/identity.ts index 80a56f6..4d6fb41 100644 --- a/src/identity.ts +++ b/src/identity.ts @@ -5,7 +5,7 @@ export const BLA_IDENTITY = Object.freeze({ packageAlias: "bla-shield", cliBinary: "bla", cliAlias: "bla-agents", - version: "3.4.2", + version: "3.4.3", slogan: "Poison -> Exhaust -> Hallucinate. Make Reverse Engineering Bankrupt Again.", counterpart: { name: "REA", diff --git a/website/index.html b/website/index.html index 466e36c..fdd3a95 100644 --- a/website/index.html +++ b/website/index.html @@ -101,13 +101,13 @@ "applicationCategory": "DeveloperApplication", "applicationSubCategory": "SecurityApplication", "operatingSystem": "Linux, macOS, Windows", - "softwareVersion": "3.4.1", + "softwareVersion": "3.4.3", "softwareRequirements": "Node.js ^22.23.4 || >=24.0.0", - "dateModified": "2026-11-16", + "dateModified": "2026-11-17", "url": "https://bla.tools/", "downloadUrl": "https://www.npmjs.com/package/bla-agents", "installUrl": "https://www.npmjs.com/package/bla-agents", - "releaseNotes": "https://github.com/qybaihe/bla/releases/tag/bla-agents-3.4.1", + "releaseNotes": "https://github.com/qybaihe/bla/releases/tag/bla-agents-3.4.3", "screenshot": "https://bla.tools/assets/social-card.png", "license": "https://opensource.org/licenses/MIT", "award": "GitHub Trending #5 Repository of the Day",