Skip to main content

Malicious code in @hrmony/benefit-essenszuschuss (npm)

0
Critical
Published: 09/29/2026 (09/29/2026, 16:34:16 UTC)
Source: GCVE Database
Product: @hrmony/benefit-essenszuschuss

Description

The npm package @hrmony/benefit-essenszuschuss (version 3.99.0) contains malicious code that, upon import, harvests cloud and container secrets from the host environment. It retrieves AWS IAM role credentials via the Instance Metadata Service (IMDSv2), collects environment variables, and reads Kubernetes secrets from the filesystem. This sensitive data is then exfiltrated to a hardcoded attacker-controlled endpoint. The package mimics an internal HR utility and includes an unpinned dependency, facilitating a dependency confusion attack. Systems with this package installed should be considered fully compromised.

Affected software

npmghsa
@hrmony/benefit-essenszuschuss
Affected versions
=3.99.0

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

AILast updated: 09/29/2026, 21:26:13 UTC

Technical Analysis

The @hrmony/benefit-essenszuschuss npm package version 3.99.0 contains top-level malicious code that executes on module import. It queries the AWS Instance Metadata Service using IMDSv2 tokens to obtain IAM role credentials, serializes the entire environment variables, and recursively reads Kubernetes secret files from /var/run/secrets/. The collected credentials and secrets are sent as JSON to a hardcoded external URL (https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_benefit-essenszuschuss). The package name is crafted to resemble an internal HR/benefits utility, consistent with a dependency confusion attack vector. It also declares an unpinned dependency on @hrmony/kit-5 (^1.0.0), which resolves from the public npm registry, potentially increasing attack surface. This behavior effectively compromises the host environment by exposing sensitive cloud and container secrets to an attacker.

Potential Impact

Any system with this package installed or running is considered fully compromised. The attacker gains access to AWS IAM credentials, environment variables, and Kubernetes secrets, enabling unauthorized access to cloud resources and containerized environments. This can lead to complete system takeover, data exfiltration, and further lateral movement within the infrastructure. Immediate secret and key rotation is required to mitigate ongoing risk.

Mitigation Recommendations

Remove the @hrmony/benefit-essenszuschuss package immediately from all affected systems. Assume full compromise of the host environment and rotate all secrets, keys, and credentials from a secure, uncompromised system. Since the package executes malicious code on import, simply removing it may not eliminate all backdoors or persistence mechanisms. Conduct a thorough incident response and forensic analysis to identify and remediate any additional compromise. Monitor for any further suspicious activity related to this package or its dependencies.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17253
Osv Schema Version
1.7.4
Aliases
["GHSA-2c72-pm8g-m65j"]
Ecosystems
["npm"]

Threat ID: 6abc27d5680226ef6846f983

Added to database: 09/29/2026, 21:04:21 UTC

Last enriched: 09/29/2026, 21:26:13 UTC

Last updated: 09/30/2026, 03:14:57 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses