Malicious code in ap3-components-ui (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-10150
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5d97e0570ae62fdcbbbd0f4cd4844cf39d0b77a0d4bb346dd6dcb748f0300c43) Package 'ap3-components-ui' at version 9.999.0 declares a preinstall hook ("node index.js > /dev/null 2>&1") that shells out to collect installer-side identifiers — hostname, current working directory, username, and the installer's public IP (fetched via curl to ifconfig.me) — hex-encodes the collected data, and exfiltrates it as DNS subdomain queries under d987f5ra3q1r1j7ahol0yzuwujwe76i55.oast.fun, an attacker-controlled Interactsh collector. The package name is also embedded in the beacon payload so the operator can correlate which internal name resolved externally. The tarball has an empty description, no README, and no library code beyond the exfil script — the canonical shape of a dependency-confusion squat on an internal package name, published at the sentinel version 9.999.0 to force resolution over any legitimate internal release. ## Source: ghsa-malware (5f2c3d09574001397eb1c0787d8298cba49b06053182389330d32a421da0010a) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 10 Jul 2026 16:47:46 UTC
- Source modified
- 1 Sep 2026 11:30:58 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.