Malicious code in @hrmony/benefit-mobilitaet (npm)
Description
On module load, index.js unconditionally contacts the EC2 Instance Metadata Service at 169.254.169.254, obtains an IMDSv2 token, and retrieves instance identity, user-data, and all IAM role temporary security credentials from /iam/security-credentials/. It also enumerates every entry of process.env and recursively reads files under /var/run/secrets/ (Kubernetes service-account tokens and mounted secrets). The collected data is POSTed as JSON to the hardcoded attacker-controlled endpoint hrnmn.dd.h4x.tv/
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.