If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
Source: amazon-inspector (2d5f9a7272f857bde925f1f22ec114119eab70458f07f935c16179d40939db89)
The package's preinstall and postinstall lifecycle scripts in package.json issue plain-HTTP GET requests to the hardcoded bare IP endpoint http://38.242.235.206/depconf/internal-renderers/preinstall and /postinstall. Each request transmits the installer's OS username (process.env.USER or USERNAME), hostname (os.hostname()), and current working directory (process.cwd()) as URL query parameters. The requests fire automatically and unconditionally during `npm install`. The destination is a bare IPv4 address unrelated to any legitimate publisher, uses cleartext HTTP, and the package name combined with the version 10.0.0 and the `/depconf/` URL path are consistent with a dependency-confusion probe designed to detect and fingerprint internal build environments that resolve this public name instead of a private internal package. The shipped code performs no other functionality; the sole effect of installing this package is the identity beacon.
Source: ghsa-malware (278909ae8921ad2d06b0c033a34470a00adb33d3853e3793c8d9c473a362ad1a)
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.