cognis-digital/hookcraft
GitHub: cognis-digital/hookcraft
从 YAML 意图文件自动生成可直接运行的 Frida 动态插桩脚本,并提供意图校验与目标进程附加验证的移动安全工具。
Stars: 0 | Forks: 0
cluster + trace] P --> OUT[sanctions xref / report] ``` ## 从任何 AI 技术栈中使用 `hookcraft` 可以与所有流行的 AI 使用方式互操作: - **MCP 服务器** — `hookcraft mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **OpenAI 兼容 / JSON** — 将 `hookcraft scan . --format json` 管道传输给任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 用一行代码将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供 exit code + SARIF ## 对比 | | **Cognis hookcraft** | Frida + 类似 'Universal Android SSL Pinning Bypass' 的 frida-scripts 集合 | |---|:---:|:---:| | 可自托管,无需账号 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生 (AI agent) | ✅ | ❌ | | 多语言移植 (JS/Go/Rust) | ✅ | ❌ | | 开源许可 | ✅ COCL | 视情况而定 | *秉承 **Frida + 类似 'Universal Android SSL Pinning Bypass' 的 frida-scripts 集合** 的精神,以 Cognis 的方式进行重构。遗漏了致谢?提交一个 PR 吧。* ## 集成 接入你的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI agent 的 **MCP 服务器** (`hookcraft mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详情请见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 各种方式,所有平台 ``` pip install "git+https://github.com/cognis-digital/hookcraft.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/hookcraft.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/hookcraft.git" # uv pip install cognis-hookcraft # PyPI (when published) docker run --rm ghcr.io/cognis-digital/hookcraft:latest --help # Docker brew install cognis-digital/tap/hookcraft # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/hookcraft/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/hookcraft` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关 Cognis 工具 - [`apkpeek`](https://github.com/cognis-digital/apkpeek) — 一键静态分析 Android APK/AAB 二进制文件:以单一 SARIF 报告的形式呈现硬编码的密钥、导出的组件、危险的权限以及不安全的 manifest 标志。 - [`ipasnitch`](https://github.com/cognis-digital/ipasnitch) — 用于 iOS .ipa 包的静态扫描器,可标记 ATS 例外、缺少的 entitlements 加固、嵌入的 URL/密钥以及薄弱的 Info.plist 传输设置。 - [`dastlite`](https://github.com/cognis-digital/dastlite) — 一个无头、配置即代码的 DAST 运行器,可抓取经过身份验证的 Web/移动 API 接口,并触发精心策划的主动扫描规则集,输出经过去重的 SARIF。 - [`semsift`](https://github.com/cognis-digital/semsift) — 轻量级的语义感知 SAST,仅对 diff 运行精心策划的污点分析规则,让 PR 获得快速的增量 SAST,而不是全仓库扫描的疲劳。 - [`cheatsense`](https://github.com/cognis-digital/cheatsense) — 反作弊遥测分析器,接收游戏会话日志,并通过可解释的单项分数标记出统计上异常的输入/瞄准/移动特征。 - [`binhunt`](https://github.com/cognis-digital/binhunt) — 游戏/桌面二进制完整性扫描器,对可执行文件进行指纹识别,检测常见的加壳器/混淆器,并与已知良好的基线进行对比以抓取篡改行为。 **探索套件 →** [🗂️ 所有 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 · Making Tomorrow Better Today
标签:Docker支持, Frida, Python, 云资产清单, 可视化界面, 数据可视化, 无后门, 日志审计, 目录枚举, 移动安全, 网络调试, 自动化, 请求拦截, 逆向工具, 逆向工程