Malicious Code Injection in nasrul-poke115: A Threat to npm Users
Summary
MAL-2025-161893: Malicious code in nasrul-poke115 (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-poke115' is part of a series of npm packages associated with 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-poke115' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise applications that depend on these packages. The malicious payload is designed to exploit the npm ecosystem by creating a flood of derivative packages, making it difficult for developers to maintain the integrity of their dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke115
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 'nasrul-poke115' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks from malicious packages.
Conclusion
The 'nasrul-poke115' package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and flood the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for nasrul-poke115 →
FAQ
'nasrul-poke115' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation and publication of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity by introducing unwanted behavior or dependencies.
You should immediately uninstall 'nasrul-poke115' using 'npm uninstall nasrul-poke115' and check your package-lock.json for any remaining references to this package.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies with tools like npm audit, and consider using automated monitoring solutions like Vulert to receive real-time alerts for any open-source vulnerabilities.