Malicious Code Injection in verify-tac-mal Package
Summary
MAL-2025-170435: Malicious code in verify-tac-mal (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
The verify-tac-mal package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate token rewards through the automatic generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with random package names.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the verify-tac-mal package. This 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. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently contribute to the spread of malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-tac-mal
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 workaround, you can remove the verify-tac-mal package from your project by executing: 'npm uninstall verify-tac-mal'. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The verify-tac-mal package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to take immediate action by updating or uninstalling the package and utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for verify-tac-mal →
FAQ
The verify-tac-mal package is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with random package names, potentially compromising your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed the verify-tac-mal package, it is crucial to uninstall it immediately and check for any other affected packages in your project.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions to minimize the risk of vulnerabilities.