Skip to main content

Malicious code in @hrmony/pladddform-codegen (npm)

0
Critical
Published: 09/29/2026 (09/29/2026, 16:31:55 UTC)
Source: GCVE Database
Product: @hrmony/pladddform-codegen

Description

The npm package @hrmony/pladddform-codegen version 49.99.0 is a malicious typosquat that exfiltrates sensitive AWS and Kubernetes credentials and environment data to a hardcoded attacker-controlled endpoint. It performs multiple credential-harvesting actions including querying the AWS instance metadata service, enumerating environment variables, and reading Kubernetes secrets. The package is part of a dependency-confusion style campaign and should be considered fully compromising any system where it is installed.

Affected software

npmghsa
@hrmony/pladddform-codegen
Affected versions
=49.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:24:48 UTC

Technical Analysis

The malicious npm package @hrmony/pladddform-codegen (version 49.99.0) contains code that, upon module load, sends data to a hardcoded external endpoint (https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_pladddform-codegen). It performs three credential-harvesting flows: (1) querying the AWS instance metadata service (IMDSv2) to enumerate IAM roles and retrieve security credentials, EC2 identity documents, user-data, and network metadata; (2) enumerating all environment variables; and (3) recursively reading Kubernetes projected service-account tokens and mounted secrets from /var/run/secrets/. The collected data is exfiltrated to the attacker’s server. The package name is a typosquat of a legitimate @hrmony scoped package and uses an inflated version number consistent with dependency confusion attacks. It also declares a suspicious internal-looking sibling dependency. This behavior indicates a targeted campaign to compromise systems and steal cloud credentials.

Potential Impact

Any system with this package installed is considered fully compromised. The attacker gains access to AWS IAM role credentials, EC2 metadata, environment variables, and Kubernetes secrets, enabling potential unauthorized cloud resource access and control. Secrets and keys stored on the compromised system are exposed and should be considered leaked. The attacker may have persistent control beyond just the package installation, making full remediation challenging.

Defensive Guidance

Immediate removal of the @hrmony/pladddform-codegen package version 49.99.0 is required. All AWS credentials, IAM roles, and Kubernetes secrets accessible from the compromised system must be rotated immediately from a secure, uncompromised environment. Because the attacker may have established persistent control, a full system compromise response and forensic analysis are recommended. There is no official patch or fix; the package itself is malicious. Avoid installing packages with suspicious names or inflated version numbers and verify package authenticity before use.

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-17273
Osv Schema Version
1.7.4
Aliases
["GHSA-4jh6-g3hw-7qjc"]
Ecosystems
["npm"]

Threat ID: 6abc27d5680226ef6846f973

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

Last enriched: 09/29/2026, 21:24:48 UTC

Last updated: 09/30/2026, 03:13:56 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