scan_container_packages
Check container OS packages (Alpine, Debian, Ubuntu) against known CVE databases. Input package lists using the 'name:ecosystem:version' format to identify vulnerabilities.
Instructions
Scan container image packages (Alpine, Debian, Ubuntu OS packages) for known CVEs via OSV.dev. Input should be 'name:ecosystem:version' lines, one package per line, e.g. from 'apk info -v' or 'dpkg -l' output.
Supported ecosystems: Alpine, Debian, Ubuntu, and any OSV-supported ecosystem.
Args: packages: Newline-separated 'name:ecosystem:version' entries. Example: openssl:Alpine:3.0.7-r0 musl:Alpine:1.2.4_r2 libssl3:Debian:3.0.7-1
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": {
"packages": "<packages>"
},
"name": "scan_container_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |