Malicious Code Injection in nabila-poke1: A Threat to npm Users
Summary
MAL-2025-161199: Malicious code in nabila-poke1 (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
nabila-poke1 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in nabila-poke1 originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabila-poke1
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 nabila-poke1 package and monitor your project for any dependencies that may have been affected by this malicious code. Regularly check your package-lock.json file for any unauthorized changes.
Conclusion
The nabila-poke1 package poses a significant threat due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to be vigilant, remove affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for nabila-poke1 →
FAQ
nabila-poke1 is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, potentially exposing your project to security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed nabila-poke1, you should uninstall it immediately using 'npm uninstall nabila-poke1' and review your dependencies for any other compromised packages.
To prevent future vulnerabilities, regularly update your dependencies, use trusted packages, and monitor your project with tools like Vulert that alert you to open-source vulnerabilities.