Releases: Trusera/ai-bom
Releases · Trusera/ai-bom
AI-BOM v3.1.0 — JSON Flag, CycloneDX Summary, Docker Docs
What's New
Features
--json/-jCLI flag — shorthand for--format jsonfor easy piping to jq (#6)- CycloneDX scan summary — metadata.properties now includes
total_components, severity counts, andscan_duration_seconds(#8) - Docker usage in README — run ai-bom via
ghcr.io/trusera/ai-bomcontainer (#9)
Bug Fixes
- CI/CD policy gate — scoped to
src/to avoid false positives from demo/test API keys - CodeQL action — upgraded from v3 to v4 (v3 deprecated Dec 2026)
Already Implemented (closed)
- Anthropic Claude API key detection (
sk-ant-*) — was already in v3.0.0 (#5) - Google Gemini & Cohere model detection — was already in v3.0.0 (#7)
Full Changelog: v3.0.0...v3.1.0
AI-BOM v3.0.0 — 13 Scanners, Compliance, Parallel Scanning
What's New in v3.0.0
Major upgrade from v2.0 → v3.0 with 8,400+ new lines, 69 files changed, and 523 tests.
New Scanners (4)
- GitHub Actions Scanner — detects AI-powered actions, Copilot integrations, and API keys in workflow files
- Jupyter Notebook Scanner — parses
.ipynbcode cells for AI imports, model loading, and API usage - Model File Scanner — detects binary model files (
.onnx,.pt,.safetensors,.gguf,.tflite, etc.) - MCP Config Scanner — scans MCP server configurations (
mcp.json,claude_desktop_config.json,.cursor/mcp.json)
New Reporters (3)
- CSV Reporter — flat tabular output for spreadsheets and data pipelines
- JUnit XML Reporter — test-suite format for CI/CD integration (Jenkins, GitLab, etc.)
- Diff Reporter — compare two scans to show new/removed components and risk changes
Compliance Modules (3)
- OWASP Agentic Top 10 — maps findings to OWASP ASI risk categories (A01–A10)
- EU AI Act Checker — flags high-risk AI systems per Annex III, checks Article 52/53 transparency
- License Compliance — detects restrictive model licenses (CC-BY-NC, GPL on commercial projects)
Performance & DX
- Parallel scanning —
--workers Nruns scanners concurrently via ThreadPoolExecutor - Incremental cache —
--cacheonly re-scans changed files (SHA-256 hashing) .ai-bomignore— gitignore-style pattern file to exclude paths from scanning- Watch mode —
ai-bom watch .monitors filesystem for changes and re-scans automatically - Scan reliability — UTF-8/latin-1 fallback, symlink cycle detection, binary file detection, 10MB file guard
New CLI Commands
ai-bom list-scanners— show all registered scannersai-bom diff scan1.json scan2.json— compare two scan resultsai-bom serve --port 8080— start FastAPI REST API serverai-bom watch .— file watch mode with live re-scanning
Expanded Detection
- 6 new dependency parsers:
Cargo.toml,go.mod,Gemfile,pom.xml,build.gradle,.csproj - New API key patterns: Groq (
gsk_), Fireworks (fw_), Perplexity (pplx-), Together AI, Mistral - 12 new AI packages across Ruby, .NET, Java, and Go ecosystems
Infrastructure
- Dockerfile — multi-stage build, published to
ghcr.io/trusera/ai-bom - MkDocs Material documentation site with 14 pages
- Makefile with 14 build targets
- Pre-commit hooks — ruff, trailing whitespace, YAML/JSON/TOML validation
- Issue & PR templates — bug reports, feature requests, detection pattern submissions
- ARCHITECTURE.md — scanner registry pattern, data flow, risk scoring docs
Install / Upgrade
pip install ai-bom==3.0.0
# With all optional features
pip install "ai-bom[all]==3.0.0"
# Docker
docker pull ghcr.io/trusera/ai-bom:3.0.0Stats
| Metric | v2.0 | v3.0 |
|---|---|---|
| Scanners | 9 | 13 |
| Output formats | 7 | 9 |
| Tests | 313 | 523 |
| Detection patterns | ~60 | ~100 |
| Compliance frameworks | 0 | 3 |
Full Changelog: v0.1.0...v3.0.0
AI-BOM v0.1.0 — AI Bill of Materials Scanner
AI-BOM v0.1.0
Discover every AI agent, model, and API hiding in your infrastructure.
AI-BOM is a CLI tool and GitHub Action that automatically inventories AI/LLM components across your codebase, containers, cloud
resources, and workflow automation platforms.
Highlights
- 5 Scanners: Code, Docker, Network, Cloud (AWS/Azure/GCP), n8n Workflows
- AI SDK Detection: OpenAI, Anthropic, Google Gemini, Mistral, LangChain, CrewAI, AutoGen, and 20+ more
- 5 Output Formats: Table, JSON/CycloneDX 1.6, HTML, Markdown, SARIF
- Risk Scoring Engine: Multi-factor assessment with severity levels
- Shadow AI Detection: Finds hardcoded API keys, unmanaged models, and webhook-exposed agents
- GitHub Action: One-line integration with SARIF upload to Code Scanning
Install
pip install ai-bom
Quick Start
# Scan current directory
ai-bom scan .
# Try the built-in demo
ai-bom demo
# Output as CycloneDX SBOM
ai-bom scan . --format cyclonedx -o ai-bom.cdx.json
GitHub Action
- uses: Trusera/ai-bom@v0.1.0
Results appear in the Security → Code Scanning tab.
Stats
- 124 tests passing across Python 3.10–3.13
- 0 lint errors (ruff E/F/I/W)
- CycloneDX 1.6 spec compliant
- SARIF 2.1.0 spec compliant