Malicious Code Injection in nasrul-poke93: A Threat to npm Users
Summary
MAL-2025-161988: Malicious code in nasrul-poke93 (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-poke93 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized by developers to share and manage code libraries. However, this package has been identified as malicious, containing scripts that manipulate package metadata and publish harmful derivatives, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability originates from the nasrul-poke93 package, which is linked to a broader campaign that floods the npm registry with malicious packages. These packages include scripts that automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also inflates developer reputation scores fraudulently, leading to potential exploitation of unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke93
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-poke93 package and any other packages that may be associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and revert them if necessary.
Conclusion
The nasrul-poke93 package poses a significant threat to npm users due to its malicious code that alters package metadata and publishes harmful derivatives. It is essential to remove this package and monitor your dependencies for vulnerabilities to ensure the security of your projects.
See every vulnerability recorded for nasrul-poke93 →
FAQ
nasrul-poke93 is an npm package that has been identified as malicious, designed to manipulate package metadata and publish harmful derivatives.
The vulnerability can lead to unauthorized changes in your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately using the command npm uninstall nasrul-poke93 and check for any unauthorized changes in your project.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities without signup at the Vulert playground.
Yes, this vulnerability is part of a larger campaign that includes multiple packages designed to inflate developer reputation scores fraudulently.