Skip to main content

Malicious code in devplatform-s3-resources (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:45:26 UTC)
Source: GCVE Database
Product: devplatform-s3-resources

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

npmghsa
devplatform-s3-resources
Affected versions
=35.5.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:38:58 UTC

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.

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-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 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