# FlawDB: full guide for agents > A free, merged vulnerability feed. One entry per vulnerability, merged from the CVE List, NVD, the GitHub Advisory Database, OSV, CISA KEV and FIRST EPSS. Severity, CVSS, KEV, exploits and mitigations come from those sources. AI only adds a labelled summary, technology tags and verbatim-quoted versions. Recent entries are those published since 2026-11-10 plus older ones added to CISA KEV. Lists, search, changes and the stack check cover recent entries; single-entry lookups (HTML, .md, JSON, get_entry) cover every year. ## Entry - https://flawdb.com/{id}.md: Markdown (facts, who should check, timeline, an agent prompt, FAQ, references, attribution) - https://flawdb.com/api/v1/entries/{id}: JSON. Schema: https://flawdb.com/schemas/entry.json - Important fields: severity (critical|high|medium|low|unknown), cvss {score, version, vector, source}, kev {listed, added, due, ransomware}, exploit.public, epss {score, percentile}, affected[] {ecosystem, name, affected, fixed[]}, affected_products[], mitigation, references[], attribution[] - An alias (GHSA → CVE, old IDs) answers 301 to the canonical ID. ## GET /api/v1/entries Recent entries, newest first. Parameters: severity (comma list), kev=true, kind=cve|advisory, tech (slug from /api/v1/technologies), vendor, package (ecosystem:name, e.g. npm:lodash), since (ISO, by source modification time), limit (1–100), cursor (next_cursor). ## GET /api/v1/search?q= Words and/or operators (2–200 characters). sort=newest (default) or relevance. An exact ID returns {"redirect": "/api/v1/entries/…"}. Operators (all optional, combined with AND): - tech: vendor: package:/ - affects:/@: only entries whose affected ranges include that exact version - severity:critical,high cvss:>=9 epss:>=10% kev:true exploit:true - published:<30d or published:>=2026-11-01 Ecosystems: npm, PyPI, Packagist (composer), crates.io (cargo), Go, RubyGems, Maven, NuGet, WordPress. Invalid operators are ignored and explained in "warnings"; "filters" shows what was applied. Examples: - https://flawdb.com/api/v1/search?q=tech%3Awordpress%20kev%3Atrue (WordPress entries in CISA KEV) - https://flawdb.com/api/v1/search?q=affects%3Anpm%2Flodash%404.17.20 (entries whose ranges include that exact version) - https://flawdb.com/api/v1/search?q=remote%20code%20execution%20cvss%3A%3E%3D9%20published%3A%3C30d (words plus filters) - https://flawdb.com/api/v1/search?q=vendor%3Afortinet%20severity%3Acritical%2Chigh (a vendor's critical and high entries) - https://flawdb.com/api/v1/search?q=package%3Apackagist%2Flaravel%2Fframework%20exploit%3Atrue (a package with a public exploit) - https://flawdb.com/api/v1/search?q=epss%3A%3E%3D10%25 (likely to be exploited soon (FIRST EPSS)) ## GET /api/v1/changes?since= Entries whose content changed at or after since: new, updated, added to CISA KEV or rejected (EPSS-only updates don't count). Oldest change first; each item has changed_at and status. Polling: keep next_since and pass it as since next time. It is inclusive, so skip items you already have with the same id and changed_at. While next_cursor is not null there are more items for this since. Send If-None-Match with the last ETag; an unchanged page answers 304. ## POST /api/v1/check Which recent vulnerabilities affect exact package versions. Body (JSON), one of: - {"packages": [{"ecosystem": "npm", "name": "lodash", "version": "4.17.20"}], "include_dev": true} - {"lockfile_name": "package-lock.json", "lockfile_content": ""} Lockfiles: package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock, composer.lock, requirements.txt, poetry.lock, uv.lock, Cargo.lock, go.sum, Gemfile.lock (requirements*.txt with == pins). Up to 5000 packages or 5 MB. Nothing is stored. Versions must be installed versions (4.17.20), not ranges (^4.17.0). Bad lines are listed in "skipped". Answer: summary {affected, unknown, not_affected}, findings[] {package, status, affected_range, fixed[], entry, package_url}, notes, attribution. - status "affected": the version is inside a source's affected range. - status "unknown": a range exists but couldn't be compared with the version; read affected_range. - No finding is not a guarantee: packages without structured version data, and archived entries, aren't checked (package_url has the archived history). Example: curl -X POST https://flawdb.com/api/v1/check -H "Content-Type: application/json" -d '{"packages":[{"ecosystem":"npm","name":"lodash","version":"4.17.20"}]}' WordPress: ecosystem "WordPress" (plugins), "WordPress-theme" (themes), "WordPress-core" with name "wordpress". Findings from Wordfence carry their record's attribution. ## POST /api/v1/lookup Many IDs at once. Body: {"ids": ["CVE-2021-44228", "GHSA-…"]} or {"text": ""} (CVE and GHSA IDs are pulled out of it). Up to 100 IDs; older (archived) entries 25 per request. Nothing is stored. Answer: items[] (EntryListItem plus requested, fixed[], kev {listed, added, due, ransomware}, attribution[] for Wordfence data), not_found[], not_checked[] (archived IDs past the limit; send them again), truncated, attribution. Example: curl -X POST https://flawdb.com/api/v1/lookup -H "Content-Type: application/json" -d '{"ids":["CVE-2021-44228","CVE-2024-3094"]}' ## GET /api/v1/cvss Scores a CVSS 3.0, 3.1 or 4.0 vector: ?vector=CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Answer: version, vector (canonical order), base_score (base metrics only, what CVE records publish), score (with threat or temporal metrics), rating (none|low|medium|high|critical), adjusted, examples[] (up to 8 recent entries with exactly this vector), attribution. CVSS 4.0 follows FIRST's reference calculator. Anonymous calls have their own limit of 600 an hour per IP. ## GET /api/v1/technologies Categories and technology slugs for tech= and tech:. ## MCP server https://flawdb.com/mcp: Streamable HTTP, stateless, POST only. Read-only tools: - search_entries: full text plus operators (tech:, vendor:, package:, affects:, severity:, cvss:, epss:, kev:, exploit:, published:) - get_entry: one CVE, GHSA or OSV entry from any year, with attribution - list_entries: recent entries by technology, vendor, package, severity, KEV or since - list_changes: entries whose content changed since a time, for keeping a copy current - check_stack: which recent vulnerabilities affect exact package versions or a lockfile - list_technologies: the technology slugs used for filtering Claude Code: claude mcp add --transport http flawdb https://flawdb.com/mcp Same limits as the JSON API; add "Authorization: Bearer ctk_live_…" for the key's quota. ## Feeds RSS https://flawdb.com/feed.xml, Atom https://flawdb.com/feed.atom, JSON Feed https://flawdb.com/feed.json (latest 100; ?severity=… and ?kev=true). Per technology: https://flawdb.com/tech/{slug}/feed.xml. ## Blog - https://flawdb.com/blog (HTML) · https://flawdb.com/blog/feed.xml (RSS) · https://flawdb.com/blog/{slug}.md (Markdown) - [A CVE feed fits on Neon's free tier, as long as the database gets to sleep](https://flawdb.com/blog/neon-free-tier-cve-feed.md): How FlawDB keeps a full CVE feed on Neon Free: hot and cold storage, no polling, and the 03:00 deadlock that kept the database awake. - [Patch what's being exploited first, then worry about the 9.8s](https://flawdb.com/blog/cisa-kev-epss-cvss.md): CVSS scores how bad a bug could be. CISA KEV and EPSS say whether anyone is using it. Why the second question should decide what you patch first. - [Edge devices and old bugs still outrank a quiet KEV month](https://flawdb.com/blog/exploited-vulnerabilities-october-2026.md): CISA added 36 vulnerabilities to KEV in October 2026. What stood out, with the numbers. ## Machine-readable - https://flawdb.com/openapi.json: OpenAPI 3.1 description of the JSON API - https://flawdb.com/schemas/entry.json: JSON Schema of an entry - https://flawdb.com/.well-known/mcp.json: MCP server description (registry server.json format) - https://flawdb.com/llms-full.txt: the full agent guide ## Limits and caching - Anonymous: 60 requests per hour per IP for /api/v1 and /mcp. API keys from https://flawdb.com/account/api-keys: 1,000/day (Free), 10,000/day (Pro), reset at midnight UTC. A bad key is 401, never silently anonymous. - Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset; 429 has Retry-After. - JSON GET responses carry an ETag; send If-None-Match to get 304 when nothing changed. - Errors: {"error": {"code", "message", "details"?}} with codes validation_failed, not_found, rate_limited, invalid_api_key, unavailable, payload_too_large. ## Attribution (required when you republish) - CVE® is a registered trademark of The MITRE Corporation; CVE records © The MITRE Corporation. - This product uses data from the NVD API but is not endorsed or certified by the NVD. - GitHub Advisory Database and OSV data are CC-BY 4.0; link to the advisory. - Wordfence entries carry their own Defiant copyright and licence link in the entry's attribution. - Every entry's JSON has an "attribution" array with the exact notices and links; lists, search, check and MCP results include the site-wide notices.