security_compose_check
Docker Compose security audit — Offline security audit of a docker-compose.yml: privileged containers, Docker socket and sensitive host mounts, host network/pid/ipc, dangerous cap_add (SYS_ADMIN, ALL...), seccomp/apparmor disabled, hardcoded secrets in environment (masked), Postgres trust auth / empty MySQL password, database and admin ports published on 0.0.0.0 (Docker bypasses ufw), root user, unpinned :latest images, missing resource limits. Pass text= (the YAML) or url= (GitHub blob links are converted to raw). Returns verdict PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, 0-100 score, A-F grade and per-finding severity, service, line and fix. Price: $0.006 USDC (Base, via x402).
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": {
"text": "<text>"
},
"name": "security_compose_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | services: web: image: nginx volumes: - /var/run/docker.sock:/var/run/docker.sock |