Critical Malicious Code Vulnerability in @hrmony/mailer-pladddform Package
Summary
MAL-2026-17268: Malicious code in @hrmony/mailer-pladddform (npm). Affects @hrmony/mailer-pladddform versions 1.99.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/mailer-pladddform package is an npm module that is purportedly designed for mailing functionalities. However, it has been identified as a malicious package that does not provide any legitimate mailer functionality. Instead, it contains code that is solely focused on harvesting sensitive credentials from the environment and sending them to an attacker-controlled endpoint. This package is a prime example of a typosquat, leveraging misspellings to deceive users into installing it.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the index.js file of the @hrmony/mailer-pladddform package. This code executes at the top level and performs multiple credential-harvesting flows. It retrieves sensitive information such as IAM role credentials and EC2 instance identity documents by making requests to the AWS metadata service. Additionally, it enumerates environment variables and reads Kubernetes ServiceAccount tokens from mounted secrets. The collected data is then sent as JSON to a hardcoded endpoint controlled by the attacker. The package does not contain any legitimate functionality, making it a severe security risk for any system that has it installed.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hrmony/mailer-pladddform
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 malicious package entirely. Ensure that your environment is secure and monitor for any unauthorized access or changes.
Conclusion
The @hrmony/mailer-pladddform package contains malicious code that poses a severe security risk by harvesting sensitive credentials. Immediate action is required to remove the package and secure your environment. Utilizing tools like Vulert can help in monitoring and preventing such vulnerabilities in the future.
See every vulnerability recorded for @hrmony/mailer-pladddform →
FAQ
You should immediately uninstall the package using the command npm uninstall @hrmony/mailer-pladddform and rotate any secrets or keys that may have been compromised.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application by using the Vulert playground at Vulert Scanner without needing to sign up.
Keeping this package installed poses a significant risk as it can lead to unauthorized access to sensitive information, including AWS credentials and Kubernetes tokens.
To prevent similar vulnerabilities, always verify the authenticity of packages before installation, use tools like Vulert for monitoring, and keep your dependencies updated.
If you suspect a compromise, immediately remove the malicious package, rotate all credentials, and conduct a thorough security audit of your system.