Malicious Code Injection in nasrul-poke15: A Threat to npm Ecosystem
Summary
MAL-2025-161902: Malicious code in nasrul-poke15 (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 package 'nasrul-poke15' is part of a series of npm packages that emerged during 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 poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in 'nasrul-poke15' originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can lead to security risks for developers and users who inadvertently rely on these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke15
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 'nasrul-poke15' and any other packages associated with the tea.xyz token reward campaign. Instead, look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The nasrul-poke15 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. Developers should take immediate action to remove this package and monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for nasrul-poke15 →
FAQ
The nasrul-poke15 package contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed nasrul-poke15, it is crucial to remove it from your project immediately and look for alternative packages.
Currently, there are no known patches for nasrul-poke15. The best course of action is to remove the package entirely.
This vulnerability can lead to the proliferation of malicious packages in the npm registry, compromising the security of applications and potentially damaging developer reputations.