Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in prokit-core (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:51:40 UTC)
Source: GCVE Database
Product: prokit-core

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.

Affected software

npmghsa
prokit-core
Affected versions
=20.6.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 17:22:47 UTC

Technical Analysis

The prokit-core package (npm ecosystem) version 20.6.6 includes malicious functionality in its index.js which loads _helpers.js. This helper script dynamically constructs hostnames to download an opaque binary over HTTPS from Cloudflare Workers subdomains. If that fails, it falls back to a DNS-TXT covert channel that reconstructs a base64-encoded payload from TXT records under *.dl.well1.site domains. The binary is saved to /var/tmp or %TEMP% with disguised names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), permissions are set to executable (chmod 0755), and it is spawned detached via shell commands (/bin/sh -c or cmd.exe). A freshness marker file (/tmp/.analytics_state) prevents repeated execution. The code comments misleadingly frame this as telemetry, but it results in execution of attacker-controlled native code on the host.

Potential Impact

Installing or importing prokit-core version 20.6.6 results in execution of attacker-controlled native code on the host system, potentially allowing arbitrary code execution and full compromise of the affected environment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing or importing prokit-core version 20.6.6. Consider removing this package from existing environments and scanning for presence of the malicious binaries and marker files described.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12420
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735745bf8831d539159ee2

Added to database: 08/05/2026, 15:31:17 UTC

Last enriched: 08/05/2026, 17:22:47 UTC

Last updated: 08/05/2026, 17:22:47 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses