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 devplatform-hooks (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:51:25 UTC)
Source: GCVE Database
Product: devplatform-hooks

Description

The devplatform-hooks npm package version 35.2.1 contains malicious code that, upon installation or import, downloads and executes a platform-specific payload. It uses obfuscated Cloudflare Workers URLs and a fallback DNS-TXT covert channel to fetch a binary, which is saved under disguised filenames and executed detached from the parent process. This behavior effectively makes the package a remote code execution dropper.

Affected software

npmghsa
devplatform-hooks
Affected versions
=35.2.1

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, 16:29:58 UTC

Technical Analysis

The devplatform-hooks package (npm ecosystem) at version 35.2.1 includes code in index.js that loads _init.js, which dynamically constructs obfuscated URLs hosted on Cloudflare Workers to fetch an executable payload. If the HTTPS fetch fails, it uses a DNS-TXT record covert channel querying specific domains to retrieve base64-encoded binary chunks, which are concatenated and decoded. The binary is saved to temporary directories with disguised names and executed detached using platform-specific shell commands, enabling remote code execution triggered by simply installing or importing the package.

Potential Impact

This malicious package enables remote code execution on any system that installs or imports devplatform-hooks version 35.2.1. The attacker can execute arbitrary code with the privileges of the user running the package, potentially leading to full system compromise, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid installing or importing devplatform-hooks version 35.2.1. Remove any installations of this package and audit systems for signs of compromise. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removals. Since this is a malicious package, consider blocking it in your package management policies.

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-12711
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735737bf8831d5391495a9

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

Last enriched: 08/05/2026, 16:29:58 UTC

Last updated: 08/05/2026, 16:29:58 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