Malicious packages · osv

Which packages in the registry are out to get you.

About 200k open-source advisories — most of them poisoned or typosquatting npm and PyPI packages — with what each one does, which real package it imitates, and what to block.

search 2 credits · free sample: malicious npm package

deepxiv fa · osv

What it answers

What it does
Behaviour is a closed set — credential theft, exfiltration, droppers, backdoors — so a filter asks the question directly.
What it imitates
For a typosquat, imitates names the legitimate package it pretends to be, matched fuzzily.
What to block
The domains, IPs and URLs a package reaches out to come back as indicators.

Three calls

Straight from the gateway’s own self-description — these are the calls it suggests first.

Poisoned packages in one ecosystem
POST /v1/osv/search {"query": "steals environment variables", "filters": {"malicious": true, "ecosystems": "npm"}}
Reverse lookup by IOC
POST /v1/osv/search {"query": "", "filters": {"indicators": "webhook.site"}}
Read one
GET /v1/osv/read/MAL-2026-17452

Narrow it — behaviors · ecosystems · malicious · published · source · vuln_class

What it will not do

Behaviour, the imitated package and indicators are read out of the advisory by a model, not by running the code. A sort, or a filter on imitates, indicators or published, runs the whole query in the keyword store, and each hit says which layer answered. Every advisory keeps the licence of its source.

  • Division of labour with cve: **cve holds CVE-numbered vulnerabilities** (about 390k from NVD plus KEV and EPSS; exact count in /v1/cve corpus); **osv holds what CVE does not cover** — overwhelmingly poisoned / impersonating packages (mostly npm), which never get a CVE id. The two domains do not overlap; for supply-chain poisoning, use osv.
  • Reverse lookup by IOC: filters.indicators=["some-domain"] finds every package that exfiltrates to it. Each IOC was verified to appear in the advisory text — not model-invented.
  • Typosquatting: filters.imitates is a fuzzy match, so "requests" finds the packages impersonating it.

Answered something wrong here, or missing what you came for? Send us the case

Point an agent at it

Free samples run without a key; a key takes a minute.