cognis-digital/sigsleuth
GitHub: cognis-digital/sigsleuth
SigSleuth 是一款 Web3 链上安全工具,将原始 EVM calldata 和 EIP-712 签名数据解码为人类可读意图,并自动标记盲签和恶意 permit 风险。
Stars: 0 | Forks: 0
analyze + score] P --> OUT[report] ``` ## 从任何 AI stack 中使用它 `sigsleuth` 可以与所有流行的 AI 使用方式互操作: - **MCP server** — `sigsleuth mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `sigsleuth scan . --format json` 通过管道传递给任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 一行代码即可将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供 exit code + SARIF ## 对比 | | **Cognis sigsleuth** | ScopeLift's 'what does this transaction do' | |---|:---:|:---:| | 可自托管,无需账户 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生(AI agent) | ✅ | ❌ | | 多语言端口 (JS/Go/Rust) | ✅ | ❌ | | 开源许可 | ✅ COCL | 视情况而定 | *秉承 **ScopeLift 的 'what does this transaction do' / Etherscan calldata decoder** 的精神,以 Cognis 的方式重新构建。遗漏了致谢?欢迎提交 PR。* ## 集成 可无缝接入您的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI agent 的 **MCP server** (`sigsleuth mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 全平台、全方式 ``` pip install "git+https://github.com/cognis-digital/sigsleuth.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/sigsleuth.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/sigsleuth.git" # uv pip install cognis-sigsleuth # PyPI (when published) docker run --rm ghcr.io/cognis-digital/sigsleuth:latest --help # Docker brew install cognis-digital/tap/sigsleuth # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/sigsleuth/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | 云平台 | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/sigsleuth` | [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 代币授权和无限额度,对 drainer 风险进行评分并生成撤销交易。 - [`mevscope`](https://github.com/cognis-digital/mevscope) — 重放交易或地址历史记录,以归因三明治攻击、抢跑和尾随 MEV 提取,并进行逐笔交易损失核算。 - [`rugradar`](https://github.com/cognis-digital/rugradar) — 代币合约风险扫描器,可在您盲目投资前检测蜜罐、隐藏的铸币/黑名单函数、所有者后门以及未锁定流动性。 - [`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 · Cognis Neural Suite 中 170+ 工具之一 · Making Tomorrow Better Today
标签:Web3, 代码示例, 区块链安全, 可视化界面, 数据分析, 数据可视化, 日志审计, 智能合约, 解码工具, 请求拦截, 逆向工具