{"uid":"cap_BE6htAMQcczSDurCJWixD","slug":"agentdiet-code-release-security-gate-e625abae","name":"AgentDiet Code Release Security Gate","description":"Deterministic HTML/DOM/JSON/RAG context distiller that strips 85-97% of token bloat before LLM ingestion while preserving 100% of semantic entities, citations, and code blocks.","url":"https://agentdiet.dev/v1/workflows/code-release-security-gate?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_4O3a8zLP_85MsLxvEdssm","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":"Scans a GitHub repository for code release security vulnerabilities, supply-chain risks, and compliance issues before deployment.","exampleAgentPrompt":"Run a security gate scan on my GitHub repo at github.com/myorg/myapp before I cut the next release — check for vulnerabilities, supply-chain risks, and anything that should block deployment.","exampleUseCases":[{"title":"Pre-release security gate for open source project","prompt":"Before I publish version 2.0 of my open source library at github.com/acme/libfoo, run a security scan and tell me if there are any vulnerabilities or supply-chain issues I need to fix first."},{"title":"CI/CD pipeline security check","prompt":"My team is about to deploy github.com/startup/backend to production — can you run a code-release security gate scan and flag anything that should block the release?"},{"title":"Dependency and license risk audit before shipping","prompt":"Audit github.com/mycompany/data-pipeline for any risky dependencies, hidden backdoors, or license violations that could cause problems when we ship next week."}],"resultDescription":"Returns a JSON object with a status field, a data object containing security findings and risk flags, and an roi_proof object showing the compression ratio (e.g. 91.4%) of the distilled output — covering vulnerability detections, supply-chain signals, and a pass/fail gate verdict for the scanned repository.","failureModes":["Invalid or inaccessible repo URL returns an error status","Repository is private without proper credentials causing 401/403","Rate limits or upstream GitHub API failures causing timeouts","Malformed query parameters return schema validation errors","Empty or newly created repos with no code may return minimal findings"],"whenToPreferThis":"Choose this endpoint when you need a fast, token-efficient pre-release security gate specifically for GitHub repositories — it combines vulnerability scanning, supply-chain risk detection, and license checks in a single distilled response, making it ideal for CI/CD automation where context-window efficiency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:03:57.340Z","isFirstParty":false,"canonicalSlug":"agentdiet-code-release-security-gate-e625abae"}