Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Package- and commit-resolved open-source advisories for building dependency exposure monitors and remediation queues.
From source to product signal
OSV.dev aggregates OpenSSF OSV-format advisories and matches them to package names, versions, and commits. Start by querying one pinned package version. A match is not the same as a CVE or CPE lookup in NVD, and it does not prove that your deployed code path is exploitable.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
response = requests.post(
"https://api.osv.dev/v1/query",
json={
"version": "2.4.1",
"package": {"name": "jinja2", "ecosystem": "PyPI"},
},
timeout=30,
)
response.raise_for_status()
advisories = pd.DataFrame(response.json().get("vulns", []))
advisories["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(advisories[["id", "summary", "published"]].head(20))Test a useful signal
List OSV advisories that match a specific PyPI package version and note their aliases.
Google OSV is a company source. Last verified 2026-08-14. Temporal coverage: continuously updated advisories from participating ecosystems.