Malicious Code Injection in wati-sego29-tititugel: A Threat to npm Packages
Summary
MAL-2025-98499: Malicious code in wati-sego29-tititugel (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 'wati-sego29-tititugel' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in 'wati-sego29-tititugel' originates from its involvement in a malicious campaign that utilizes autopublish scripts to create and publish numerous derivative packages. This results in the modification of the package.json file, where private flags are removed, version numbers are altered, and random package names are generated. The continuous republishing of these variants can lead to significant pollution of the npm registry, affecting developers and users alike by compromising the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-sego29-tititugel
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 workaround, consider using a package-lock.json file to monitor your dependencies. This file can help you identify and mitigate vulnerabilities in your project. Additionally, you can utilize tools like Vulert to monitor for open-source vulnerabilities in real-time without needing to access the code directly. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'wati-sego29-tititugel' package poses a significant threat due to its malicious code designed to manipulate package files and republish variants. It is crucial for developers to be vigilant, regularly monitor their dependencies, and take immediate action to remove any affected packages to maintain the integrity of their projects.
See every vulnerability recorded for wati-sego29-tititugel →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republish variants to pollute the npm registry.
You can check your package.json and package-lock.json files for the presence of 'wati-sego29-tititugel' or use tools like Vulert to scan for vulnerabilities.
You should uninstall the package immediately using 'npm uninstall wati-sego29-tititugel' and check for any other related malicious packages.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions to minimize risks.
While many npm packages are safe, it's essential to verify their sources and monitor for vulnerabilities, as malicious packages can occasionally slip through.