Malicious Code Injection in nasrul-poke85: A Threat to npm Ecosystem
Summary
MAL-2025-161979: Malicious code in nasrul-poke85 (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 nasrul-poke85 package is part of a series of npm packages that have emerged as part of the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant security risks to developers who may unknowingly incorporate these malicious packages into their projects.
Vulnerability Detail
The nasrul-poke85 package contains malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is part of a broader scheme to pollute the npm registry and manipulate developer reputation scores. The vulnerability originates from the package's association with the tea.xyz token reward campaign, which has been identified as a source of numerous malicious packages flooding the npm ecosystem. The ramifications include potential exposure to further malicious code and the risk of developers inadvertently using compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke85
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 nasrul-poke85 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The nasrul-poke85 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate developer reputation scores and pollute the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for nasrul-poke85 →
FAQ
nasrul-poke85 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and cluttering the npm registry with unwanted packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.
You should uninstall the nasrul-poke85 package immediately using the command npm uninstall nasrul-poke85 and audit your dependencies for any other vulnerabilities.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages effectively.