npm · Malicious package advisory
Malware@rutxploit-sec/waves-icons
GHSA-6r7q-h4gr-h6xm
Malicious code in @rutxploit-sec/waves-icons (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (bdeb076eee35958fd0520e7f9cca9d361c47f02cb81c73288609ecdfb60bdbb1) @rutxploit-sec/waves-icons is a dependency-confusion proof-of-concept squatting the internal scope name @waves/icons. Its package.json declares a preinstall lifecycle hook that runs inline Node code (node -e...) which reads os.hostname() and os.userInfo().username and transmits them via http.get to a hardcoded beacon URL http://127.0.0.1:8099/?pkg=<pkg>&host=<host>&user=<user>. The hook also prints a marker string '[BUGBOUNTY] @waves/icons dep confusion EXECUTED' to confirm execution. The code path runs automatically on npm install on any machine that resolves this squatted scope, collecting installer host identifiers and sending them to an attacker-chosen endpoint. Although the beacon is currently set to loopback (127.0.0.1), it is a hardcoded destination the publisher controls and can trivially be changed or paired with an active listener; the install-time execution, host reconnaissance, and unsolicited outbound HTTP are present as published. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/df8912ac853d808526d73c577abd0cdfa8d704f1/osv/malicious/npm/@rutxploit-sec/waves-icons/MAL-2026-17291.json)) **References:** - https://github.com/ossf/malicious-packages/blob/df8912ac853d808526d73c577abd0cdfa8d704f1/osv/malicious/npm/@rutxploit-sec/waves-icons/MAL-2026-17291.json - https://www.npmjs.com/package/@rutxploit-sec/waves-icons/v/1.0.0 - https://github.com/advisories/GHSA-6r7q-h4gr-h6xm
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.