{"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},"version":"1.0","contract_hash":"0ea252c4fda633175767841bebb5969a72c919fc65db2f4f7b9835af3669da0f","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.226Z","activated_at":"2026-12-06T03:33:09.226Z","active":true,"contract_hash":"0ea252c4fda633175767841bebb5969a72c919fc65db2f4f7b9835af3669da0f","fields_count":15}]}