Fast Heuristic Code Security Scan
Scan supplied code with transparent deterministic rules for common secret, injection, shell, weak-hash, and Solidity risks. This is not a professional audit.
Preview request
The preview path is rate-limited and does not charge. Production requests use the same parameters and return a standard x402 challenge when no payment signature is present.
curl --request POST \
"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/code_audit?preview=true" \
--header "content-type: application/json" \
--data '{"code":"def get_user(id):\n return db.execute('SELECT * FROM users WHERE id = ' + id)","language":"python"}'Input contract
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | Yes | The source code snippet. |
language | string | Yes | Programming language (python, javascript, go, etc.). |
Guaranteed response metadata
Every successful product response identifies how the result was produced. Product-specific output fields are documented in the paid OpenAPI contract and can be inspected through the preview request where available.
{
"marketplace_metadata": {
"data_mode": "computed_service",
"billable": true,
"availability": "operational",
"source": "deterministic static rules"
}
}Agent payment flow
Request the product, read the base64 PAYMENT-REQUIRED challenge, sign the exact Base-USDC authorization with an x402 buyer client, and retry using PAYMENT-SIGNATURE. A successful response includes PAYMENT-RESPONSE.