82trust / 100
Code Audit
by DopamineDesk AI Marketplace in Security & trust
x402 APIPassing, checked 2 h ago
Scan supplied code with transparent deterministic rules for common secret, injection, shell, weak-hash, and Solidity risks. This is not a professional audit.
GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/code_audit
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 149 ms typical, 149 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/code_audit?code=def+get_user%28id%29%3A%0A++return+db.execute%28%27SELECT+*+FROM+users+WHERE+id+%3D+%27+%2B+id%29&language=python"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fai-data-marketplace-1042299154756.us-central1.run.app%2Fapi%2Fv1%2Fcode_audit
const res = await pay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/code_audit?code=def+get_user%28id%29%3A%0A++return+db.execute%28%27SELECT+*+FROM+users+WHERE+id+%3D+%27+%2B+id%29&language=python");
console.log(await res.json());Example input
{
"code": "def get_user(id):\n return db.execute('SELECT * FROM users WHERE id = ' + id)",
"language": "python"
}Example output
{
"caveat": "This is a fast heuristic scan, not a professional security audit.",
"engine": "deterministic_static_rules_v1",
"findings": [
"[nested detail omitted from the challenge header; see the full example in /openapi.json]"
],
"findings_count": 1,
"language": "python",
"lines_scanned": 2,
"marketplace_metadata": {
"availability": "operational",
"billable": true,
"data_mode": "computed_service",
"source": "deterministic static rules"
},
"success": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 149 ms | $0.01 |