Malicious code in @hrmony/pladddform-shared-infrastructure (npm)
The npm package @hrmony/pladddform-shared-infrastructure (version 40.14.3) contains malicious code that exfiltrates sensitive information from hosts importing it. Upon import, it executes routines that send harvested secrets, including AWS EC2 instance metadata, IAM credentials, Kubernetes secrets, and environment variables, to a hardcoded attacker-controlled endpoint. This package appears to be a dependency confusion lure with a typo in its name and additional dependencies under the same malicious scope. Any system running this package should be considered fully compromised, and all secrets should be rotated immediately.
AI Analysis
Technical Summary
The @hrmony/pladddform-shared-infrastructure npm package (version 40.14.3) contains embedded malicious code in its index.js that performs three exfiltration routines upon module import. First, it sends a beacon POST to confirm the victim. Second, it queries the AWS Instance Metadata Service (IMDSv2) to retrieve instance identity and all attached IAM role temporary credentials, sending this data to a hardcoded URL. Third, it enumerates all environment variables and reads Kubernetes secret volumes, exfiltrating these as well. The package name mimics an internal dependency with a typo, consistent with a dependency confusion attack. It also declares a dependency on another malicious package in the same scope. Hosts importing this package on EC2 or Kubernetes environments leak cloud credentials and secrets to attackers.
Potential Impact
Hosts that import this package are fully compromised as the attacker gains access to AWS EC2 instance metadata, IAM role credentials, Kubernetes secrets, and all environment variables. This leads to complete loss of cloud workload identity and secrets, enabling attackers to potentially escalate privileges, move laterally, or persist in the environment. The compromise affects any system running this package version 40.14.3, especially those in cloud or containerized environments.
Mitigation Recommendations
Immediate removal of the @hrmony/pladddform-shared-infrastructure package version 40.14.3 from all affected systems is required. All secrets, keys, and credentials exposed should be rotated immediately from a secure, uncompromised environment. Because the package grants attackers full control, assume full system compromise and perform comprehensive incident response. No official patch or fix is indicated; remediation relies on removal and secret rotation.
Malicious code in @hrmony/pladddform-shared-infrastructure (npm)
Description
The npm package @hrmony/pladddform-shared-infrastructure (version 40.14.3) contains malicious code that exfiltrates sensitive information from hosts importing it. Upon import, it executes routines that send harvested secrets, including AWS EC2 instance metadata, IAM credentials, Kubernetes secrets, and environment variables, to a hardcoded attacker-controlled endpoint. This package appears to be a dependency confusion lure with a typo in its name and additional dependencies under the same malicious scope. Any system running this package should be considered fully compromised, and all secrets should be rotated immediately.
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/pladddform-shared-infrastructure npm package (version 40.14.3) contains embedded malicious code in its index.js that performs three exfiltration routines upon module import. First, it sends a beacon POST to confirm the victim. Second, it queries the AWS Instance Metadata Service (IMDSv2) to retrieve instance identity and all attached IAM role temporary credentials, sending this data to a hardcoded URL. Third, it enumerates all environment variables and reads Kubernetes secret volumes, exfiltrating these as well. The package name mimics an internal dependency with a typo, consistent with a dependency confusion attack. It also declares a dependency on another malicious package in the same scope. Hosts importing this package on EC2 or Kubernetes environments leak cloud credentials and secrets to attackers.
Potential Impact
Hosts that import this package are fully compromised as the attacker gains access to AWS EC2 instance metadata, IAM role credentials, Kubernetes secrets, and all environment variables. This leads to complete loss of cloud workload identity and secrets, enabling attackers to potentially escalate privileges, move laterally, or persist in the environment. The compromise affects any system running this package version 40.14.3, especially those in cloud or containerized environments.
Mitigation Recommendations
Immediate removal of the @hrmony/pladddform-shared-infrastructure package version 40.14.3 from all affected systems is required. All secrets, keys, and credentials exposed should be rotated immediately from a secure, uncompromised environment. Because the package grants attackers full control, assume full system compromise and perform comprehensive incident response. No official patch or fix is indicated; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17279
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-xvjm-3hmh-7v4h"]
- Ecosystems
- ["npm"]
Threat ID: 6abc27d5680226ef6846f970
Added to database: 09/29/2026, 21:04:21 UTC
Last enriched: 09/29/2026, 21:24:30 UTC
Last updated: 09/30/2026, 03:13:35 UTC
Views: 11
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.