Malicious Code Injection in hanafi-bakso83-tititugel Package
Summary
MAL-2025-97888: Malicious code in hanafi-bakso83-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-bakso83-tititugel package is part of the npm ecosystem and appears to be associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the hanafi-bakso83-tititugel package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing capabilities for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hanafi-bakso83-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 avoid using the hanafi-bakso83-tititugel package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The hanafi-bakso83-tititugel package contains malicious code that poses a significant risk to projects using it. Immediate action is required to remove the package and prevent further exploitation. Utilizing tools like Vulert can help in monitoring and ensuring the security of your open-source dependencies.
See every vulnerability recorded for hanafi-bakso83-tititugel →
FAQ
It is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file, remove private flags, and lead to the pollution of the npm registry with unwanted packages.
You should uninstall the package immediately using 'npm uninstall hanafi-bakso83-tititugel' and check for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json. You can check your application for vulnerabilities without any signup at the Vulert playground.
Yes, you should look for alternative packages that provide similar functionality but are verified and trusted within the npm ecosystem.