cognis-digital/ossaudit
GitHub: cognis-digital/ossaudit
ossaudit 是一款开源许可证合规审计工具,提供 AGPL 污染检测和 NOTICE 文件生成功能,可无缝集成至 CI/CD 流水线。
Stars: 0 | Forks: 0
checks + rules] P --> OUT[findings (JSON / SARIF)] ``` ## 从任意 AI 技术栈中使用 `ossaudit` 可与所有主流的 AI 使用方式互操作: - **MCP server** — `ossaudit mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `ossaudit scan . --format json` 通过管道传递给任何代理或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 一行代码即可将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI 流水线提供退出码 + SARIF ## 对比 | | **Cognis ossaudit** | nexB | |---|:---:|:---:| | 可自托管,无需账号 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | 原生 MCP (AI 代理) | ✅ | ❌ | | 多语言移植 (JS/Go/Rust) | ✅ | ❌ | | 开源许可证 | ✅ COCL | 视情况而定 | *秉承 **nexB/scancode-toolkit** 的精神,以 Cognis 的方式进行重构。遗漏了致谢?欢迎提交 PR。* ## 集成 可无缝接入您的技术栈:用于代码扫描的 **SARIF**,用于一切的 **JSON**,用于 AI 代理的 **MCP server** (`ossaudit mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 所有方式,所有平台 ``` pip install "git+https://github.com/cognis-digital/ossaudit.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/ossaudit.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/ossaudit.git" # uv pip install cognis-ossaudit # PyPI (when published) docker run --rm ghcr.io/cognis-digital/ossaudit:latest --help # Docker brew install cognis-digital/tap/ossaudit # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/ossaudit/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/ossaudit` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关 Cognis 工具 - [`depgraph`](https://github.com/cognis-digital/depgraph) — 依赖风险可视化工具 — Scorecard + OSV + typosquat + 维护者信号 - [`secretsweep`](https://github.com/cognis-digital/secretsweep) — 仓库密钥扫描器 + 跨提供商自动轮换 - [`pipewatch-pro`](https://github.com/cognis-digital/pipewatch-pro) — CI/CD 供应链审计工具 — GH Actions / GitLab CI / OWASP CI/CD Top 10 **探索全套工具 →** [🗂️ 所有 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
标签:LNA, Python, 云安全监控, 可视化界面, 开源合规, 数据可视化, 无后门, 日志审计, 许可证审计, 请求拦截, 逆向工具, 静态分析