cognis-digital/bytematch
GitHub: cognis-digital/bytematch
验证 EVM 链上已部署字节码与源码或 Foundry 构建产物是否一致,检测代理合约和实现合约的篡改与未经验证状态。
Stars: 0 | Forks: 0
scan + match] P --> OUT[detections] ``` ## 从任何 AI stack 中使用 `bytematch` 与所有主流的 AI 使用方式兼容互通: - **MCP server** — `bytematch mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `bytematch scan . --format json` 管道传递给任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 一行代码即可将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供退出状态码 + SARIF ## 对比 | | **Cognis bytematch** | Sourcify | |---|:---:|:---:| | 支持自托管,无需账户 | ✅ | 视情况而定 | | 单条命令,零配置 | ✅ | ⚠️ | | 适用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生支持 (AI agents) | ✅ | ❌ | | 多语言移植版 (JS/Go/Rust) | ✅ | ❌ | | 开源许可 | ✅ COCL | 视情况而定 | *秉承 **Sourcify** 的精神,以 Cognis 的方式重新塑造。遗漏了致谢?欢迎提交 PR。* ## 集成 可无缝接入您的技术栈:用于代码扫描的 **SARIF**,适用任何场景的 **JSON**,面向 AI agent 的 **MCP server**(`bytematch mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 —— 各种方式,所有平台 ``` pip install "git+https://github.com/cognis-digital/bytematch.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/bytematch.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/bytematch.git" # uv pip install cognis-bytematch # PyPI (when published) docker run --rm ghcr.io/cognis-digital/bytematch:latest --help # Docker brew install cognis-digital/tap/bytematch # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/bytematch/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | Cloud | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/bytematch` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关 Cognis 工具 - [`reentryx`](https://github.com/cognis-digital/reentryx) — 静态 + 符号执行检测器,用于标记 Solidity/Vyper 中的重入攻击、跨函数重入和只读重入路径,并输出用于 CI 门控的 SARIF 结果。 - [`forkfuzz`](https://github.com/cognis-digital/forkfuzz) — 主网分叉不变量模糊测试器,通过针对实时状态和有状态序列回放您的合约,旨在部署前破坏协议不变量。 - [`approvewarden`](https://github.com/cognis-digital/approvewarden) — 扫描任何钱包中危险的 ERC-20/721/1155 代币授权和无限额度,评估资金流失风险敞口并生成撤销(revoke)交易。 - [`mevscope`](https://github.com/cognis-digital/mevscope) — 回放交易或地址历史,以归因夹子攻击、抢跑和尾跑等 MEV 提取行为,并提供每笔交易的损失核算。 - [`rugradar`](https://github.com/cognis-digital/rugradar) — 代币合约风险扫描器,在您盲目投资(ape)前检测蜜罐、隐藏的 mint/黑名单函数、所有者后门以及未锁定的流动性。 - [`storagelens`](https://github.com/cognis-digital/storagelens) — 对跨代理升级的合约存储布局进行对比和解码,以捕获存储冲突和未初始化槽位的 bug。 **探索完整工具套件 →** [🗂️ 所有 170+ 工具](https://github.com/cognis-digital/cognis-neural-suite) · [⭐ awesome-cognis](https://github.com/cognis-digital/awesome-cognis) · [🔗 cognis-sources](https://github.com/cognis-digital/cognis-sources) · [🤖 uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet) · [🧠 engram](https://github.com/cognis-digital/engram) ## 互操作性 `{}` 与包含 300+ 工具的 Cognis 套件有机结合 —— 统一的 JSON 输入/输出以及共享的 兼容 OpenAI 的 `/v1` 骨干网络。请参阅 **[INTEROP.md](INTEROP.md)** 获取 套件图谱、组合模式及参考技术栈。 ## 许可证 源码可见,基于 **Cognis Open Collaboration License (COCL) v1.0** —— 可免费用于个人使用、内部评估、研究和教育用途;**商业/生产环境使用需获取许可** (licensing@cognis.digital)。详见 [LICENSE](LICENSE)。
Cognis Digital · 170+ 款 Cognis Neural Suite 工具之一 · Cognis Neural Suite · 让明天在今天变得更美好
标签:Foundry, Web3, 一致性校验, 区块链安全, 可视化界面, 数据可视化, 日志审计, 智能合约, 请求拦截, 逆向工具