payai.agentstools.dev/code/inspect
Static application-security scan of a single code blob for CWE Top-25 logic bugs (SQL injection, XSS, command injection, SSRF, path traversal, insecure deserialization, weak crypto and more). Pass the code and its language; returns a verdict with per-finding CWE, severity and line. Static indicators, not a guarantee.
POST
https://payai.agentstools.dev/code/inspectUptime100% of 2 checks in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://payai.agentstools.dev/code/inspect" \
-d '{"code":"import hashlib\nh = hashlib.md5(data).hexdigest()\n","language":"python"}'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{
"code": "import hashlib\nh = hashlib.md5(data).hexdigest()\n",
"language": "python"
}