{"partialResults":false,"resources":[{"accepts":[{"amount":"1000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x734DD50Abb63ea5Af3D92b8016825475694BD883","scheme":"exact"}],"description":"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 a code review or vulnerability scanner for AI-generated code before shipping. Not a formal audit.","extensions":{"bazaar":{"info":{"input":{"body":{"code":"import hashlib\nAPI_KEY = 'sk-live-9f2b7c41a8de5f60b3c2'\ndef h(p):\n    return hashlib.md5(p.encode()).hexdigest()\n","language":"python"},"bodyType":"json","description":"language: python | javascript (how the snippet should be parsed); code: the source code to scan, as plain text","method":"POST","type":"http"},"output":{"example":{"counts":{"high":1,"medium":1},"engine":"rule-based-static (no LLM)","findings":[{"evidence":"API_KEY = 'sk-liv...b3c2'","fix":"move the value into an environment variable and rotate the credential","issue":"hardcoded credential","line":2,"rule":"hardcoded-secret","severity":"high"},{"evidence":"","fix":"use sha256 or stronger (and a salt for passwords)","issue":"cryptographically weak hash","line":4,"rule":"weak-hash","severity":"medium"}],"language":"python","lines_scanned":4,"risk":"high","scope_note":"Static rule-based analysis. Not a formal audit and not a penetration test.","total":2},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"type":"object"},"bodyType":{"enum":["json","form-data","text"]},"description":{"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"additionalProperties":false,"properties":{"example":{"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"type":"object"}}},"lastUpdated":"2026-11-11T19:14:50.405Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-11T19:14:49.875Z"},"resource":"https://fachada.chelsea-hermes.workers.dev/scan/v1/code/scan","serviceName":"Code security scan: secrets, vul","tags":["security","code","static-analysis","sast","python"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"sygufseabbbhiaa"}}
