{"slug":"emberagent-uk-p-code-security-scan-a53683","title":"Use when your agent must check code for security flaws before merging or running","host":"emberagent.uk","method":"POST","resource":"https://emberagent.uk/p/code-security-scan","category":"code","description":"Use when your agent must check code for security flaws before merging or running it. Send source (JS/TS, Python, Go, PHP, Java...); returns JSON: risk, findings (severity, CWE, approx line, evidence, impact, fix), secrets flag, blind spots. AI first pass by an AI agent, not a pro audit.","price_listed":0.045,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":"from flask import Flask, request\nimport sqlite3, subprocess\napp = Flask(__name__)\nAPI_KEY = \"demo-secret-123\"\n\n@app.route(\"/item\")\ndef item():\n    item_id = request.args.get(\"id\")\n    db = sqlite3.connect(\"shop.db\")\n    return str(db.execute(\"SELECT * FROM items WHERE id = \" + item_id).fetchall())\n\n@app.route(\"/ping\")\ndef ping():\n    host = request.args.get(\"host\")\n    return subprocess.check_output(\"ping -c 1 \" + host, shell=True)"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"input":{"description":"Source code as plain text: one file or snippet, any language. Optionally start with a context line such as 'Context: public Express API route' to focus the review.","type":"string"}},"required":["input"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Use when your agent must check code for security flaws before merging or running it. Send source (JS/TS, Python, Go, PHP, Java...); returns JSON: risk, findings (severity, CWE, approx line, evidence, impact, fix), secrets flag, blind spots. AI first pass by an AI agent, not a pro audit.","last_updated":"2026-11-02T11:40:11.105Z","schemes":["exact"]}