Malicious code in @securihackbot/depconf-stage-1792484738 (npm)
Description
Source: amazon-inspector (d8d8706d2a75c053047537a4f57f754a572a1ca4cec4cde80d00e453878013e1)
The package's npm postinstall hook automatically executes on install and transmits installer-identifying data to a hardcoded remote endpoint. It collects os.hostname(), the local username, platform/arch, Node version, package name, and a nonce, base64-encodes the payload, and sends it as a d= query parameter via plain-HTTP GET to 34.143.131.27/@securihackbot/depconf-stage-...) and bundled configure.sh workflow are structured to be re-published under victim-internal scopes so that npm install of an internal package name resolves to this artifact from the public registry, at which point the postinstall beacon fires and leaks the host, user, and internal package name back to the operator — a dependency-confusion attack payload against any environment that resolves it.
---