cognis-digital/semsift
GitHub: cognis-digital/semsift
一款轻量级语义感知的差异化 SAST 工具,仅扫描 PR 中的代码增量并运行污点规则以实现快速安全检查。
Stars: 0 | Forks: 0
checks + rules] P --> OUT[findings (JSON / SARIF)] ``` ## 从任何 AI stack 中使用它 `semsift` 可以与所有流行的 AI 使用方式互操作: - **MCP server** — `semsift mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **OpenAI 兼容 / JSON** — 通过管道将 `semsift scan . --format json` 传递给任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 一行代码将 CLI/JSON 包装为工具 - **CI / 脚本** — 提供 exit code + SARIF 用于非 AI pipeline ## 对比 | | **Cognis semsift** | Semgrep,具有 git-diff 工具的差异化扫描便利性 | |---|:---:|:---:| | 可自托管,无需账户 | ✅ | 视情况而定 | | 单个命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生 (AI agents) | ✅ | ❌ | | 多语言移植 (JS/Go/Rust) | ✅ | ❌ | | 开源许可证 | ✅ COCL | 视情况而定 | *秉承 **Semgrep 的精神,结合 git-diff 工具的差异化扫描便利性**,以 Cognis 的方式重新构建。遗漏了致谢?请提交 PR。* ## 集成 可整合至你的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI agent 的 **MCP server** (`semsift mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。请参阅 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 所有方式,所有平台 ``` pip install "git+https://github.com/cognis-digital/semsift.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/semsift.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/semsift.git" # uv pip install cognis-semsift # PyPI (when published) docker run --rm ghcr.io/cognis-digital/semsift:latest --help # Docker brew install cognis-digital/tap/semsift # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/semsift/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/semsift` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关的 Cognis 工具 - [`apkpeek`](https://github.com/cognis-digital/apkpeek) — 一键静态分诊 Android APK/AAB 二进制文件:将硬编码的密钥、导出的组件、危险的权限以及不安全的 manifest 标志作为单个 SARIF 报告呈现。 - [`ipasnitch`](https://github.com/cognis-digital/ipasnitch) — 针对 iOS .ipa bundle 的静态扫描器,可标记 ATS 例外、缺失的 entitlements 加固、内嵌的 URL/密钥以及薄弱的 Info.plist 传输设置。 - [`hookcraft`](https://github.com/cognis-digital/hookcraft) — 根据 YAML 意图(例如“绕过 SSL pinning”、“导出 crypto keys”)生成可直接运行的 Frida 插桩脚本,并验证它们是否附加到目标进程。 - [`dastlite`](https://github.com/cognis-digital/dastlite) — 无头、config-as-code 的 DAST 运行器,可抓取经过身份验证的 Web/移动 API 攻击面,并触发精选的主动扫描规则集,输出经过去重的 SARIF。 - [`cheatsense`](https://github.com/cognis-digital/cheatsense) — 反作弊遥测分析器,可摄取游戏会话日志,并通过可解释的单项评分,标记出统计上异常的输入/瞄准/移动特征。 - [`binhunt`](https://github.com/cognis-digital/binhunt) — 游戏/桌面二进制完整性扫描器,可对可执行文件进行指纹识别,检测常见的 packer/混淆器,并与已知良好的基线进行 diff 对比以捕获篡改行为。 **探索套件 →** [🗂️ 所有 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 之一 · 让明天在今天更美好
标签:DevSecOps, 上游代理, 开源框架, 持续集成, 请求拦截, 逆向工具, 静态应用安全测试