Malicious code in devplatform-s3-resources (npm)
The devplatform-s3-resources npm package version 35.5.1 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers hosts and DNS TXT record channels. The binary is saved under disguised filenames in temporary directories and executed detached from the main process. The package masquerades as legitimate S3 tooling but acts as a second-stage loader. It includes evasion techniques such as obfuscated endpoint hostnames and CI environment detection to avoid analysis and repeated execution within a ~5.9 hour window.
AI Analysis
Technical Summary
The devplatform-s3-resources package version 35.5.1 includes malicious functionality where its index.js loads a compatibility module that selects a platform-specific binary URL from obfuscated Cloudflare Workers hosts. It downloads the binary over HTTPS, falling back to a DNS TXT record covert channel that reconstructs base64-encoded chunks from multiple domains. The binary is written to temporary directories with disguised filenames, permissions set to executable, and then spawned detached with hidden windows and ignored stdio. A timestamp file prevents repeated execution within approximately 5.9 hours. The package name mimics legitimate S3 resource tooling but is actually a second-stage loader designed to evade static scanners and avoid execution in continuous integration environments.
Potential Impact
This malicious package can lead to unauthorized code execution on systems where it is installed, potentially allowing attackers to run arbitrary binaries with the privileges of the user running the npm package. The use of covert DNS channels and obfuscated endpoints complicates detection and analysis. The evasion of CI environments and deduplication of execution reduces the likelihood of discovery during automated builds or repeated runs.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.5.1 of devplatform-s3-resources from their environments. Avoid installing or using this package version and verify dependencies for supply chain integrity. Monitor for any unexpected binaries or processes spawned from temporary directories with disguised names. Check vendor advisories or trusted security sources for updates or official guidance.
Malicious code in devplatform-s3-resources (npm)
Description
The devplatform-s3-resources npm package version 35.5.1 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers hosts and DNS TXT record channels. The binary is saved under disguised filenames in temporary directories and executed detached from the main process. The package masquerades as legitimate S3 tooling but acts as a second-stage loader. It includes evasion techniques such as obfuscated endpoint hostnames and CI environment detection to avoid analysis and repeated execution within a ~5.9 hour window.
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-s3-resources package version 35.5.1 includes malicious functionality where its index.js loads a compatibility module that selects a platform-specific binary URL from obfuscated Cloudflare Workers hosts. It downloads the binary over HTTPS, falling back to a DNS TXT record covert channel that reconstructs base64-encoded chunks from multiple domains. The binary is written to temporary directories with disguised filenames, permissions set to executable, and then spawned detached with hidden windows and ignored stdio. A timestamp file prevents repeated execution within approximately 5.9 hours. The package name mimics legitimate S3 resource tooling but is actually a second-stage loader designed to evade static scanners and avoid execution in continuous integration environments.
Potential Impact
This malicious package can lead to unauthorized code execution on systems where it is installed, potentially allowing attackers to run arbitrary binaries with the privileges of the user running the npm package. The use of covert DNS channels and obfuscated endpoints complicates detection and analysis. The evasion of CI environments and deduplication of execution reduces the likelihood of discovery during automated builds or repeated runs.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.5.1 of devplatform-s3-resources from their environments. Avoid installing or using this package version and verify dependencies for supply chain integrity. Monitor for any unexpected binaries or processes spawned from temporary directories with disguised names. Check vendor advisories or trusted security sources for updates or official guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12748
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735739bf8831d53914e2fb
Added to database: 08/05/2026, 15:31:05 UTC
Last enriched: 08/05/2026, 16:38:58 UTC
Last updated: 09/07/2026, 22:06:21 UTC
Views: 18
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.