跳到正文

正在自动登录…

← 返回项目列表

qybaihe/bla

软件防护

BLA 是一款防御性工具,用于保护开发者自己的软件(如二进制文件、Electron 应用、JS 包、Python 和 WebAssembly)免受 AI 逆向工程代理(REA)的攻击,通过投毒、耗尽和幻觉机制使逆向分析失效,同时保持运行时行为不变。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/29 23:11:52 · 查看原文

值得看TypeScript应用与服务
累计 Stars
518
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/29 23:11:52

使用方式

通过命令行使用,如 `npx bla-agents harden .` 或 `bla harden .`,也可通过 MCP 或编码代理调用。

查看 README 依据
[Quick start](#quick-start) · [Empirical results](#empirical-results-vs-real-rea) · [Format coverage](#format-coverage) · [Benchmark](#benchmark-14-targets-internal-estimates) · [FAQ](#faq) ```bash bla harden . # or tell your agent: "Harden my software against REA" ``` </div> > [!IMPORTANT] > BLA is a **defensive** tool for protecting **your own** software. See [DISCLAIMER.md](DISCLAIMER.md). > Get BLA from [qybaihe/bla](https://github.com/qybaihe/bla) or [npm `bla-agents`](https://www.npmjs.com/package/bla-agents). <div align="center">
| **Hallucinate** | Leave the analyzer with truncated inventories, redaction failures, and ambiguous rabbit holes — while **runtime stays equivalent**. | One sentence covers the common case (auto-discovers `dist/` / `build/` / `.asar` / `.wasm` / `.sqlite` / models / … and runs audit → protect → verify): ```bash npx bla-agents harden . # MCP / agent: bla_harden · "Harden my software against REA" ``` Same pipeline as `bla defend` / `bla_defend` when you already know the path; `harden` is the default one-command UX. ## Quick start ```bash
部署要求

需要 Node.js ^22.23.4 或 24.x,可选安装 Wabt 和 tshark 以进行完整的红队测试。

查看 README 依据
# Node.js ^22.23.4 or 24.x recommended (REA red-team needs zlib.zstd on 22.23+) npx bla-agents setup # register MCP + skill with your coding agent npx bla-agents harden . # one-command Counter-REA pass on the current project npx bla-agents benchmark # 14-target showcase (local estimates + runtime checks) ``` Ask your agent after setup: ```text Harden my software against REA ``` Or run stages explicitly: `audit` · `protect` · `verify` · `defend` — see [CLI and MCP](docs/cli-and-mcp.md). --- ## Empirical results vs real REA
Recorded under **Node v24.22.1** with optional **Wabt 1.0.42** + **tshark 4.4** when noted. Soft-skips keep Node 22 / CI green when tooling is absent. | Format | Before → after | REA outcome after BLA | Budget / error | | --- | ---: | --- | --- | | **Go buildinfo** | 50 KiB → 1.16 MiB | capacity error | `MAX_BUILD_INFO_BYTES` (1 MiB) — *Go build-info string length exceeds the 1 MiB limit* | | **Erlang BEAM** | 84 B → 262 KiB | capacity error | `max_chunks` — *BEAM form exceeds the 64-chunk budget* |
已知限制

作者明确说明:APK 重新签名不受支持;某些原生工具(如 Ghidra、Frida、LLDB)未在此环境中验证;固件、SPIR-V、CUDA fatbinary 和 AMD GPU 对象未进行端到端测试。

查看 README 依据
### Designed-for but **not** empirically verified here These shields exist in-tree and are covered by unit tests / catalog drift checks, but the matching REA path needs **native tooling we did not run** on this box: | Area | Why unverified here | | --- | --- | | Ghidra / native decompilation depth | Requires a Ghidra install + REA bridge | | Frida / LLDB / GDB / Rizin live sessions | Requires those debuggers + device/process attach | | JADX / full Android APK pipeline | APK resigning unsupported; DEX shield is in-tree |
| **Firmware** containers | Skipped — staging/extraction budgets exist; no honest E2E without firmware corpora | | **SPIR-V / CUDA fatbinary / AMD GPU objects** | Skipped — need native GPU object decoders; **PTX text** is shielded in-tree (benchmark only, not a REA GPU-object budget hit) | | EVMole in-process EVM decode | Documented as not pathable in-process; EVM shield still densifies to the 4 MiB input approach | We do **not** claim those paths are empirically bankrupt until `redteam:rea` (or an equivalent harness) records a real before/after against the live analyzer. ---

README

正在加载 README…

收录信息

仓库创建时间
2026/10/25 13:25:45
首次达标收录
2026/10/29 23:07:17
统计更新时间
2026/10/30 01:10:47

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 3.9 / 5

新颖度
3.8
实用价值
3.9
成熟度
4.7
实质含量
3.6

由 Jev 模型根据仓库描述与 README 评估,2026/10/29 23:07:17 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/29 02:09:46
许可证标识
MIT
Fork 数
91
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目