Malicious code in @hrmony/benefit-sachbezug (npm)
The npm package @hrmony/benefit-sachbezug (version 1.99.0) contains malicious code that executes upon import or require. It collects sensitive AWS EC2 instance metadata, IAM role credentials, environment variables, Kubernetes secrets, and user data, then sends this information to a hardcoded attacker-controlled endpoint. This behavior effectively compromises any system running the package, risking exposure of all stored secrets and keys.
AI Analysis
Technical Summary
The malicious npm package @hrmony/benefit-sachbezug version 1.99.0 executes code at import time that harvests sensitive data from the host environment. It queries the AWS EC2 Instance Metadata Service (IMDSv2) to obtain tokens, instance identity documents, IAM temporary credentials, network and security group metadata, and user data. Additionally, it enumerates all environment variables and recursively reads Kubernetes secrets from /var/run/secrets/. All collected data is exfiltrated via POST requests to a hardcoded external endpoint (https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_benefit-sachbezug). The package matches known dependency-confusion beacon patterns targeting internal scopes, indicating a supply chain attack vector.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker gains access to sensitive AWS credentials, environment variables, Kubernetes secrets, and other metadata, enabling potential unauthorized access and control over cloud resources and the host system. All secrets and keys stored on the compromised system should be considered exposed and require immediate rotation. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the @hrmony/benefit-sachbezug package version 1.99.0 is required. All secrets, keys, and credentials stored on the affected system must be rotated from a secure, uncompromised environment. Conduct a thorough investigation for persistence mechanisms or additional malware. Monitor for suspicious network activity related to the hardcoded exfiltration endpoint. Patch status is not applicable as this is a malicious package, not a vulnerability with a vendor fix.
Malicious code in @hrmony/benefit-sachbezug (npm)
Description
The npm package @hrmony/benefit-sachbezug (version 1.99.0) contains malicious code that executes upon import or require. It collects sensitive AWS EC2 instance metadata, IAM role credentials, environment variables, Kubernetes secrets, and user data, then sends this information to a hardcoded attacker-controlled endpoint. This behavior effectively compromises any system running the package, risking exposure of all stored secrets and keys.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The malicious npm package @hrmony/benefit-sachbezug version 1.99.0 executes code at import time that harvests sensitive data from the host environment. It queries the AWS EC2 Instance Metadata Service (IMDSv2) to obtain tokens, instance identity documents, IAM temporary credentials, network and security group metadata, and user data. Additionally, it enumerates all environment variables and recursively reads Kubernetes secrets from /var/run/secrets/. All collected data is exfiltrated via POST requests to a hardcoded external endpoint (https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_benefit-sachbezug). The package matches known dependency-confusion beacon patterns targeting internal scopes, indicating a supply chain attack vector.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker gains access to sensitive AWS credentials, environment variables, Kubernetes secrets, and other metadata, enabling potential unauthorized access and control over cloud resources and the host system. All secrets and keys stored on the compromised system should be considered exposed and require immediate rotation. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Defensive Guidance
Immediate removal of the @hrmony/benefit-sachbezug package version 1.99.0 is required. All secrets, keys, and credentials stored on the affected system must be rotated from a secure, uncompromised environment. Conduct a thorough investigation for persistence mechanisms or additional malware. Monitor for suspicious network activity related to the hardcoded exfiltration endpoint. Patch status is not applicable as this is a malicious package, not a vulnerability with a vendor fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17256
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-jr8j-48fj-734v"]
- Ecosystems
- ["npm"]
Threat ID: 6abc27d5680226ef6846f980
Added to database: 09/29/2026, 21:04:21 UTC
Last enriched: 09/29/2026, 21:25:52 UTC
Last updated: 09/30/2026, 03:14:47 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.