{"uid":"cap_FFmOw10Fno9aEaRnUjhL_","slug":"stack-facts-cwe-lookup-e983ee7d","name":"Stack Facts CWE Lookup","description":"Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.","url":"https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/cwe/%7Bid%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"id":"CWE-79","url":"https://cwe.mitre.org/data/defi…","name":"Improper Neutralization of Inpu…","status":"Stable","related":{"capec":["CAPEC-63"]},"description":"The product does not neutralize…"},"meta":{"date":"2026-04-30","stale":false,"notice":"Copyright © 2006–2026, The MITR…","source":"https://cwe.mitre.org/","dataset":"cwe","version":"4.20","capec_date":"2023-01-24","attribution":"Copyright © 2006–2026, The MITR…","retrieved_at":"2026-10-09T06:00:00.000Z","capec_version":"3.9"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UsMnPYJrmy16nspLOnvrz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves detailed CWE (Common Weakness Enumeration) entry by ID, including name, description, status, and related CAPEC attack patterns.","exampleAgentPrompt":"What does CWE-79 mean? Look it up and give me the official MITRE name, description, and any related CAPEC attack patterns.","exampleUseCases":[{"title":"Enrich SAST scan findings","prompt":"My static analysis tool flagged CWE-89 in my code — can you look that up and give me the official MITRE description, its current status, and any associated attack patterns?"},{"title":"Security report annotation","prompt":"I'm writing a vulnerability report and need the official MITRE details for CWE-416: what's the full name, description, and status?"},{"title":"Developer education on weakness type","prompt":"Can you explain what CWE-22 is? Fetch the official entry so I get the exact name, description, and related CAPEC references."}],"resultDescription":"A JSON object with the CWE's official ID, name, full description, status (e.g. Stable), URL to the MITRE page, related CAPEC IDs, and metadata including dataset version (e.g. 4.20), source attribution, and retrieval timestamp.","failureModes":["Unknown or invalid CWE ID returns an error or empty data","Payment failure (insufficient USDC balance) blocks the request","Network timeout on the pay-per-call infrastructure","Stale data flag may indicate the dataset hasn't been refreshed recently"],"whenToPreferThis":"Choose this endpoint when you need structured, signed, machine-readable CWE data on demand without setting up an account or API key, and when you want pay-per-call USDC pricing rather than a subscription. Ideal for AI agents enriching vulnerability scan results, security reports, or developer tooling that requires authoritative MITRE CWE metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:34:20.951Z","isFirstParty":false,"canonicalSlug":"stack-facts-cwe-lookup-e983ee7d"}