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 (925628ce795fdbf222c292ae4ccfbe710eda2fa1b6fd521db3379f9569e16f9b)
The package contains a single index.html file declared as `main` and no JavaScript entry point, lifecycle scripts (preinstall/install/postinstall/prepare), or library exports. The HTML mimics a Cloudflare 'Just a moment...' Turnstile challenge and embeds obfuscator.io-style JavaScript with a custom base64 string array. When the fake challenge completes, decoded strings are used to construct a URL via `new URL(...)`, the current page's query parameters are forwarded via `URLSearchParams(window.location.search).forEach(...targetUrl.searchParams.append...)`, and the browser is navigated with `window.location.replace(targetUrl.toString())`. The redirect only executes in a browser that renders index.html; `npm install` and `require()` of this package run no code and touch no installer resources. The artifact appears to be an abuse of the npm registry as a static host for a phishing/redirect lure rather than an attack on developers installing the package.
Source: ghsa-malware (e19fa62b42fed4ea0f175e4fa4838fefd1072ffef406b9342de3e187b9529ebf)
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.