Malicious Code Injection in nasrul-poke28: A Threat to npm Users
Summary
MAL-2025-161916: Malicious code in nasrul-poke28 (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
nasrul-poke28 is a package available on npm, a popular package manager for JavaScript. This package is part of a broader campaign that exploits npm's ecosystem by flooding it with malicious packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks for users who unknowingly install them.
Vulnerability Detail
The vulnerability in nasrul-poke28 originates from its association with a malicious campaign that generates and publishes derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants to pollute the npm registry. This can lead to unauthorized access, data leakage, and a compromised development environment for users who install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke28
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, users can avoid using nasrul-poke28 and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The nasrul-poke28 package poses a significant security risk due to its malicious nature, which exploits npm's ecosystem. Users are advised to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for nasrul-poke28 →
FAQ
nasrul-poke28 is an npm package that is part of a malicious campaign aimed at manipulating developer reputation scores through automated publishing.
The vulnerability can lead to unauthorized modifications in your project, potential data leakage, and a compromised development environment.
You can check your package.json and package-lock.json files for any references to nasrul-poke28. Additionally, using tools like Vulert can help identify vulnerabilities in your dependencies.
You should immediately remove the nasrul-poke28 package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, Vulert can monitor your package-lock.json file for vulnerabilities in real-time, alerting you to any issues, including those related to nasrul-poke28.