API
Every advisory is published as static JSON. There is no key, no rate limit beyond the host's, and no tracking. Requests for a hash you look up are ordinary file requests.
Endpoints
| Path | Returns |
|---|---|
https://cursorfiles.com/api/v1/index.json | Every advisory in short form, with its affected and fixed hashes. Download it once and match locally: nothing about your files leaves your machine. |
https://cursorfiles.com/api/v1/sha256/<hash>.json | Advisories that affect one file hash. A 404 means none. |
https://cursorfiles.com/api/v1/advisories/<id>.json | One full advisory in OSV format. |
https://cursorfiles.com/feed.xml | RSS feed of new advisories. |
Hashing
Look files up by their normalized SHA-256: drop a leading UTF-8 byte order mark, turn CRLF line endings into LF, then hash the bytes. The cursorfiles CLI does this for you.
For registries and install tools
Check a file's hash before installing it and warn on any advisory that is not withdrawn. Cache index.json and refresh it hourly. A missing advisory never means a file is safe, so do not label files as verified.
Bulk data
The Git repository holds every advisory as a JSON file and is the master copy. Mirror it freely under CC BY 4.0.