dep_scan
Audit dependency manifests and lockfiles to find pinned package versions with known vulnerabilities using a local offline database; optionally generate JSON, SARIF, Markdown, or HTML reports.
Instructions
Check dependency manifests for known-vulnerable package versions (local DB, no network).
Use when the user asks to audit dependencies or a lockfile: requirements.txt,
pyproject.toml, package.json, composer.json/lock, Dockerfile (PHP runtime pinning
included). Matches each pinned version against a local OSV index and a builtin
vulnerability database — deterministic, offline; nothing is uploaded.
path is a local manifest file or a project directory.
formats (optional) writes report artifacts (json/sarif/markdown/html) locally.
Not for: prompt injection in text/documents — use pitax_scan / docs_scan.
Triggers: 依赖漏洞, check my dependencies, is requirements.txt safe, lockfile audit,
旧版本 requests/flask 有漏洞吗.
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": "dep_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| formats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |