audit_github_repo
Audit the supply chain risk of a GitHub repository's dependencies. Fetches the repo's package.json and/or requirements.txt from GitHub and runs behavioral commitment scoring on every dependency.
This is the fastest way to audit a project — just provide the GitHub URL or owner/repo slug, and get a full risk table in seconds.
Risk flags:
CRITICAL: single publisher/maintainer/owner + >10M weekly downloads (publish-access concentration risk)
HIGH: sole publisher/maintainer + >1M/wk downloads, OR new package (<1yr) with high adoption
WARN: no release in 12+ months (potential abandonware)
Examples:
"vercel/next.js" — audit Next.js dependencies
"https://github.com/langchain-ai/langchainjs" — audit LangChain JS
"facebook/react" — audit React's dependency tree
"anthropics/anthropic-sdk-python" — audit Anthropic Python SDK
Use this when someone asks "is my project at risk?" or "audit this repo's dependencies".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "audit_github_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository to audit. Accepts: "owner/repo", "https://github.com/owner/repo", or any GitHub URL. Examples: "vercel/next.js", "https://github.com/langchain-ai/langchainjs" |