Malicious code in @hrmony/lohndateien (npm)
The npm package @hrmony/lohndateien version 3.99.0 contains malicious code that executes upon module load. It sends a beacon to a remote attacker-controlled server, collects AWS EC2 instance metadata including IAM role credentials, environment variables, and Kubernetes secrets, and exfiltrates this sensitive information. Installing or running this package on an EC2 host or Kubernetes workload results in full compromise of AWS credentials and secrets.
AI Analysis
Technical Summary
The @hrmony/lohndateien npm package (version 3.99.0) includes code in index.js that runs immediately when the module is loaded. It performs three key malicious actions targeting AWS and Kubernetes environments: (1) sends a POST beacon to a hardcoded external URL to signal installation, (2) queries the AWS instance metadata service using IMDSv2 to retrieve instance identity, user-data, and IAM role credentials, then exfiltrates this data, and (3) collects all environment variables and recursively reads Kubernetes secret files from /var/run/secrets/, sending these to the same remote endpoint. The remote host is unrelated to the legitimate package publisher, indicating a supply-chain or dependency confusion attack. This results in full attacker access to AWS role credentials, environment secrets, and Kubernetes tokens on compromised hosts.
Potential Impact
Successful installation and loading of this package on an EC2 instance or Kubernetes workload leads to complete compromise of AWS IAM credentials, environment variables, and Kubernetes secrets. This allows attackers to gain unauthorized access to cloud resources and potentially escalate privileges or move laterally within the environment. The system should be considered fully compromised.
Mitigation Recommendations
Remove the @hrmony/lohndateien package version 3.99.0 immediately from all affected systems. Rotate all AWS credentials, environment secrets, and Kubernetes tokens that may have been exposed, using a secure and uncompromised environment. Due to the high likelihood of full system compromise, consider rebuilding affected hosts from trusted sources. No official patch or fix is currently available; patch status is not yet confirmed — check the vendor advisory for updates.
Malicious code in @hrmony/lohndateien (npm)
Description
The npm package @hrmony/lohndateien version 3.99.0 contains malicious code that executes upon module load. It sends a beacon to a remote attacker-controlled server, collects AWS EC2 instance metadata including IAM role credentials, environment variables, and Kubernetes secrets, and exfiltrates this sensitive information. Installing or running this package on an EC2 host or Kubernetes workload results in full compromise of AWS credentials and secrets.
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 @hrmony/lohndateien npm package (version 3.99.0) includes code in index.js that runs immediately when the module is loaded. It performs three key malicious actions targeting AWS and Kubernetes environments: (1) sends a POST beacon to a hardcoded external URL to signal installation, (2) queries the AWS instance metadata service using IMDSv2 to retrieve instance identity, user-data, and IAM role credentials, then exfiltrates this data, and (3) collects all environment variables and recursively reads Kubernetes secret files from /var/run/secrets/, sending these to the same remote endpoint. The remote host is unrelated to the legitimate package publisher, indicating a supply-chain or dependency confusion attack. This results in full attacker access to AWS role credentials, environment secrets, and Kubernetes tokens on compromised hosts.
Potential Impact
Successful installation and loading of this package on an EC2 instance or Kubernetes workload leads to complete compromise of AWS IAM credentials, environment variables, and Kubernetes secrets. This allows attackers to gain unauthorized access to cloud resources and potentially escalate privileges or move laterally within the environment. The system should be considered fully compromised.
Mitigation Recommendations
Remove the @hrmony/lohndateien package version 3.99.0 immediately from all affected systems. Rotate all AWS credentials, environment secrets, and Kubernetes tokens that may have been exposed, using a secure and uncompromised environment. Due to the high likelihood of full system compromise, consider rebuilding affected hosts from trusted sources. No official patch or fix is currently available; patch status is not yet confirmed — check the vendor advisory for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17267
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-xq9r-4rp7-86c2"]
- Ecosystems
- ["npm"]
Threat ID: 6abc27d5680226ef6846f979
Added to database: 09/29/2026, 21:04:21 UTC
Last enriched: 09/29/2026, 21:25:17 UTC
Last updated: 09/30/2026, 03:14:16 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.