check_dependencies
Scan project dependencies for known vulnerabilities using npm audit and the GitHub Advisory Database. Returns CVEs, severity levels, and patched versions to identify security risks.
Instructions
Run npm audit to check dependencies for known vulnerabilities.
Uses the GitHub Advisory Database (same as npm audit). Returns known CVEs, severity levels, and patched versions.
Requirements:
npm must be installed
Directory must contain package-lock.json (or yarn.lock/pnpm-lock.yaml)
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": {
"path": "<path>"
},
"name": "check_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to directory containing package.json and package-lock.json | |
| includeDevDependencies | No | Include devDependencies in scan (default: false) |