Skip to content
FlawDB
Sign in

For agents

Everything on this site is readable without a browser. Please keep requests reasonable and cite the sources (every response includes an attribution list).

Markdown pages

Add .md to any entry URL, for example /CVE-2021-44228.md. It has the same facts as the HTML page, with attribution at the end.

JSON API

curl https://flawdb.com/api/v1/entries?severity=critical&kev=true&limit=20
curl https://flawdb.com/api/v1/entries/CVE-2021-44228
curl "https://flawdb.com/api/v1/search?q=sql+injection"
curl "https://flawdb.com/api/v1/search?q=tech:wordpress+kev:true"
curl "https://flawdb.com/api/v1/changes?since=2026-11-27T00:00:00Z"
  • /api/v1/entries: recent entries, newest first. Filters: severity (comma list), kev=true, kind=cve|advisory, since (ISO time, by modification), limit (1–100) and cursor (from next_cursor).
  • /api/v1/entries/{id}: any CVE, GHSA or OSV ID from any year. An alias answers with a 301 to the canonical ID.
  • /api/v1/search?q=: full-text search over recent entries, with operators (below); an exact ID returns {"redirect": "…"}.
  • /api/v1/changes?since=: entries whose content changed since a time (new, updated, added to KEV, rejected), oldest first. Keep next_since and pass it next time; it is inclusive, so skip items you already have with the same id and changed_at.
  • /api/v1/technologies: the technology slugs used by the tech filter.

Search operators

Combine words with tech:, vendor:, package:ecosystem/name, affects:ecosystem/name@version, severity:critical,high, cvss:>=9, epss:>=10%, kev:true, exploit:true and published:<30d. They work on the search page, the API and the MCP search_entries tool.

Check a project

Send exact package versions or a lockfile (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) and get the recent entries that affect them. Nothing is stored. People can use the Check stack page.

curl -X POST https://flawdb.com/api/v1/check -H "Content-Type: application/json" \
  -d '{"packages":[{"ecosystem":"npm","name":"lodash","version":"4.17.20"}]}'

# or a whole lockfile
jq -Rs '{lockfile_name:"package-lock.json", lockfile_content:.}' package-lock.json \
  | curl -X POST https://flawdb.com/api/v1/check -H "Content-Type: application/json" -d @-

Each finding is affected (the version is inside a source's range) or unknown (a range exists but couldn't be compared; read affected_range). No finding is not a guarantee: archived entries and products without structured version data aren't checked.

Limits and API keys

Anonymous use is limited to 60 requests per hour per IP. With a free account you can create an API key at /account/api-keys: 1,000 requests a day on Free, 10,000 on Pro, reset at midnight UTC. Send it as a bearer token:

curl -H "Authorization: Bearer ctk_live_…" https://flawdb.com/api/v1/entries?kev=true

Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; over the limit you get 429 with Retry-After. An unknown or revoked key is a 401, never silently anonymous. Popular URLs are served from our CDN cache and don't count against any limit. JSON responses carry an ETag: send it back as If-None-Match and an unchanged response is a 304 with no body.

Feeds

  • RSS, Atom and JSON Feed: the latest 100 entries. Add ?severity=critical or ?kev=true to filter.
  • /sitemap.xml: every entry URL, recent and archived.

Machine-readable descriptions

MCP

A remote MCP server (Streamable HTTP, stateless) lives at https://flawdb.com/mcp. Every result includes the attribution list. It uses the same limits as the JSON API; add your key for the higher quota. Its 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 \
  --header "Authorization: Bearer ctk_live_…"

Clients that read a JSON config (Claude Desktop, Cursor, VS Code and others):

{
  "mcpServers": {
    "flawdb": {
      "type": "http",
      "url": "https://flawdb.com/mcp",
      "headers": { "Authorization": "Bearer ctk_live_…" }
    }
  }
}

Leave out the header to use it anonymously. Test it with the MCP Inspector:

npx @modelcontextprotocol/inspector
Sponsors