{"uid":"cap_N_lKB6QySanPWjCv5tYc3","slug":"gpt-code-audit-service-05a05e84","name":"GPT Code Audit Service","description":"","url":"https://gpt.558686.xyz/v1/audit/code?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","description":"Source code to audit (required, max 500KB)"},"context":{"type":"string","description":"Extra context about the codebase"},"filename":{"type":"string","description":"Filename for context"},"language":{"type":"string","description":"Programming language (auto-detected if omitted)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X2wEfYaKFB3TS-KvFW4uS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs an AI-powered security and quality audit of submitted source code, returning findings and recommendations.","exampleAgentPrompt":"Can you audit this Python function for security vulnerabilities and code quality issues? Here it is: `def login(user, pwd): query = 'SELECT * FROM users WHERE username=' + user + ' AND password=' + pwd`","exampleUseCases":[{"title":"SQL injection detection in login code","prompt":"Audit this PHP login function for SQL injection vulnerabilities: `$query = 'SELECT * FROM users WHERE email=' . $_POST['email'];`"},{"title":"Security review of API authentication logic","prompt":"Review my Node.js JWT authentication code for security weaknesses — I want to know if there are any token validation issues or privilege escalation risks."},{"title":"Code quality check before production deploy","prompt":"Before I push this to production, can you do a full audit of my Python Flask route handler for bugs, security issues, and any bad practices I should fix?"}],"resultDescription":"Returns an audit report containing identified security vulnerabilities, code quality issues, potential bugs, severity ratings, and actionable recommendations for improving the submitted code.","failureModes":["Empty or missing input code returns an error or empty findings","Very large code submissions may be truncated or rejected","Non-code text input may produce irrelevant or generic feedback","Network timeout for unusually complex or long code snippets","Payment failure (402) if USDC balance is insufficient for the $1.50 call fee"],"whenToPreferThis":"Choose this endpoint when you need a quick, automated AI-driven security and quality audit of a code snippet without setting up a full static analysis pipeline. Best suited for individual functions or modules rather than entire large codebases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:39:38.954Z","isFirstParty":false,"canonicalSlug":"gpt-code-audit-service-05a05e84"}