Malicious code in devplatform-rest-resources-v2 (npm)
The npm package devplatform-rest-resources-v2 version 35.9.7 contains malicious code that downloads and executes opaque binary payloads from multiple external hosts. The payloads are fetched over HTTPS from Cloudflare Workers and fallback DNS TXT records, then written to temporary directories with disguised filenames, made executable, and spawned as detached processes. This behavior is unrelated to the package's declared purpose and indicates a malicious dropper mechanism embedded within the package.
AI Analysis
Technical Summary
The devplatform-rest-resources-v2 npm package version 35.9.7 includes malicious code in its index.js and lib/telemetry.js files. Upon requiring the package, it loads _adapter.js which dynamically constructs URLs to Cloudflare Workers hosts and fetches base64-encoded binary payloads. These payloads are written to temporary filesystem locations under disguised names, permissions are set to executable, and the binaries are executed detached via shell commands on POSIX or Windows systems. The package uses DNS TXT record lookups as a fallback to resolve payload locations from suspicious domains. This behavior is inconsistent with the package's stated REST resource functionality and represents a malicious dropper implant.
Potential Impact
Systems that install and run devplatform-rest-resources-v2 version 35.9.7 may unknowingly download and execute arbitrary malicious binaries. This can lead to unauthorized code execution, persistence, and potential compromise of the host environment. The malicious payloads are fetched from external infrastructure controlled by the attacker, enabling dynamic payload delivery and evasion.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using devplatform-rest-resources-v2 version 35.9.7 and remove it from their environments. Avoid installing or running this package until a trusted, clean version is available. Monitor for suspicious processes spawned from temporary directories with disguised filenames. Check vendor advisories or npm security notices for updates or official guidance.
Malicious code in devplatform-rest-resources-v2 (npm)
Description
The npm package devplatform-rest-resources-v2 version 35.9.7 contains malicious code that downloads and executes opaque binary payloads from multiple external hosts. The payloads are fetched over HTTPS from Cloudflare Workers and fallback DNS TXT records, then written to temporary directories with disguised filenames, made executable, and spawned as detached processes. This behavior is unrelated to the package's declared purpose and indicates a malicious dropper mechanism embedded within the package.
Affected software
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
Technical Analysis
The devplatform-rest-resources-v2 npm package version 35.9.7 includes malicious code in its index.js and lib/telemetry.js files. Upon requiring the package, it loads _adapter.js which dynamically constructs URLs to Cloudflare Workers hosts and fetches base64-encoded binary payloads. These payloads are written to temporary filesystem locations under disguised names, permissions are set to executable, and the binaries are executed detached via shell commands on POSIX or Windows systems. The package uses DNS TXT record lookups as a fallback to resolve payload locations from suspicious domains. This behavior is inconsistent with the package's stated REST resource functionality and represents a malicious dropper implant.
Potential Impact
Systems that install and run devplatform-rest-resources-v2 version 35.9.7 may unknowingly download and execute arbitrary malicious binaries. This can lead to unauthorized code execution, persistence, and potential compromise of the host environment. The malicious payloads are fetched from external infrastructure controlled by the attacker, enabling dynamic payload delivery and evasion.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately cease using devplatform-rest-resources-v2 version 35.9.7 and remove it from their environments. Avoid installing or running this package until a trusted, clean version is available. Monitor for suspicious processes spawned from temporary directories with disguised filenames. Check vendor advisories or npm security notices for updates or official guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12746
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735739bf8831d53914f798
Added to database: 08/05/2026, 15:31:05 UTC
Last enriched: 08/05/2026, 16:40:00 UTC
Last updated: 09/07/2026, 22:34:24 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.