Malicious Code Injection in verify-tac-malasi: A Threat to npm Users
Summary
MAL-2025-170437: Malicious code in verify-tac-malasi (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 package 'verify-tac-malasi' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts designed to manipulate package metadata and inflate developer reputation scores. The primary functionality of this package is compromised due to the presence of malicious code that alters its behavior and integrity.
Vulnerability Detail
The vulnerability in 'verify-tac-malasi' originates from its association with a malicious campaign that employs scripts to modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses significant risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-tac-malasi
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-malasi' package from your project by executing the following command: 'npm uninstall verify-tac-malasi'. This will prevent the execution of any malicious code associated with the package until a secure version is available.
Conclusion
The 'verify-tac-malasi' package poses a significant threat due to its malicious code designed to manipulate npm package metadata. Developers should take immediate action to remove or update this package to safeguard their projects. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities in real-time.
See every vulnerability recorded for verify-tac-malasi →
FAQ
The malicious code modifies package.json files to remove private flags and changes version numbers, allowing for the creation of numerous derivative packages that can mislead developers.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground at Vulert Scanner, you can check your application without any signup.
Using compromised packages can lead to security breaches, data leaks, and loss of trust in the software supply chain, as these packages may execute harmful scripts or expose sensitive information.
To prevent vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using packages from untrusted sources.
If you have used verify-tac-malasi, it is crucial to uninstall the package immediately and review your project for any potential impacts caused by the malicious code.