Malicious code in delivery-ci-codeceptjs (npm)
The npm package delivery-ci-codeceptjs contained malicious code that downloads and executes platform-specific native binaries from attacker-controlled infrastructure on package require. The package was identified by OpenSSF and published as a malicious package advisory.
- Disclosed
- Last updated
- Blast radius
- Any developer or system that installed the malicious delivery-ci-codeceptjs package and required it in their code.
- Ecosystems
- Attack vectors
- Affected entities
- delivery-ci-codeceptjsnpm package containing malicious code
The npm package delivery-ci-codeceptjs contained malicious code in its main entry point (_helpers.js). Upon require, the package executes a setup routine that downloads opaque native binaries from attacker-controlled Cloudflare Workers subdomains and alternative DNS-TXT fallback infrastructure under *.wel1.ru domains.\n\nThe malicious payload is downloaded without version pinning or cryptographic verification and is written to platform-specific temporary locations: /var/tmp/.cache_ on Unix systems or %TEMP%\\dotnet_diag_.exe on Windows. The binary is then executed with detached spawning via shell commands (/bin/sh -c or cmd /c start /b), allowing it to run independently of the parent process.\n\nThe package advertises a trivial no-op class and ships no native source code, indicating the download mechanism is the sole purpose of the malicious package. The hostname assembly via string fragment joining and DNS-TXT chunked reassembly of base64 payloads were designed to evade static string scanning. Staging paths use hidden dotfile and diagnostic-lookalike naming conventions to blend with normal system activity.\n\nThe incident was identified and credited to the OpenSSF malicious packages project.
Indicators of compromise
- Packages
- delivery-ci-codeceptjs
- Domains
- wel1.ru
- cf103-070.workers.dev
Remediation
- Immediately uninstall the delivery-ci-codeceptjs package from all systems and projects
- Audit npm package.json and lock files for any presence of delivery-ci-codeceptjs
- Review system logs and process execution history on any machine where the package was installed and required
- Check for unexpected binaries in /var/tmp/.cache_* (Unix) or %TEMP%\dotnet_diag_* (Windows)
- Verify integrity of any systems that may have executed the malicious payload
- Update npm dependencies and use npm audit to identify other potentially compromised packages
- Consider rotating credentials and reviewing access logs on affected systems
Sources
- GitHub Advisory GHSA-8j52-898h-vx53 · GitHub Advisory Database
Cite this entry
"Malicious code in delivery-ci-codeceptjs (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 7, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-delivery-ci-codeceptjs-npm-h8y37p
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in pump-segments-sdk (npm)
The npm package pump-segments-sdk contained malicious code in a postinstall hook that exfiltrated sensitive system and npm configuration data to an attacker-controlled server. The package collected hostname, environment variables, system information, npm auth tokens, and attempted to read password hashes.
npmCompromised package - containedcritical
Malicious code in ts-rand-sdk (npm)
The npm package ts-rand-sdk contained malicious code disguised as a product catalog loader. When the advertised getTransactions() API was called, hidden obfuscated JavaScript was decoded and executed with full Node.js capabilities, enabling arbitrary filesystem, process, and network access on affected systems.
npmCompromised package - resolvedcritical
Malicious code in lodsh-cli (npm)
lodsh-cli, a typosquat of lodash-cli on npm, contained malicious code in its postinstall script that executed arbitrary remote code and exfiltrated system information. The package downloaded a Windows executable and sent platform data to a hardcoded IP address.
npmTyposquattingCompromised package - containedcritical
Malicious code in lodahsjs (npm)
The npm package lodahsjs is a typosquatting attack on 'lodash' that contains malicious code in its postinstall script. Upon installation, it exfiltrates system information to a C2 server and downloads and executes a Windows binary, with capability to bridge WSL environments to compromise the host Windows system.
npmCompromised packageTyposquatting