Malicious Code Vulnerability in hanafi-moci25-tititugel Package
Summary
MAL-2025-97893: Malicious code in hanafi-moci25-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 hanafi-moci25-tititugel package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the hanafi-moci25-tititugel package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The malicious payload is part of a broader scheme associated with the tea.xyz token reward campaign, which aims to exploit npm for fraudulent gains.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hanafi-moci25-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 temporary workaround, you can remove the affected package from your project by executing the command: npm uninstall hanafi-moci25-tititugel. This will prevent any malicious code from executing in your environment until a proper fix is applied.
Conclusion
The hanafi-moci25-tititugel package contains malicious code that poses a significant risk to developers and their projects. It is essential to take immediate action by updating or removing the package to safeguard your application. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for hanafi-moci25-tititugel →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The malicious code can modify your package.json file, remove private flags, and publish random packages, potentially leading to security vulnerabilities and registry pollution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Regularly update your packages and use tools like Vulert to monitor for vulnerabilities in your dependencies.
As a temporary measure, uninstall the affected package using the command: npm uninstall hanafi-moci25-tititugel.