cognis-digital/approvewarden
GitHub: cognis-digital/approvewarden
扫描钱包中危险的 ERC 代币授权与无限额度,评估资产被 drainer 抽走的风险并生成撤销交易,可嵌入 CI 实现自动化安全门禁。
Stars: 0 | Forks: 0
cluster + trace] P --> OUT[sanctions xref / report] ``` ## 从任何 AI stack 中使用 `approvewarden` 兼容所有流行的 AI 使用方式: - **MCP server** —— `approvewarden mcp` (Claude Desktop、Cursor、Cognis.Studio、[uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **OpenAI 兼容 / JSON** —— 通过管道将 `approvewarden scan . --format json` 传入任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** —— 一行代码将 CLI/JSON 封装为工具 - **CI / 脚本** —— 为非 AI pipeline 提供退出码 + SARIF ## 对比 | | **Cognis approvewarden** | Revoke.cash | |---|:---:|:---:| | 支持自托管,无需账户 | ✅ | 视情况而定 | | 单条命令,零配置 | ✅ | ⚠️ | | 提供 CI 适用的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生支持 (AI agents) | ✅ | ❌ | | 多语言移植版本 (JS/Go/Rust) | ✅ | ❌ | | 开源许可证 | ✅ COCL | 视情况而定 | *秉承 **Revoke.cash** 的精神,以 Cognis 的方式重新构建。遗漏了致谢?欢迎提交 PR。* ## 集成 无缝接入您的技术栈:用于代码扫描的 **SARIF**、用于一切场景的 **JSON**、用于 AI agent 的 **MCP server** (`approvewarden mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 —— 全方式、全平台 ``` pip install "git+https://github.com/cognis-digital/approvewarden.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/approvewarden.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/approvewarden.git" # uv pip install cognis-approvewarden # PyPI (when published) docker run --rm ghcr.io/cognis-digital/approvewarden:latest --help # Docker brew install cognis-digital/tap/approvewarden # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/approvewarden/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/approvewarden` | [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) —— 主网分叉不变量模糊测试器,通过实时状态和有状态序列重放您的合约,以便在部署前破坏协议不变量。 - [`mevscope`](https://github.com/cognis-digital/mevscope) —— 重放交易或地址历史,以归因夹子攻击、抢先交易和尾随交易 MEV 提取,并进行每笔交易的损失核算。 - [`rugradar`](https://github.com/cognis-digital/rugradar) —— token 合约风险扫描器,在您盲目投资前检测蜜罐、隐藏的 mint/blacklist 函数、所有者后门以及未锁定流动性。 - [`storagelens`](https://github.com/cognis-digital/storagelens) —— 对跨代理升级的合约存储布局进行差异比对和解码,以捕获存储冲突和未初始化插槽的 bug。 - [`sigsleuth`](https://github.com/cognis-digital/sigsleuth) —— 将原始 calldata 和 EIP-712 类型化数据解码为人类可读的意图,标记盲签和恶意的 permit/Permit2 payload。 **探索完整工具套件 →** [🗂️ 所有 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
标签:Python, Web3, 区块链安全, 可视化界面, 数据可视化, 无后门, 日志审计, 智能合约审计, 请求拦截, 逆向工具