Malicious Code Injection in verify-tac-mehanical Package
Summary
MAL-2025-170446: Malicious code in verify-tac-mehanical (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-mehanical package is part of the npm ecosystem, primarily used for various mechanical verification tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate its own metadata and publish variants to inflate reputation scores for token rewards, making it a significant risk for developers using it.
Vulnerability Detail
The vulnerability originates from the package being part of the tea.xyz token reward campaign, which employs malicious scripts to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, leading to pollution of the npm registry. The ramifications include potential exposure of sensitive data, compromised package integrity, and a tarnished reputation for developers associated with these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall verify-tac-mehanical
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, avoid using the verify-tac-mehanical package and consider using alternative packages that do not exhibit malicious behavior. Regularly monitor your package dependencies for any updates or vulnerabilities.
Conclusion
The verify-tac-mehanical package poses a significant risk due to its malicious behavior aimed at manipulating npm registry data. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity and security of their projects.
See every vulnerability recorded for verify-tac-mehanical →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate package metadata and inflate developer reputation scores.
Using this package can lead to compromised package integrity, potential exposure of sensitive data, and pollution of the npm registry.
You should uninstall the verify-tac-mehanical package immediately using the command: npm uninstall verify-tac-mehanical.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.