Malicious code in devplatform-rest-resources-v1 (npm)
The npm package devplatform-rest-resources-v1 version 35.2.3 contains malicious code that, upon being required, downloads and executes a native binary from attacker-controlled infrastructure. This binary is fetched from Cloudflare Workers subdomains with a DNS TXT fallback, saved to temporary directories under disguised names, and executed detached with suppressed output. The package uses obfuscation techniques to evade static detection and presents the payload as diagnostic or analytics files without signature verification or version pinning. Every installation or require of this package results in execution of attacker-controlled code.
AI Analysis
Technical Summary
The devplatform-rest-resources-v1 npm package version 35.2.3 includes malicious functionality where its index.js loads a bootstrap script that selects a platform-specific endpoint and downloads an opaque native binary over HTTPS from attacker-controlled Cloudflare Workers subdomains, with a DNS TXT fallback to a suspicious domain. The binary is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned detached with output suppressed. The package uses array joins to obfuscate C2 hostnames and fallback domains to evade static scanners. It also implements execution gating and respects certain environment variables to appear as legitimate diagnostic or analytics activity. No signature verification or version pinning is performed, meaning the payload can be changed at will by the attacker. This results in arbitrary code execution on every system that installs or requires this package.
Potential Impact
This malicious package leads to arbitrary code execution on any system that installs or requires devplatform-rest-resources-v1 version 35.2.3. The attacker-controlled native binary can perform any actions with the privileges of the executing user, potentially leading to system compromise, data theft, or further malware deployment. The obfuscation and lack of signature verification increase the risk of undetected compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using devplatform-rest-resources-v1 version 35.2.3 and remove it from their environments. Verify all dependencies for malicious code and consider using trusted package sources and integrity verification mechanisms. Monitor for suspicious activity related to this package and block network connections to the identified attacker-controlled domains. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in devplatform-rest-resources-v1 (npm)
Description
The npm package devplatform-rest-resources-v1 version 35.2.3 contains malicious code that, upon being required, downloads and executes a native binary from attacker-controlled infrastructure. This binary is fetched from Cloudflare Workers subdomains with a DNS TXT fallback, saved to temporary directories under disguised names, and executed detached with suppressed output. The package uses obfuscation techniques to evade static detection and presents the payload as diagnostic or analytics files without signature verification or version pinning. Every installation or require of this package results in execution of attacker-controlled code.
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-v1 npm package version 35.2.3 includes malicious functionality where its index.js loads a bootstrap script that selects a platform-specific endpoint and downloads an opaque native binary over HTTPS from attacker-controlled Cloudflare Workers subdomains, with a DNS TXT fallback to a suspicious domain. The binary is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned detached with output suppressed. The package uses array joins to obfuscate C2 hostnames and fallback domains to evade static scanners. It also implements execution gating and respects certain environment variables to appear as legitimate diagnostic or analytics activity. No signature verification or version pinning is performed, meaning the payload can be changed at will by the attacker. This results in arbitrary code execution on every system that installs or requires this package.
Potential Impact
This malicious package leads to arbitrary code execution on any system that installs or requires devplatform-rest-resources-v1 version 35.2.3. The attacker-controlled native binary can perform any actions with the privileges of the executing user, potentially leading to system compromise, data theft, or further malware deployment. The obfuscation and lack of signature verification increase the risk of undetected compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately stop using devplatform-rest-resources-v1 version 35.2.3 and remove it from their environments. Verify all dependencies for malicious code and consider using trusted package sources and integrity verification mechanisms. Monitor for suspicious activity related to this package and block network connections to the identified attacker-controlled domains. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12745
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735739bf8831d53914e27b
Added to database: 08/05/2026, 15:31:05 UTC
Last enriched: 08/05/2026, 16:38:26 UTC
Last updated: 09/11/2026, 08:35:05 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.