API & MCP

Everything a person can do on Security Advisory Timeline, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Security Advisory Timeline

Merges every OSV.dev advisory for a package (npm, PyPI, Go, crates.io, Maven, RubyGems, Packagist, NuGet) or a list of advisory IDs into one chronological timeline: publication, last modification, withdrawal and fix releases with their registry release dates (npm and PyPI). For each advisory it lists affected version ranges and fixed versions, and measures how long before or after disclosure the fix shipped and how long vulnerable versions were current. Paste OSV JSON to work without live lookups.

Inputs of Security Advisory Timeline
FieldTypeDefaultDescription
ecosystemselect (npm, PyPI, Go, crates.io, Maven, RubyGems, Packagist, NuGet)"npm"Ecosystem
packageNametext—Package name
advisoryIdstextarea—Or advisory IDs (one per line)
osvJsontextarea—Or paste OSV JSON (offline). Response of POST https://api.osv.dev/v1/query, an array of OSV records, or one record.
releaseTimesJsontextarea—Optional: pasted release dates (offline). npm packument (uses "time"), PyPI JSON (uses "releases") or {"1.2.3": "2024-01-01T00:00:00Z"}.
fetchReleaseDatesbooleantrueLook up fix release dates (npm / PyPI registry)

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "security-advisory-timeline": { "type": "http", "url": "https://securityadvisorytimeline.usefulweb.site/mcp" }
  }
}