prokit-core (npm) · Malicious Code
Affects prokit-coreSource GCVE Database
Malicious package : remove prokit-core and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 17:22 UTC
Malicious package
Published to npm · OSV MAL-2026-12420
What to do
Remove prokit-core from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmprokit-core | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The prokit-core npm package version 20.6.6 contains malicious code that executes attacker-controlled native binaries on the host system upon installation or import. It downloads a platform-specific binary from obfuscated Cloudflare Workers subdomains or via a DNS-TXT covert channel, writes it to temporary storage with disguised filenames, sets executable permissions, and runs it detached. The package uses a freshness marker to avoid repeated execution and disguises this behavior as telemetry.