Critical Malicious Code Vulnerability in @hrmony/pladddform-frontend Package
Summary
MAL-2026-17276: Malicious code in @hrmony/pladddform-frontend (npm). Affects @hrmony/pladddform-frontend versions 48.99.0 – 49.3.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @hrmony/pladddform-frontend package is an npm module that appears to mimic an internal package named 'harmony/platform-frontend'. It is designed to be a frontend component but has been discovered to contain malicious code. The package has an empty description and lacks any functional code beyond its malicious intent, making it a potential target for dependency confusion attacks.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the index.js file of the @hrmony/pladddform-frontend package version 48.99.0. Upon being required or imported, this code sends sensitive information to a hardcoded attacker-controlled endpoint. It collects data from the AWS EC2 Instance Metadata Service and environment variables, including IAM roles and Kubernetes service-account tokens. This poses a significant risk as any system running this package is considered fully compromised, necessitating immediate action to secure any exposed secrets.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hrmony/pladddform-frontend
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure to rotate any secrets or keys that may have been exposed due to the installation of this package.
Conclusion
The @hrmony/pladddform-frontend package contains malicious code that poses a severe risk to any system that has it installed. Immediate uninstallation and secret rotation are necessary to mitigate the impact of this vulnerability. Regular monitoring and verification of package integrity are essential to prevent future incidents.
See every vulnerability recorded for @hrmony/pladddform-frontend →
FAQ
Immediately uninstall the package using 'npm uninstall @hrmony/pladddform-frontend' and rotate any exposed secrets.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Leaving this package installed can lead to unauthorized access to sensitive information, including AWS credentials and Kubernetes tokens, potentially compromising your entire system.
No, there is no patched version available for @hrmony/pladddform-frontend. The best course of action is to uninstall it.
Always verify the integrity of packages before installation, use tools like Vulert for monitoring, and avoid using packages with suspicious names or empty descriptions.