{"uid":"cap_cfpjhrFJKbf4cn5chqkPu","slug":"agentdiet-code-security-analysis-751adea9","name":"AgentDiet Code Security Analysis","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/code-security?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"repo":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6MgVUDGWb126mjwyrTAe6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a code repository for security vulnerabilities and returns a compressed security report via a paid x402 API gateway.","exampleAgentPrompt":"Can you run a code security scan on the repo 'myorg/myproject' and tell me what vulnerabilities or security issues it finds?","exampleUseCases":[{"title":"Pre-deployment security audit","prompt":"Before we ship this release, can you run a security scan on the 'acme-corp/backend-api' repository and flag any critical vulnerabilities I should fix first?"},{"title":"Open source dependency check","prompt":"I'm about to use 'open-source-org/popular-library' as a dependency — can you scan it for known security issues so I know if it's safe to include?"},{"title":"Continuous security monitoring","prompt":"Scan 'myteam/payments-service' for security vulnerabilities and give me a summary of what was found so I can decide whether to block this merge."}],"resultDescription":"A JSON response containing a 'data' object with security findings, a 'status' field indicating success, and an 'roi_proof' object showing a compression ratio (e.g. 91.4%) demonstrating how much raw data was condensed into the report.","failureModes":["Missing or invalid 'repo' query parameter may return empty or error data","Payment of $0.01 USDC not settled on Base results in 402 Payment Required response","Unknown or private repository may return no findings or an access error","Malformed input object (missing 'type' or 'method' fields) causes schema validation failure","Gateway unavailability returns a non-200 status"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.01 USDC) automated security scan of a code repository via an x402-compatible payment flow, especially in agentic pipelines that already settle payments in USDC on Base. It is well-suited for agents that need compressed, machine-readable security intelligence without setting up a full CI/CD security toolchain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:22.509Z","isFirstParty":false,"canonicalSlug":"agentdiet-code-security-analysis-751adea9"}