Scan a dependency manifest via OSV
scan_dependenciesAccept the text of package.json, package-lock.json, requirements.txt, poetry.lock, go.mod, Gemfile.lock, or pom.xml (limited-probe). Detect ecosystem, extract exact name+version pins (skip unpinned ranges with a note), batch-query OSV.dev /v1/querybatch, and return vulnerable packages with OSV/CVE ids, severity when available, and fixed versions. Max input 524288 bytes and 1000 packages. Manifest text is never stored and never sent to analytics. Cached about one hour by package digest. Read-only.
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": {
"manifest_content": "<manifest_content>"
},
"name": "scan_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename hint used to detect the ecosystem (for example package-lock.json or requirements.txt). | |
| ecosystem | No | Optional OSV ecosystem override (npm, PyPI, Go, RubyGems, Maven). Common values include: PyPI, npm, Maven, Go, crates.io, NuGet, RubyGems, Packagist. | |
| manifest_content | Yes | Full text of package.json, package-lock.json, requirements.txt, poetry.lock, go.mod, Gemfile.lock, or pom.xml. Max 524288 bytes. Never stored; never sent to analytics. |