Malicious code in devplatform-integrations-tests-lib (npm)
The devplatform-integrations-tests-lib npm package version 35.2.5 contains malicious code that downloads and executes a native binary from suspicious Cloudflare workers.dev hosts and fallback domains. The malicious payload is written to temporary system directories with filenames mimicking legitimate system artifacts and executed in a concealed manner. This behavior is hidden within the package's bootstrap and telemetry modules, which act as a cover for the dropper functionality.
AI Analysis
Technical Summary
The devplatform-integrations-tests-lib package version 35.2.5 includes malicious code that, upon requiring the package, selects a platform-specific asset path and downloads a native binary from Cloudflare workers.dev hosts (e.g., oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback to domains like *.dl.wel1.ru. The binary is saved to temporary directories (/var/tmp/.cache_<rand> on Unix or %TEMP%\dotnet_diag_<rand>.exe on Windows), permissions are set to executable (chmod 0755), and it is spawned detached via shell commands (/bin/sh -c or cmd.exe). The package conceals the use of child_process by splitting the string 'child_process' and assembling it dynamically. The staging filenames (analytics_state, dotnet_diag_*.exe) mimic legitimate system artifacts to evade detection. This malicious download-chmod-spawn pattern is duplicated in the lib/telemetry.js module, providing a secondary execution path. The package name and telemetry framing serve as a cover for this dropper behavior.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running a binary from attacker-controlled infrastructure. This can lead to full system compromise, persistence, and further malicious activities. The use of legitimate-looking filenames and obfuscation techniques increases the risk of evasion and prolonged undetected presence on affected systems.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove version 35.2.5 of devplatform-integrations-tests-lib from their environments and avoid installing it. Verify the integrity of dependencies and consider using trusted package sources or lockfiles to prevent installation of malicious packages. Monitor for any signs of compromise related to this package and conduct incident response if it was installed.
Malicious code in devplatform-integrations-tests-lib (npm)
Description
The devplatform-integrations-tests-lib npm package version 35.2.5 contains malicious code that downloads and executes a native binary from suspicious Cloudflare workers.dev hosts and fallback domains. The malicious payload is written to temporary system directories with filenames mimicking legitimate system artifacts and executed in a concealed manner. This behavior is hidden within the package's bootstrap and telemetry modules, which act as a cover for the dropper functionality.
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-integrations-tests-lib package version 35.2.5 includes malicious code that, upon requiring the package, selects a platform-specific asset path and downloads a native binary from Cloudflare workers.dev hosts (e.g., oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback to domains like *.dl.wel1.ru. The binary is saved to temporary directories (/var/tmp/.cache_<rand> on Unix or %TEMP%\dotnet_diag_<rand>.exe on Windows), permissions are set to executable (chmod 0755), and it is spawned detached via shell commands (/bin/sh -c or cmd.exe). The package conceals the use of child_process by splitting the string 'child_process' and assembling it dynamically. The staging filenames (analytics_state, dotnet_diag_*.exe) mimic legitimate system artifacts to evade detection. This malicious download-chmod-spawn pattern is duplicated in the lib/telemetry.js module, providing a secondary execution path. The package name and telemetry framing serve as a cover for this dropper behavior.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running a binary from attacker-controlled infrastructure. This can lead to full system compromise, persistence, and further malicious activities. The use of legitimate-looking filenames and obfuscation techniques increases the risk of evasion and prolonged undetected presence on affected systems.
Defensive Guidance
No official patch or remediation is currently available for this malicious package version. Users should immediately remove version 35.2.5 of devplatform-integrations-tests-lib from their environments and avoid installing it. Verify the integrity of dependencies and consider using trusted package sources or lockfiles to prevent installation of malicious packages. Monitor for any signs of compromise related to this package and conduct incident response if it was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12716
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735738bf8831d53914b485
Added to database: 08/05/2026, 15:31:04 UTC
Last enriched: 08/05/2026, 16:33:11 UTC
Last updated: 08/05/2026, 16:33:11 UTC
Views: 2
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.