Malicious code in boardwalk-js-tests (npm)
The npm package boardwalk-js-tests contained malicious code in its preinstall script that performed host reconnaissance and exfiltrated system information to an attacker-controlled domain during installation. The package provided no legitimate functionality and was designed solely for data theft.
- Disclosed
- Last updated
- Blast radius
- Any developer or system that installed boardwalk-js-tests via npm
- Ecosystems
- Attack vectors
- Affected entities
- boardwalk-js-testsnpm package containing malicious preinstall script
The npm package boardwalk-js-tests was found to contain malicious code that executed during installation. The package.json declared a preinstall hook that ran index.js on npm install.\n\nThe malicious script collected sensitive system information including the installer's hostname, username, home directory, DNS server list, and current working directory. It also read the contents of /etc/passwd and /etc/hosts files, then exfiltrated this data as a JSON payload via HTTPS POST to h8q14cqgn5ra8v0bjg70nqxsbjhc52tr.oastify.com, a Burp Collaborator (OAST) subdomain controlled by the attacker.\n\nThe package provided no advertised functionality; its sole purpose was host reconnaissance and data exfiltration at install time. The incident was identified and credited to the OpenSSF malicious-packages repository.\n\nThis represents a direct supply chain compromise where the package itself was weaponized to target developers and systems that installed it.
Indicators of compromise
- Packages
- boardwalk-js-tests
- Domains
- h8q14cqgn5ra8v0bjg70nqxsbjhc52tr.oastify.com
Remediation
- Immediately uninstall boardwalk-js-tests from all systems and projects
- Review npm install logs and audit systems that installed this package for signs of compromise
- Change credentials and SSH keys on any system that installed this package
- Monitor affected systems for unauthorized access or data exfiltration
- Check DNS queries and outbound HTTPS connections for communication with the attacker domain
- Review /etc/passwd and /etc/hosts files for unauthorized modifications
- Consider this a potential credential and system information disclosure event and treat accordingly
Sources
- GitHub Advisory GHSA-978x-49gc-fq44 · GitHub Advisory Database
Cite this entry
"Malicious code in boardwalk-js-tests (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 5, 2026; last updated August 5, 2026. https://supplychainattack.org/incident/malicious-code-in-boardwalk-js-tests-npm-1izlo9
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in svelte-dim-kit
The npm package svelte-dim-kit was found to contain malware, potentially giving attackers full control of affected systems. All systems with this package installed should be considered compromised and secrets/keys rotated immediately from a different computer.
npmCompromised package - containedcritical
Malicious code in @syncraft-labs/react (npm)
The npm package @syncraft-labs/react contained obfuscated malicious code in its ESM distribution that implements the EtherHiding pattern, fetching and executing arbitrary code from an Ethereum smart contract via RPC endpoints. The tampering occurred post-build in the dist/index.js artifact.
npmCompromised package - containedcritical
Malicious code in stillm4ddpocs-demo-sprocket (npm)
The npm package stillm4ddpocs-demo-sprocket version 999.9.12 contains malicious code that exfiltrates system and project metadata via multiple channels (HTTPS, HTTP, and DNS) to a hardcoded callback host. The package uses a high version number to exploit dependency-confusion attacks against organizations with internal packages of the same name.
npmCompromised packageDependency confusion - resolvedcritical
Malicious code in stillm4ddpocs-rtest-bravo (npm)
The npm package stillm4ddpocs-rtest-bravo contained malicious code in its preinstall script that automatically executed during installation, collecting system information and internal package metadata and exfiltrating it to a third-party Interactsh collector via HTTPS and DNS tunneling.
npmCompromised package