Check lockfiles for vulnerable dependencies, with fix prompts
check_lockfilesChecks a project's lockfiles (requirements.txt, poetry.lock, uv.lock, Pipfile.lock, package-lock.json, yarn.lock, pnpm-lock.yaml, Gemfile.lock, composer.lock, Cargo.lock, go.mod, pom.xml... see get_lockfile_guide) against OSV.dev, plus the language runtime they imply. Returns each vulnerable package version with its advisories, the version to upgrade to and the commands, and ready-to-use prompts for a coding agent: "prompt_all" upgrades everything that has a fix, "mitigation_prompt_all" handles what has no fix yet, "check_prompt_all" finds the runtime versions to check. Advisories exploited in the wild (CISA KEV) come first, with their EPSS score. Works without an API token. Send lockfiles, not package.json or pyproject.toml (they hold ranges, not the installed versions). Package names and versions are sent to OSV.dev; the files themselves are not stored. When you can run commands in the project, also run these in the lockfile's folder and pass what they print: "outdated": npm outdated --json, pnpm outdated --format json, yarn outdated --json (Yarn 1), pip list --outdated --format=json (in the project's virtual environment), composer outdated --direct --format=json or go list -m -u -json all; "audit": npm audit --json, pnpm audit --json or yarn audit --json (Yarn 1). The answer then lists the packages with a newer version and no known vulnerability ("updates_available": information only, not a security problem) and what npm audit found that AIssue did not. A command that prints nothing, or fails, can be left out.
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": {
"files": "<files>"
},
"name": "check_lockfiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit | No | Optional. What npm audit --json (or pnpm audit --json, yarn audit --json) printed. | |
| files | Yes | ||
| project | No | Project name, used in the prompts (optional) | |
| outdated | No | Optional. What the "outdated" command printed (JSON), e.g. npm outdated --json. Several outputs can be sent one after the other. |