Malicious Code Injection in royal_heron-biggestdev Package
Summary
MAL-2025-108222: Malicious code in royal_heron-biggestdev (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 royal_heron-biggestdev package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks for users who unknowingly integrate it into their projects.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the royal_heron-biggestdev package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, effectively polluting the npm registry. The ramifications include potential exposure of sensitive information, unauthorized access to systems, and a compromised development environment, as the package continuously republishes variants to inflate reputation scores for the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall royal_heron-biggestdev
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 prevent the installation of this malicious package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The royal_heron-biggestdev package poses a significant security risk due to its malicious code designed to manipulate npm registry data. It is essential to remove this package from your projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities. Stay vigilant and ensure your dependencies are secure.
See every vulnerability recorded for royal_heron-biggestdev →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The malicious code can modify your package.json file, remove private flags, and continuously republish variants, leading to potential security risks.
You should remove the royal_heron-biggestdev package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.