Malicious code in @hrmony/pladddform-infrastructure (npm)
The npm package @hrmony/pladddform-infrastructure contains malicious code that exfiltrates sensitive AWS instance metadata, IAM role credentials, environment variables, and Kubernetes secrets to a hardcoded attacker-controlled endpoint. It also pulls in additional malicious code via a runtime dependency on @hrmony/kit-5. The package name is a typosquat or dependency confusion attempt mimicking an internal infrastructure package.
AI Analysis
Technical Summary
The @hrmony/pladddform-infrastructure npm package executes top-level code that sends a beacon to an attacker-controlled URL. It uses an IMDSv2 token to query the AWS Instance Metadata Service at 169.254.169.254, enumerates instance and identity metadata, retrieves short-lived IAM role credentials, and exfiltrates this data to the attacker. Additionally, it serializes the entire process environment and reads Kubernetes secrets from /var/run/secrets/, sending this combined sensitive information to the same endpoint. The package also depends on @hrmony/kit-5, which likely introduces further malicious code. The package name and scope are crafted to resemble legitimate internal infrastructure packages, indicating a typosquatting or dependency confusion attack vector.
Potential Impact
Sensitive AWS instance metadata, IAM role credentials, environment variables, and Kubernetes secrets can be stolen by an attacker, potentially leading to unauthorized access and control over cloud resources and workloads. This compromises the confidentiality and integrity of the affected environment.
Mitigation Recommendations
No official patch or remediation is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. As a mitigation, avoid using or installing the @hrmony/pladddform-infrastructure package and its dependencies. Verify the authenticity of internal packages and audit dependencies for typosquatting or malicious code. Remove any instances of this package from your environment if found.
Malicious code in @hrmony/pladddform-infrastructure (npm)
Description
The npm package @hrmony/pladddform-infrastructure contains malicious code that exfiltrates sensitive AWS instance metadata, IAM role credentials, environment variables, and Kubernetes secrets to a hardcoded attacker-controlled endpoint. It also pulls in additional malicious code via a runtime dependency on @hrmony/kit-5. The package name is a typosquat or dependency confusion attempt mimicking an internal infrastructure package.
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-infrastructure npm package executes top-level code that sends a beacon to an attacker-controlled URL. It uses an IMDSv2 token to query the AWS Instance Metadata Service at 169.254.169.254, enumerates instance and identity metadata, retrieves short-lived IAM role credentials, and exfiltrates this data to the attacker. Additionally, it serializes the entire process environment and reads Kubernetes secrets from /var/run/secrets/, sending this combined sensitive information to the same endpoint. The package also depends on @hrmony/kit-5, which likely introduces further malicious code. The package name and scope are crafted to resemble legitimate internal infrastructure packages, indicating a typosquatting or dependency confusion attack vector.
Potential Impact
Sensitive AWS instance metadata, IAM role credentials, environment variables, and Kubernetes secrets can be stolen by an attacker, potentially leading to unauthorized access and control over cloud resources and workloads. This compromises the confidentiality and integrity of the affected environment.
Mitigation Recommendations
No official patch or remediation is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. As a mitigation, avoid using or installing the @hrmony/pladddform-infrastructure package and its dependencies. Verify the authenticity of internal packages and audit dependencies for typosquatting or malicious code. Remove any instances of this package from your environment if found.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17277
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abbf1a4c9b3d5d17706d58d
Added to database: 09/29/2026, 17:13:08 UTC
Last enriched: 09/29/2026, 17:14:25 UTC
Last updated: 09/29/2026, 17:58:41 UTC
Views: 4
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.