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
- resolvedcritical
Malicious code in santana-baileys (npm)
Malicious code discovered in santana-baileys npm package that covertly relays WhatsApp messaging data to an attacker-controlled endpoint (https://fiora.nixel.my.id/) via obfuscated character-code reconstruction in the message-send code path.
npmCompromised package - resolvedcritical
Malicious code in elephant-tusk-runner (npm)
The npm package elephant-tusk-runner contained malicious code that exposed a remote shell and remote code execution surface via an unauthenticated Express + WebSocket server binding to 0.0.0.0:4201 with fully open CORS. Any peer able to reach the port could execute arbitrary commands on the host.
npmCompromised package - resolvedcritical
Malicious code in @cats-cdf/browser-metrics-meter (npm)
The npm package @cats-cdf/browser-metrics-meter contained malicious code in its preinstall lifecycle script that exfiltrated system reconnaissance data (username, hostname, public IP) to an OAST collector domain. The package executed this behavior unconditionally on installation without consent or documented purpose.
npmCompromised package - resolvedcritical
Malicious code in @ks-video/kwai-player-web (npm)
The npm package @ks-video/kwai-player-web contained malicious code in its postinstall hook that exfiltrated system reconnaissance data (hostname, username, working directory, network interfaces, environment variable names) over plain HTTP to an unrelated third-party domain. The package has no legitimate relationship to the declared publisher Kwai/@ks-video.
npmCompromised package