Malicious Code Injection in gabrielnelson Package: npm Vulnerability Overview
Summary
MAL-2025-171238: Malicious code in gabrielnelson (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 gabrielnelson package is part of the npm ecosystem, primarily used for various JavaScript applications. It has been identified as a component of the tea.xyz token reward campaign, which has been associated with malicious activities aimed at inflating developer reputation scores. The package is designed to automatically publish derivative versions with altered attributes, making it susceptible to exploitation.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the gabrielnelson package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. It continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who inadvertently use these packages. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gabrielnelson
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 remove the gabrielnelson package from your project by executing the following command: npm uninstall gabrielnelson. This will prevent any potential exploitation until a secure version is available.
Conclusion
The gabrielnelson package poses a significant security risk due to its malicious code designed to exploit the npm ecosystem. It is essential for developers to take immediate action to remove the package and monitor for updates. Utilizing tools like Vulert can help in maintaining the security of your projects.
See every vulnerability recorded for gabrielnelson →
FAQ
The gabrielnelson package is an npm package that has been linked to malicious activities aimed at inflating developer reputation scores through automated publishing.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to security vulnerabilities and pollution of the npm registry.
If you have installed gabrielnelson, it is crucial to uninstall it immediately and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review the security advisories for the packages you use.