UTC

ShieldMap Data Export

The package advisories behind ShieldMap that come from openly licensed sources, as two JSON files for other tools to read.

Files

https://www.shieldpi.io/map/exports/v1/advisories.json
Every package with its advisories.
https://www.shieldpi.io/map/exports/v1/manifest.json
The byte length and SHA-256 of advisories.json, and each source's licence and attribution.

Both are static files, generated each time the site is built from the data snapshots in that build. Every field, cisa_kev included, is as of the date its snapshot was made, not the build's, except modified, which comes from the advisory details ShieldPi reads separately and can be older or newer than the snapshot. No sign-in is needed. The /map/data/ files the map's own pages read are a different, internal format that can change without notice; use this export instead.

advisories.json

FieldTypeMeaning
schemastringAlways "shieldpi.shieldmap-export/1" in this version.
generatedstring (YYYY-MM-DD)The date of the oldest data snapshot in the build the file comes from.
licencestringA reminder that each record stays under the licence of the source it names.
sourcesarrayThe sources records can name, each with id, name, licence (an SPDX identifier), licence_url, attribution and url.
packagesarrayOne entry per package, sorted by ecosystem and then name.

Each package

FieldTypeMeaning
ecosystemstringThe registry, by the GitHub Advisory Database's ecosystem name in lower case, with pip written pypi: for example npm, pypi, go, maven, nuget, rust, rubygems, composer or swift.
namestringThe package name as ShieldMap keys it: npm names in lower case, PyPI names normalised as PEP 503 describes, other registries as the advisory spells them.
advisoriesarrayThe package's advisories, sorted by id.

Each advisory

FieldTypeMeaning
idstringThe GHSA id exactly as the GitHub Advisory Database gives it.
sourcestringThe id of the source in sources the record comes from; in this version always github-advisory-database.
aliasesarray of stringsOther identifiers for the same advisory. Today that is the CVE id GitHub lists, when it lists one.
kindstringAlways vulnerability in this version. Later versions may add other kinds; skip a record whose kind you do not know.
severitystring or nullGitHub's rating: critical, high, medium or low. Null wherever the data cannot show GitHub gave the rating. The snapshot used to record an advisory GitHub left unrated as medium; rows written since are marked when GitHub rated them, so a medium on a row written before that mark existed is null until the row is refreshed.
affectedarrayThe affected version ranges, each { range, fixed }, each listed once. range is the advisory's range as written (for example ">= 2.0.0, < 2.1.0"); fixed is the first patched version, or null when none is listed.
publishedstring or nullThe date GitHub published the advisory (YYYY-MM-DD).
modifiedstring or nullThe date GitHub last updated the advisory, as of when ShieldPi last read its details; it can lag behind GitHub. Null when unknown.
cisa_kevbooleanWhether one of the advisory's CVE ids was in CISA's Known Exploited Vulnerabilities catalog when the snapshot was made.
urlstringThe advisory's page in the GitHub Advisory Database.

The export holds no summaries, descriptions, scores or ratings of ShieldPi's own. Read the advisory at its url for the details.

Sources and attribution

Only sources whose licence allows redistribution are included. Each record keeps its source's licence; if you republish the data, credit the sources with the attribution text below, which the manifest also carries. For the GitHub Advisory Database it states the changes made. ShieldPi selected records and fields; wrote GitHub's pip ecosystem as pypi; wrote npm package names in lower case and PyPI names normalised as PEP 503 describes; shortened publication timestamps to dates; left severity empty where the data cannot show the rating is GitHub's; listed the CVE id under aliases; combined the version ranges of one advisory into a list; and added whether CISA's Known Exploited Vulnerabilities catalog lists the CVE.

  • GitHub Advisory Database, CC-BY-4.0

    Contains data from the GitHub Advisory Database (https://github.com/advisories), licensed under CC BY 4.0. ShieldPi selected records and fields; wrote GitHub's pip ecosystem as pypi; wrote npm package names in lower case and PyPI names normalised as PEP 503 describes; shortened publication timestamps to dates; left severity empty where the data cannot show the rating is GitHub's; listed the CVE id under aliases; combined the version ranges of one advisory into a list; and added whether CISA's Known Exploited Vulnerabilities catalog lists the CVE.

  • CISA Known Exploited Vulnerabilities catalog, CC0-1.0

    Contains data from CISA's Known Exploited Vulnerabilities catalog (https://www.cisa.gov/known-exploited-vulnerabilities-catalog), CC0 1.0.

GitHub's malware advisories are not included yet: their licence terms are not confirmed, so this version carries only vulnerability advisories.

Also left out: advisories that projects publish only in their own repositories, Cursor's app advisories, ShieldPi's guidance and workaround text, incidents, model and extension data, agent-skill indicators, and anything else ShieldMap shows from sources with other terms. The malicious-package look-alike records ShieldMap reads from OpenSSF Malicious Packages are not included yet.

Upstream ids

Each id is the source's own, unchanged: match on GHSA or, through aliases, CVE ids. The export does not mint ids. One advisory can appear under several packages; it has the same id under each.

Verify a download

The manifest's files list gives the path, bytes and sha256 of advisories.json, computed from the exact bytes served. Compare them with your copy:

curl -sO https://www.shieldpi.io/map/exports/v1/advisories.json
curl -s https://www.shieldpi.io/map/exports/v1/manifest.json
shasum -a 256 advisories.json   # or: sha256sum advisories.json
wc -c advisories.json

Fetch both files from the same build: they are replaced together when the site is rebuilt. The manifest's schema is shieldpi.shieldmap-export-manifest/1.

Stability

Files under /map/exports/v1/ keep the shape described here. Later changes only add fields, source ids and kind values; no field is renamed, removed or given a new meaning. A change that cannot be made that way gets a new path, such as v2. Read unknown fields as optional, skip a record whose kind you do not know, and ignore what you do not use.

Corrections

To report a wrong record, send the id and what is wrong to [email protected]. A correction to the data itself belongs with its source too, since the next build reads the source again.