Audit a repository's dependencies
security_audit_dependenciesAudit repository dependencies against the GitHub Advisory Database for known vulnerabilities and malware without cloning; automatically detects supported manifests or checks a specified path.
Instructions
Checks every dependency a repository declares against the GitHub Advisory Database for known vulnerabilities and malware, without cloning it. Finds manifests at the repository root automatically (package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, pom.xml, composer.json), or pass path. Part of the security toolkit: also call security_supply_chain_risk for how the project is run, and security_advisories for details on one package. Uses about 2 API requests per manifest plus 2 per ecosystem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit SHA (default: the default branch) | |
| path | No | Path to one manifest, e.g. 'backend/requirements.txt' (default: every supported manifest at the root) | |
| repo | Yes | Repository name, e.g. 'spring-boot' | |
| owner | Yes | Repository owner (user or organization), e.g. 'spring-projects' | |
| include_dev | No | Also check dev, test and optional dependencies (default true) |