Malicious Code Detected in tehah-nutafday-koffb Package - npm Vulnerability
Summary
MAL-2025-169034: Malicious code in tehah-nutafday-koffb (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 tehah-nutafday-koffb package is part of the npm ecosystem, which is widely used for JavaScript package management. This package was identified as part of a malicious campaign that aimed to exploit the npm registry by flooding it with derivative packages. The malicious code embedded in this package is designed to manipulate package metadata and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability originates from the package being part of a token reward campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may introduce unwanted code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-nutafday-koffb
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check your application for this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tehah-nutafday-koffb package poses a significant risk due to its malicious code designed to manipulate npm registry data. It is essential to remove this package and monitor your project for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for tehah-nutafday-koffb →
FAQ
The tehah-nutafday-koffb package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can introduce malicious code into your project, potentially compromising its security and functionality.
You should uninstall the package immediately and check for any alternative packages that can fulfill your needs.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.