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

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

Description

The npm package devplatform-react-hooks version 35.5.7 contains malicious code that downloads and executes a platform-specific binary from dynamically constructed Cloudflare Workers hostnames and a DNS-TXT fallback domain. The binary is saved to a disguised path with executable permissions and launched detached from the main process. The package misleadingly claims to perform telemetry functions and provides environment variables to opt out of telemetry, but actually executes opaque native code at import time. A secondary module with similar behavior exists but is not invoked from the main entry point.

Affected software

npmghsa
devplatform-react-hooks
Affected versions
=35.5.7

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:36:33 UTC

Technical Analysis

The devplatform-react-hooks npm package version 35.5.7 includes malicious functionality triggered upon requiring its main entry point. It reconstructs hostnames for Cloudflare Workers dynamically and cycles through them to download a platform-specific binary. This binary is saved under a disguised filename in temporary directories (/var/tmp or %TEMP%), given executable permissions (0755), and executed detached via shell commands. The package attempts to disguise this behavior as telemetry collection and offers environment variable opt-outs, which do not prevent the malicious execution. An additional module with similar drop-and-execute behavior exists but is not reachable from the main entry. The package name and description do not reflect this malicious activity, indicating deliberate obfuscation.

Potential Impact

This malicious package can execute arbitrary native code on the host system without user consent, potentially leading to full system compromise, data theft, persistence, or further malware deployment. The execution of a downloaded binary from external hosts poses a significant risk of remote code execution and unauthorized control over affected systems.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove the affected version (=35.5.7) of devplatform-react-hooks from their projects and dependency trees. Avoid installing or using this package version. Monitor for any suspicious binaries or processes spawned from temporary directories matching the described patterns. Consider using trusted package sources and verifying package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.

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

Threat ID: 6a735739bf8831d53914d63a

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

Last enriched: 08/05/2026, 16:36:33 UTC

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