{"api":{"id":"api_5393326341c5685584b547a3","slug":"malicious-packages","name":"Malicious Open-Source Packages","description":"Reports of malicious open-source packages from OSV.dev, newest first, for npm, PyPI, RubyGems, NuGet, crates.io, Go, Maven, Packagist and VS Code extensions: report id, registry, package, purl, bad versions, what the package does, who reported it, aliases, links and dates.","kind":"ready_made","visibility":"public","domain":"osv.dev","source_url":"https://osv.dev/list?q=MAL-","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":15,"created_at":"2026-12-06T03:33:09.226Z","updated_at":"2026-12-06T03:33:09.226Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"OSV id of the report, such as MAL-2026-21159.","required":true,"coverage":1,"example":"MAL-2026-21002"},{"name":"url","type":"url","description":"The report's page on osv.dev.","required":false,"coverage":1,"example":"https://osv.dev/vulnerability/MAL-2026-21002"},{"name":"ecosystem","type":"string","description":"Registry of the package as OSV names it, such as npm or PyPI; VS Code extensions also carry their marketplace.","required":false,"coverage":1,"example":"npm"},{"name":"package","type":"string","description":"Name of the package in that registry.","required":true,"coverage":1,"example":"@querying/sneaky-win32-x64"},{"name":"purl","type":"string","description":"Package URL (purl) of the package, such as pkg:npm/left-pad.","required":false,"coverage":1,"example":"pkg:npm/%40querying/sneaky-win32-x64"},{"name":"versions","type":"array","description":"Versions reported as malicious, or a range such as >=0.2.0 when the report gives one; empty when every version is.","required":false,"coverage":1,"example":["0.5.15","0.5.14"]},{"name":"is_all_versions_malicious","type":"boolean","description":"True when every version of the package is reported malicious.","required":false,"coverage":1,"example":false},{"name":"summary","type":"string","description":"One-line summary of the report.","required":false,"coverage":1,"example":"Malicious code in @querying/sneaky-win32-x64 (npm)"},{"name":"details","type":"string","description":"What the package does, as the reporter described it (up to 1,000 characters).","required":false,"coverage":1,"example":"Any computer that has this package installed or running should be considered fully compromised. All secrets and keys…"},{"name":"sources","type":"array","description":"Feeds that reported it, such as ghsa-malware, ossf-package-analysis, amazon-inspector or reversing-labs.","required":false,"coverage":1,"example":["ghsa-malware"]},{"name":"aliases","type":"array","description":"Other ids of the same report, such as GitHub advisory ids.","required":false,"coverage":0.4,"example":["GHSA-rv7m-phxv-3xcr"]},{"name":"references","type":"array","description":"Links to the advisory, analysis or evidence.","required":false,"coverage":1,"example":["https://github.com/advisories/GHSA-rv7m-phxv-3xcr"]},{"name":"published_at","type":"datetime","description":"When the report was first published (UTC).","required":false,"coverage":1,"example":"2026-12-03T02:45:02.000Z"},{"name":"modified_at","type":"datetime","description":"When the report last changed (UTC).","required":false,"coverage":1,"example":"2026-12-06T01:31:06.043Z"},{"name":"withdrawn_at","type":"datetime","description":"When the report was withdrawn as a false alarm (UTC); filled only when include_withdrawn is on.","required":false,"coverage":0,"example":null}],"inputs":[{"name":"ecosystems","type":"array","description":"Registries to read: npm, PyPI, RubyGems, NuGet, crates.io, Go, Maven, Packagist and VSCode (VS Code extensions). Leave it empty for all of them.","example":["npm","PyPI"],"enum":["npm","PyPI","RubyGems","NuGet","crates.io","Go","Maven","Packagist","VSCode"]},{"name":"since","type":"string","description":"Only reports added or changed on or after this moment, as a day such as 2026-12-01 (UTC midnight) or a time such as 2026-12-01T12:00:00Z.","example":"2026-12-01"},{"name":"include_withdrawn","type":"boolean","description":"Also return reports the source withdrew as false alarms, with withdrawn_at set. Turn it on when you keep a block list in sync.","default":false}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"aliases":{"description":"Other ids of the same report, such as GitHub advisory ids.","type":"array"},"details":{"description":"What the package does, as the reporter described it (up to 1,000 characters).","type":"string"},"ecosystem":{"description":"Registry of the package as OSV names it, such as npm or PyPI; VS Code extensions also carry their marketplace.","type":"string"},"id":{"description":"OSV id of the report, such as MAL-2026-21159.","type":"string"},"is_all_versions_malicious":{"description":"True when every version of the package is reported malicious.","type":"boolean"},"modified_at":{"description":"When the report last changed (UTC).","format":"date-time","type":"string"},"package":{"description":"Name of the package in that registry.","type":"string"},"published_at":{"description":"When the report was first published (UTC).","format":"date-time","type":"string"},"purl":{"description":"Package URL (purl) of the package, such as pkg:npm/left-pad.","type":"string"},"references":{"description":"Links to the advisory, analysis or evidence.","type":"array"},"sources":{"description":"Feeds that reported it, such as ghsa-malware, ossf-package-analysis, amazon-inspector or reversing-labs.","type":"array"},"summary":{"description":"One-line summary of the report.","type":"string"},"url":{"description":"The report's page on osv.dev.","format":"uri","type":"string"},"versions":{"description":"Versions reported as malicious, or a range such as >=0.2.0 when the report gives one; empty when every version is.","type":"array"},"withdrawn_at":{"description":"When the report was withdrawn as a false alarm (UTC); filled only when include_withdrawn is on.","format":"date-time","type":"string"}},"required":["id","package"],"title":"Malicious Open-Source Packages","type":"object"},"samples":[{"id":"MAL-2026-21002","url":"https://osv.dev/vulnerability/MAL-2026-21002","ecosystem":"npm","package":"@querying/sneaky-win32-x64","purl":"pkg:npm/%40querying/sneaky-win32-x64","versions":["0.5.15","0.5.14"],"is_all_versions_malicious":false,"summary":"Malicious code in @querying/sneaky-win32-x64 (npm)","details":"Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been…","sources":["ghsa-malware"],"aliases":["GHSA-rv7m-phxv-3xcr"],"references":["https://github.com/advisories/GHSA-rv7m-phxv-3xcr"],"published_at":"2026-12-03T02:45:02.000Z","modified_at":"2026-12-06T01:31:06.043Z","withdrawn_at":null},{"id":"MAL-2026-21159","url":"https://osv.dev/vulnerability/MAL-2026-21159","ecosystem":"npm","package":"kairo-bail-f3","purl":"pkg:npm/kairo-bail-f3","versions":["7.0.0-rc13"],"is_all_versions_malicious":false,"summary":"Malicious code in kairo-bail-f3 (npm)","details":"Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been…","sources":["ghsa-malware"],"aliases":["GHSA-3hpj-fmwf-fvvg"],"references":["https://github.com/advisories/GHSA-3hpj-fmwf-fvvg"],"published_at":"2026-12-06T00:06:12.000Z","modified_at":"2026-12-06T00:45:05.030Z","withdrawn_at":null},{"id":"MAL-2026-21158","url":"https://osv.dev/vulnerability/MAL-2026-21158","ecosystem":"PyPI","package":"compress-template","purl":"pkg:pypi/compress-template","versions":["0.4.6"],"is_all_versions_malicious":false,"summary":"Malicious code in compress-template (PyPI)","details":"During import, package executes an obfuscated command that downloads a script, which then downloads a malicious executable.\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\nCampaign: 2026-12-compress-template\nReasons (based on the campaign):\n-…","sources":["kam193"],"aliases":[],"references":["https://www.virustotal.com/gui/file/2646172219515a647256f2d9a508614984e8d8ada242a503e88fd2ff531ff0cd/detection","https://bad-packages.kam193.eu/pypi/package/compress-template"],"published_at":"2026-12-05T20:41:37.000Z","modified_at":"2026-12-05T21:15:03.333Z","withdrawn_at":null}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"aliases":0.67,"details":1,"ecosystem":1,"id":1,"is_all_versions_malicious":1,"modified_at":1,"package":1,"published_at":1,"purl":1,"references":1,"sources":1,"summary":1,"url":1,"versions":1,"withdrawn_at":0},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_5393326341c5685584b547a3/run","openapi":"https://pullrow.dev/v1/apis/api_5393326341c5685584b547a3/openapi.json","contract":"https://pullrow.dev/v1/apis/api_5393326341c5685584b547a3/contract.json","page":"https://pullrow.dev/catalog/malicious-packages"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Reports come from the OpenSSF Malicious Packages project through OSV.dev (Apache-2.0), some from GitHub advisories (CC BY 4.0): credit OSV.dev and OpenSSF Malicious Packages when you publish them.","The list of reports refreshes every few minutes at the source but can be up to about an hour behind. A report often appears hours after the package went out, when the registry may already have removed it.","At most 2,000 reports per run, newest change first. Most reports are for npm, PyPI, NuGet and RubyGems; crates.io, Go, Maven, Packagist and VS Code have only a few.","Withdrawn reports (false alarms) are left out unless include_withdrawn is on; withdrawn_at is filled only then.","versions is empty when every version of the package is reported; is_all_versions_malicious is then true. sources is empty for reports sent straight to the project.","details is the reporter's own description, cut to 1,000 characters; the full report is at url."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"OSV id of the report, such as MAL-2026-21159.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"The report's page on osv.dev.","group":"Links","shown":true,"written":false},{"name":"ecosystem","label":"Ecosystem","description":"Registry of the package as OSV names it, such as npm or PyPI; VS Code extensions also carry their marketplace.","group":"Basics","shown":true,"written":false},{"name":"package","label":"Package","description":"Name of the package in that registry.","group":"Basics","shown":true,"written":false},{"name":"purl","label":"Purl","description":"Package URL (purl) of the package, such as pkg:npm/left-pad.","group":"Basics","shown":true,"written":false},{"name":"versions","label":"Versions","description":"Versions reported as malicious, or a range such as >=0.2.0 when the report gives one; empty when every version is.","group":"Basics","shown":true,"written":false},{"name":"is_all_versions_malicious","label":"All versions malicious","description":"Yes when every version of the package is reported malicious.","group":"Basics","shown":true,"written":false},{"name":"summary","label":"Summary","description":"One-line summary of the report.","group":"Basics","shown":true,"written":false},{"name":"details","label":"Details","description":"What the package does, as the reporter described it (up to 1,000 characters).","group":"Basics","shown":true,"written":false},{"name":"sources","label":"Sources","description":"Feeds that reported it, such as ghsa-malware, ossf-package-analysis, amazon-inspector or reversing-labs.","group":"Basics","shown":true,"written":false},{"name":"aliases","label":"Aliases","description":"Other ids of the same report, such as GitHub advisory ids.","group":"Basics","shown":true,"written":false},{"name":"references","label":"References","description":"Links to the advisory, analysis or evidence.","group":"Basics","shown":true,"written":false},{"name":"published_at","label":"Published","description":"When the report was first published (UTC).","group":"Dates","shown":true,"written":false},{"name":"modified_at","label":"Modified","description":"When the report last changed (UTC).","group":"Dates","shown":true,"written":false},{"name":"withdrawn_at","label":"Withdrawn at","description":"When the report was withdrawn as a false alarm (UTC); filled only when include_withdrawn is on.","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"ecosystems","label":"Ecosystems","help":"Registries to read: npm, PyPI, RubyGems, NuGet, crates.io, Go, Maven, Packagist and VSCode (VS Code extensions). Leave it empty for all of them.","example":"npm, PyPI","written":false},{"name":"since","label":"Since","help":"Only reports added or changed on or after this moment, as a day such as 2026-12-01 (UTC midnight) or a time such as 2026-12-01T12:00:00Z.","example":"2026-12-01","written":false},{"name":"include_withdrawn","label":"Include withdrawn","help":"Also return reports the source withdrew as false alarms, with withdrawn_at set. Turn it on when you keep a block list in sync.","example":"","written":false}]}},"incidents":[]}