Critical Malicious Code Vulnerability in @hrmony/pladddform-cli Package
Summary
MAL-2026-17272: Malicious code in @hrmony/pladddform-cli (npm). Affects @hrmony/pladddform-cli versions 40.14.3. 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-cli package is an npm tool that appears to be a variant of a legitimate package, 'harmony/platform-cli'. It is designed for command-line interface operations related to a platform, but has been compromised to include malicious code. This vulnerability allows attackers to exploit the package for unauthorized data exfiltration, posing significant risks to users' cloud environments and sensitive information.
Vulnerability Detail
The vulnerability originates from malicious code embedded in the @hrmony/pladddform-cli package. Upon being required or imported, the package executes a series of harmful actions that include sending sensitive AWS credentials, environment variables, and Kubernetes secrets to a hardcoded malicious endpoint. This can lead to complete compromise of the affected system, allowing attackers to take control of cloud accounts and clusters. The malicious actions include sending an install beacon, retrieving AWS credentials from the EC2 Instance Metadata Service, and dumping sensitive environment data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hrmony/pladddform-cli
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
As a workaround, consider isolating your application environment and monitoring for any suspicious activity. Additionally, rotate all secrets and keys stored on the affected machine immediately to mitigate potential risks.
Conclusion
The @hrmony/pladddform-cli package contains a critical vulnerability due to embedded malicious code that can lead to severe security breaches. Immediate action is required to remove the package and secure any exposed credentials. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for @hrmony/pladddform-cli →
FAQ
You should uninstall the package immediately and rotate any credentials or secrets that may have been exposed.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your cloud resources, data breaches, and potential loss of sensitive information.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and promptly address any identified issues.