{"uid":"cap_fC12aNri8wo1-J466FMo9","slug":"agentdiet-ghsa-advisories-lookup-32c38429","name":"AgentDiet GHSA Advisories Lookup","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/ghsa-advisories?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":{"package":{"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_5E2KQNCrFGENWmVqtrtj1","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":"Fetches and distills GitHub Security Advisory (GHSA) data for a given package, compressing vulnerability context for efficient agent consumption.","exampleAgentPrompt":"Can you pull the GitHub Security Advisory records for the lodash package and give me a compressed summary of any known vulnerabilities?","exampleUseCases":[{"title":"Dependency vulnerability check before deploy","prompt":"Before we ship this release, can you check the GHSA advisories for requests (the Python package) and tell me if there are any active security issues I should know about?"},{"title":"Agent pipeline security enrichment","prompt":"I need you to fetch GHSA advisory data for express and distill it down — I want the key vulnerability details without a huge blob of text eating my context window."},{"title":"Open source audit for compliance","prompt":"We're auditing our dependencies for compliance — can you look up any GitHub Security Advisories for django and give me a condensed report of what's been flagged?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the GHSA advisory records for the queried package, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), confirming how much token bloat was removed from the raw advisory content.","failureModes":["Unknown or misspelled package name returns empty data or error","Payment not settled in USDC on Base results in 402 response blocking access","Missing required 'input' or 'method' fields returns schema validation error","Package with no GHSA advisories returns empty data object with status ok","Network or node availability issues may cause timeout or 5xx response"],"whenToPreferThis":"Use this endpoint when an agent needs to check GitHub Security Advisories for a specific package without consuming large amounts of context window space — the built-in compression (reported compression ratios up to 91%) makes it especially valuable in token-constrained agentic pipelines. Prefer this over raw GitHub Advisory API calls when you need distilled, agent-ready vulnerability summaries paid per-call in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:45.128Z","isFirstParty":false,"canonicalSlug":"agentdiet-ghsa-advisories-lookup-32c38429"}