Malicious Code Injection in content_narwhal-biggestdev Package
Summary
MAL-2025-100922: Malicious code in content_narwhal-biggestdev (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 content_narwhal-biggestdev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the content_narwhal-biggestdev 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 malicious activity is linked to a campaign aimed at exploiting the npm ecosystem for token rewards, posing significant risks to developers and users by potentially introducing insecure code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall content_narwhal-biggestdev
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 prevent the installation of the malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include content_narwhal-biggestdev in its dependencies. You can also use the following command to audit your project for vulnerabilities: 'npm audit'.
Conclusion
The content_narwhal-biggestdev package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for content_narwhal-biggestdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file, remove private flags, and introduce insecure code, potentially compromising your application's security.
You should uninstall the content_narwhal-biggestdev package immediately and check for any other affected packages in your project.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.