audit_dependencies
Batch-score npm or PyPI packages for supply chain risk, returning a prioritized report sorted by commitment score to flag publish-access concentration, unproven high-adoption packages, and abandonware.
Instructions
Batch-score multiple npm or PyPI packages for supply chain risk. Takes a list of package names and returns a risk table sorted by commitment score (lowest = highest risk first).
Risk flags:
CRITICAL: single npm publisher + >10M weekly downloads (publish-access concentration risk)
HIGH: new package (<1yr) + high downloads (unproven, rapid adoption = supply chain risk)
WARN: no release in 12+ months (potential abandonware)
WARN: dormant publishers with current scope access — contributors who stopped publishing but retain npm tokens (the Mastra incident vector, June 2026)
Perfect for auditing a full package.json or requirements.txt — paste your dependency list and get a prioritized risk report.
Examples: score all deps in a project, compare two similar packages, identify abandonware before it becomes a CVE.
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": {
"packages": "<packages>"
},
"name": "audit_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | List of package names to score. Up to 20 at once. Examples: ["langchain", "litellm", "openai", "axios"] or ["@anthropic-ai/sdk", "zod", "express"] | |
| ecosystem | No | Package ecosystem. "auto" defaults to npm. Force "pypi" for Python packages. | auto |