Malicious Code Injection in nasrul-poke89: A Threat to npm Users
Summary
MAL-2025-161983: Malicious code in nasrul-poke89 (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-poke89 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to generate and distribute harmful code. The package is associated with the tea.xyz token reward scheme, which has led to the proliferation of numerous derivative packages that can compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in nasrul-poke89 stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior not only inflates developer reputation scores for token rewards but also poses significant risks by potentially introducing harmful code into applications that depend on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke89
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 measure, you can avoid using the nasrul-poke89 package and any other packages that may have been published as part of the same malicious campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The nasrul-poke89 package poses a significant risk due to its malicious behavior, which can compromise the integrity of applications relying on npm packages. It is crucial to remove this package and monitor your dependencies regularly to ensure the security of your software.
See every vulnerability recorded for nasrul-poke89 →
FAQ
nasrul-poke89 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected by this vulnerability.
The risks include the introduction of malicious code into your application, which can lead to data breaches, unauthorized access, and other security issues.
Regularly audit your dependencies, keep your packages updated, and use tools like Vulert to monitor for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.