Malicious Code Injection in lonny-validator-catalyst: A Threat to npm Users
Summary
MAL-2025-105320: Malicious code in lonny-validator-catalyst (npm). Affected versions are not published. 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
lonny-validator-catalyst is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the ecosystem but has been compromised. The vulnerability allows for the injection of malicious code, which can lead to severe security risks for developers and users relying on this package.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with harmful packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, which can have serious implications for application security and integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lonny-validator-catalyst
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 temporary measure, you can avoid using the lonny-validator-catalyst package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The lonny-validator-catalyst package has been identified as containing malicious code that poses a significant risk to users. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can further enhance your security posture by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for lonny-validator-catalyst →
FAQ
lonny-validator-catalyst is an npm package involved in the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code can modify your package.json file, remove private flags, and continuously republish variants, leading to potential security vulnerabilities in your application.
If you have installed lonny-validator-catalyst, you should update it to the latest version or remove it from your project until a secure version is available.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly updating your packages, using trusted sources, and employing vulnerability monitoring tools like Vulert can help mitigate the risk of such vulnerabilities.