security_systemd_check
Systemd Unit Hardening Audit — Offline audit of a systemd .service unit (text= or url=), modeled on systemd-analyze security: runs as root, ProtectSystem/ProtectHome/PrivateTmp/NoNewPrivileges, kernel and device protections, SystemCallFilter, RestrictAddressFamilies, capability bounding set and dangerous capabilities, secrets in ExecStart or Environment, curl|sh, user-writable exec paths, UMask, + and ! exec prefixes. Returns exposure 0-10, label OK/MEDIUM/EXPOSED/UNSAFE, verdict, findings with line numbers and a suggested hardening drop-in. 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_systemd_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | [Service] ExecStart=/usr/bin/myapp |