Malicious Code Exploit in nasrul-poke63: A Threat to npm Users
Summary
MAL-2025-161955: Malicious code in nasrul-poke63 (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-poke63 is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in nasrul-poke63 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, making it difficult for developers to find legitimate packages and potentially compromising their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke63
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-poke63 package and monitor your project for any dependencies that may have inadvertently included it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The nasrul-poke63 package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. Immediate action is required to remove this package and prevent further issues. Regular monitoring and auditing of your dependencies are essential to maintain the security of your projects.
See every vulnerability recorded for nasrul-poke63 →
FAQ
nasrul-poke63 is an npm package that has been identified as containing malicious code aimed at inflating developer reputation scores through spam package generation.
The vulnerability can lead to the proliferation of spam packages in the npm registry, making it harder to find legitimate packages and potentially compromising your project's integrity.
You should uninstall the nasrul-poke63 package immediately using 'npm uninstall nasrul-poke63' and monitor your project for any related issues.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Currently, there is no patched version available. It is recommended to remove the package from your project until a safe version is released.