Malicious Code Injection in shugll-devapptea: npm Package Vulnerability
Summary
MAL-2025-108648: Malicious code in shugll-devapptea (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
shugll-devapptea is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various applications. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in shugll-devapptea originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that automatically modify package.json files, removing private flags, changing version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful variants, leading to security risks for users and developers alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shugll-devapptea
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 shugll-devapptea package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools 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 shugll-devapptea package poses a significant security risk due to its malicious code that modifies package.json files and floods the npm registry with harmful variants. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert.
See every vulnerability recorded for shugll-devapptea →
FAQ
shugll-devapptea is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token rewards through various applications.
The vulnerability allows for the automatic modification of package.json files, which can lead to the removal of important security flags and the creation of numerous harmful package variants.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed the shugll-devapptea package, you should uninstall it immediately using 'npm uninstall shugll-devapptea' and look for alternative packages.
Currently, there is no specific patch for shugll-devapptea. The best course of action is to remove the package and monitor for any updates from the package maintainers.