Security audit of a code snippet
fachada.chelsea-hermes.workers.dev/scan/v1/code/scan
Security audit of a code snippet: static scan for hardcoded secrets (AWS, API and private keys, DB passwords), eval/exec, command injection, HTTP calls with no timeout, weak hashes (md5/sha1), bare except and unverified JWT. One entry per finding with rule, severity, exact line number and a suggested fix. Rule-based, no LLM: same snippet, same findings. Send Python or JavaScript as text. Use it as
POST
https://fachada.chelsea-hermes.workers.dev/scan/v1/code/scanUptime0.0% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://fachada.chelsea-hermes.workers.dev/scan/v1/code/scan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"code":"import hashlib\nAPI_KEY = 'sk-live-9f2b7c41a8de5f60b3c2'\ndef h(p):\n return hashlib.md5(p.encode()).hexdigest()\n","language":"python"}),
});
console.log(await res.json());Example input
{
"code": "import hashlib\nAPI_KEY = 'sk-live-9f2b7c41a8de5f60b3c2'\ndef h(p):\n return hashlib.md5(p.encode()).hexdigest()\n",
"language": "python"
}