Malicious code in @hrmony/hyper-json-builder (npm)
The npm package @hrmony/hyper-json-builder version 1.99.0 contains malicious code that, upon loading, contacts a hardcoded attacker-controlled endpoint to exfiltrate sensitive information. It harvests environment variables, Kubernetes secrets, and AWS EC2 instance metadata credentials, sending these to the attacker. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately. Removal of the package alone may not eliminate the compromise.
AI Analysis
Technical Summary
The @hrmony/hyper-json-builder npm package (version 1.99.0) includes malicious code in its index.js that executes immediately upon module load. It performs a fetch to a hardcoded URL controlled by an attacker and triggers two credential-harvesting routines. The first collects all environment variables and recursively reads Kubernetes secrets from /var/run/secrets/, then sends this data to the attacker's endpoint. The second obtains an AWS IMDSv2 token, queries EC2 instance metadata for IAM role credentials, and exfiltrates these credentials to the same endpoint. The package's own name is embedded in the exfiltration path, indicating targeted data theft. Additionally, the package.json declares an unpinned dependency under the same scope that is not imported by the shipped code, potentially indicating further malicious intent or supply chain risk.
Potential Impact
Systems with this package installed are fully compromised as attackers gain access to environment variables, Kubernetes secrets, and AWS IAM credentials. This can lead to unauthorized access to cloud resources, data breaches, and further lateral movement within affected environments. The presence of this package on a system implies that attackers may have persistent control, and sensitive credentials have been exposed.
Mitigation Recommendations
Immediate removal of the @hrmony/hyper-json-builder package version 1.99.0 is required. All secrets, environment variables, Kubernetes service-account tokens, and AWS IAM credentials that may have been exposed must be rotated from a secure, uncompromised system. Because the package grants attackers potential full control, a thorough incident response and system integrity verification should be conducted. No official patch or fix is available; remediation relies on removal and credential rotation.
Malicious code in @hrmony/hyper-json-builder (npm)
Description
The npm package @hrmony/hyper-json-builder version 1.99.0 contains malicious code that, upon loading, contacts a hardcoded attacker-controlled endpoint to exfiltrate sensitive information. It harvests environment variables, Kubernetes secrets, and AWS EC2 instance metadata credentials, sending these to the attacker. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately. Removal of the package alone may not eliminate the compromise.
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/hyper-json-builder npm package (version 1.99.0) includes malicious code in its index.js that executes immediately upon module load. It performs a fetch to a hardcoded URL controlled by an attacker and triggers two credential-harvesting routines. The first collects all environment variables and recursively reads Kubernetes secrets from /var/run/secrets/, then sends this data to the attacker's endpoint. The second obtains an AWS IMDSv2 token, queries EC2 instance metadata for IAM role credentials, and exfiltrates these credentials to the same endpoint. The package's own name is embedded in the exfiltration path, indicating targeted data theft. Additionally, the package.json declares an unpinned dependency under the same scope that is not imported by the shipped code, potentially indicating further malicious intent or supply chain risk.
Potential Impact
Systems with this package installed are fully compromised as attackers gain access to environment variables, Kubernetes secrets, and AWS IAM credentials. This can lead to unauthorized access to cloud resources, data breaches, and further lateral movement within affected environments. The presence of this package on a system implies that attackers may have persistent control, and sensitive credentials have been exposed.
Mitigation Recommendations
Immediate removal of the @hrmony/hyper-json-builder package version 1.99.0 is required. All secrets, environment variables, Kubernetes service-account tokens, and AWS IAM credentials that may have been exposed must be rotated from a secure, uncompromised system. Because the package grants attackers potential full control, a thorough incident response and system integrity verification should be conducted. No official patch or fix is available; remediation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17282
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-r476-wfgx-8rc7"]
- Ecosystems
- ["npm"]
Threat ID: 6abc27d2680226ef6846f934
Added to database: 09/29/2026, 21:04:18 UTC
Last enriched: 09/29/2026, 21:23:09 UTC
Last updated: 09/30/2026, 03:14:26 UTC
Views: 6
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.