Malicious code in devplatform-spa-plugin-s3-router (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8d2d2addbad66de5b68e55eb91db20968268ed1f7a951835a35aef1159e4af41) On require() of devplatform-spa-plugin-s3-router, index.js loads _helpers.js which runs a bootstrap routine at module load. The code assembles Cloudflare Workers hostnames (oob-worker.cf10-0-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) via string-splitting and.join("") to hide them from static scans, with a DNS-TXT covert-channel fallback under *.dl.wel1.ru (sdk, ext, pkg, net) that reconstructs a base64-encoded binary from numbered subdomain TXT records. The retrieved binary is written to /tmp or the Windows temp directory under a disguised name mimicking Microsoft dotnet diagnostics (dotnet_diag_<hex>.exe or.cache_<hex>), chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start. A.analytics_state file rate-limits re-execution. A sibling lib/telemetry.js contains the same dropper primitives (HTTPS fetch, DNS service discovery, chmodSync to 0755, cp.spawn of /bin/sh -c on the dropped file) though it is not currently reached from index.js. The package advertises itself as an SPA S3 router plugin and has no legitimate reason to fetch and execute a native binary at import time. ## Source: ghsa-malware (5a5b51f0b5bcc60ce843f2828af3152cb384ff04a096c62c8acc5fcf86775a08) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The devplatform-spa-plugin-s3-router npm package (version 35.1.3) includes malicious code that triggers on require(). It loads _helpers.js, which performs a bootstrap routine that assembles Cloudflare Workers hostnames via string manipulation to evade static analysis. It uses a DNS-TXT covert channel fallback under *.dl.wel1.ru to reconstruct a base64-encoded binary from numbered subdomain TXT records. This binary is written to the system's temporary directory under a disguised filename mimicking Microsoft dotnet diagnostics, made executable (chmod 0755), and executed detached via shell commands (/bin/sh -c or cmd /c start). A sibling telemetry.js file contains similar dropper code but is not currently invoked. The package's behavior is inconsistent with its advertised functionality, indicating malicious intent.
Potential Impact
The malicious code enables remote code execution on the host system by downloading and executing a binary without user consent or legitimate purpose. This can lead to unauthorized system compromise, persistence, and potentially further malicious activity. The use of obfuscation and covert DNS channels complicates detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove and avoid using devplatform-spa-plugin-s3-router version 35.1.3. Audit systems for presence of this package and any suspicious binaries in temporary directories named like dotnet_diag_<hex>.exe or .cache_<hex>.exe. Monitor for unexpected spawned processes originating from npm packages. Check vendor advisories or npm security advisories for updates or removals of this package. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in devplatform-spa-plugin-s3-router (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8d2d2addbad66de5b68e55eb91db20968268ed1f7a951835a35aef1159e4af41) On require() of devplatform-spa-plugin-s3-router, index.js loads _helpers.js which runs a bootstrap routine at module load. The code assembles Cloudflare Workers hostnames (oob-worker.cf10-0-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) via string-splitting and.join("") to hide them from static scans, with a DNS-TXT covert-channel fallback under *.dl.wel1.ru (sdk, ext, pkg, net) that reconstructs a base64-encoded binary from numbered subdomain TXT records. The retrieved binary is written to /tmp or the Windows temp directory under a disguised name mimicking Microsoft dotnet diagnostics (dotnet_diag_<hex>.exe or.cache_<hex>), chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start. A.analytics_state file rate-limits re-execution. A sibling lib/telemetry.js contains the same dropper primitives (HTTPS fetch, DNS service discovery, chmodSync to 0755, cp.spawn of /bin/sh -c on the dropped file) though it is not currently reached from index.js. The package advertises itself as an SPA S3 router plugin and has no legitimate reason to fetch and execute a native binary at import time. ## Source: ghsa-malware (5a5b51f0b5bcc60ce843f2828af3152cb384ff04a096c62c8acc5fcf86775a08) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
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-spa-plugin-s3-router npm package (version 35.1.3) includes malicious code that triggers on require(). It loads _helpers.js, which performs a bootstrap routine that assembles Cloudflare Workers hostnames via string manipulation to evade static analysis. It uses a DNS-TXT covert channel fallback under *.dl.wel1.ru to reconstruct a base64-encoded binary from numbered subdomain TXT records. This binary is written to the system's temporary directory under a disguised filename mimicking Microsoft dotnet diagnostics, made executable (chmod 0755), and executed detached via shell commands (/bin/sh -c or cmd /c start). A sibling telemetry.js file contains similar dropper code but is not currently invoked. The package's behavior is inconsistent with its advertised functionality, indicating malicious intent.
Potential Impact
The malicious code enables remote code execution on the host system by downloading and executing a binary without user consent or legitimate purpose. This can lead to unauthorized system compromise, persistence, and potentially further malicious activity. The use of obfuscation and covert DNS channels complicates detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove and avoid using devplatform-spa-plugin-s3-router version 35.1.3. Audit systems for presence of this package and any suspicious binaries in temporary directories named like dotnet_diag_<hex>.exe or .cache_<hex>.exe. Monitor for unexpected spawned processes originating from npm packages. Check vendor advisories or npm security advisories for updates or removals of this package. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13261
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a73852ebf8831d5394f0591
Added to database: 08/05/2026, 18:47:10 UTC
Last enriched: 08/05/2026, 22:02:16 UTC
Last updated: 09/07/2026, 22:19:37 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.