Malicious Code Injection in nasrul-poke72: A Threat to npm Ecosystem
Summary
MAL-2025-161965: Malicious code in nasrul-poke72 (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-poke72 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to a token reward campaign that has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in nasrul-poke72 originates from its association with the tea.xyz token reward campaign. It includes malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, which can pollute the npm registry and compromise the integrity of the ecosystem. The malicious payload can potentially allow unauthorized access to sensitive information and disrupt normal package management operations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke72
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-poke72 package and replace it with a trusted alternative. Always verify the integrity of packages before installation.
Conclusion
The nasrul-poke72 package poses a significant risk due to its malicious code designed to manipulate package metadata. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for nasrul-poke72 →
FAQ
nasrul-poke72 is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the package immediately using 'npm uninstall nasrul-poke72' and check your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.