{"id":49671902,"url":"https://github.com/scanoss/ai-finder","last_synced_at":"2026-05-30T06:01:12.580Z","repository":{"id":355733016,"uuid":"1205181137","full_name":"scanoss/ai-finder","owner":"scanoss","description":"AI artifact scanner for supply chain security and SBOM compliance","archived":false,"fork":false,"pushed_at":"2026-05-06T23:05:16.000Z","size":746,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T00:33:49.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scanoss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T18:01:57.000Z","updated_at":"2026-05-06T23:03:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/scanoss/ai-finder","commit_stats":null,"previous_names":["scanoss/ai-finder"],"tags_count":9,"template":false,"template_full_name":"SemClone/semclone-oss-template","purl":"pkg:github/scanoss/ai-finder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fai-finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fai-finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fai-finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fai-finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scanoss","download_url":"https://codeload.github.com/scanoss/ai-finder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fai-finder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33681809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-07T00:03:11.768Z","updated_at":"2026-05-30T06:01:12.474Z","avatar_url":"https://github.com/scanoss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-finder\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)\n\n\u003e AI artifact scanner for supply chain security and compliance\n\n## About\n\n**ai-finder** detects AI/ML artifacts in codebases for:\n\n- **Supply Chain Security** - Identify AI models, SDKs, and dependencies\n- **EU AI Act Compliance** - Generate SBOM reports for regulatory requirements\n- **Risk Assessment** - Detect API keys, model provenance, and usage patterns\n\n## Features\n\n### SDK Detection (12 languages)\n\n| Language | SDKs Detected |\n|----------|---------------|\n| Python | OpenAI, Anthropic, HuggingFace, LangChain, LlamaIndex, Strands, CrewAI, AutoGen |\n| JavaScript/TypeScript | OpenAI, Anthropic, LangChain, Vercel AI SDK |\n| Go | go-openai, go-anthropic |\n| Rust | async-openai, anthropic-rs |\n| Java/Kotlin | openai-java, LangChain4j, Spring AI |\n| And more... | Ruby, PHP, C#, C++, Swift, Scala, Kotlin |\n\n### AI Package Detection (150+ packages)\n\nComprehensive detection across categories:\n\n| Category | Packages |\n|----------|----------|\n| **LLM Clients** | OpenAI, Anthropic, Cohere, Groq, Mistral, Ollama, Google GenAI, Azure OpenAI |\n| **Agent Frameworks** | LangChain, LlamaIndex, Strands Agents, CrewAI, AutoGen, Semantic Kernel |\n| **ML Frameworks** | PyTorch, TensorFlow, Keras, JAX, Transformers, scikit-learn, XGBoost |\n| **Vector Databases** | ChromaDB, Pinecone, Weaviate, Qdrant, Milvus, FAISS, LanceDB |\n| **Speech/Audio AI** | OpenAI Whisper, Faster Whisper, ElevenLabs, Bark |\n| **AI Safety** | AIProxyGuard, Guardrails AI, NeMo Guardrails, LLM Guard |\n| **Tools \u0026 Utilities** | Tavily, LangSmith, W\u0026B, MLflow, Accelerate, Datasets |\n| **MCP/Tool Use** | MCP, Anthropic Tools |\n\n### Model File Detection (12 formats)\n\nGGUF, SafeTensors, ONNX, PyTorch, TensorFlow, TFLite, CoreML, JAX, Keras, MXNet, PaddlePaddle, Pickle\n\n### Manifest Parsing (11 formats)\n\nrequirements.txt, pyproject.toml, package.json, go.mod, Cargo.toml, pom.xml, build.gradle, Gemfile, composer.json, *.csproj, Package.swift\n\n### Output Formats\n\n- **JSON** - Machine-readable findings\n- **CycloneDX 1.6** - OWASP SBOM format with ML-BOM support\n- **SPDX 2.3** - Linux Foundation SBOM format\n- **SPDX 3.0** - Latest SPDX specification with JSON-LD\n\n## SBOM Compliance\n\nGenerated SBOMs are compliant with major standards:\n\n| Standard | Status | Notes |\n|----------|--------|-------|\n| **CISA Minimum SBOM Elements** | Compliant | Supplier, name, version, PURL, timestamp, author |\n| **OpenChain ISO/IEC 5230** | Compliant | Document namespace, SPDX-License-Identifier, creator info |\n| **EU AI Act** | Ready | License info, descriptions, external references for AI components |\n| **CycloneDX ML-BOM** | Supported | modelCard, modelParameters, architecture metadata |\n\n### License Handling\n\n- Licenses are automatically enriched from PyPI, npm, and HuggingFace\n- Unknown licenses are marked as `NOASSERTION` per SPDX specification\n- Supports SPDX license expressions\n\n## Installation\n\n```bash\npip install ai-finder\n```\n\nRequires Python 3.9 or later.\n\n## Usage\n\n```bash\n# Scan a directory\nai-finder scan /path/to/project\n\n# Generate SBOM (CycloneDX)\nai-finder scan /path/to/project -f cyclonedx -o sbom.json\n\n# Generate SBOM (SPDX)\nai-finder scan /path/to/project -f spdx -o sbom.spdx.json\n\n# Identify a model file\nai-finder identify model.gguf\n\n# Initialize local KB\nai-finder kb init\n\n# Lookup model by PURL\nai-finder kb lookup pkg:huggingface/TinyLlama/TinyLlama-1.1B-Chat-v1.0\n```\n\n## Telemetry\n\nThis tool collects anonymous usage telemetry to help improve the product. No file paths, code content, or scan targets are collected.\n\n**Disable telemetry:**\n```bash\n# Per-session\nai-finder --no-telemetry scan .\n\n# Environment variable\nexport AI_FINDER_TELEMETRY=0\n\n# Or use the standard\nexport DO_NOT_TRACK=1\n```\n\nSee [docs/TELEMETRY.md](docs/TELEMETRY.md) for full details on what is collected.\n\n## Development\n\n```bash\n# Clone repository\ngit clone https://github.com/scanoss/ai-finder.git\ncd ai-finder\n\n# Install with uv\nuv sync --all-packages --all-extras\n\n# Run tests\nuv run pytest\n\n# Lint\nuv run ruff check .\n```\n\n## Contributing\n\nWe welcome contributions! Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting a pull request.\n\n## Security\n\nIf you discover a security vulnerability, please follow our [Security Policy](SECURITY.md).\n\n## License\n\nThis project is licensed under the MIT License - see [LICENSE](LICENSE) for details.\n\nCopyright (c) 2026 SCANOSS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanoss%2Fai-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscanoss%2Fai-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanoss%2Fai-finder/lists"}