check_osv_advisory
Scan one lockfile with the local osv-scanner to list known vulnerabilities per package, including installed version, fixed version, severity, and advisory links.
Instructions
Check one lockfile against OSV with the local osv-scanner.
Parses the lockfile locally, then runs osv-scanner on it and returns advisories as facts: id, package, installed version, fixed version, severity, summary, and link. Packages with only a version range and no exact version are reported unresolved, never given a verdict. No GMI call is made.
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": {
"lockfile_path": "<lockfile_path>"
},
"name": "check_osv_advisory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecosystem | No | ||
| lockfile_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |