Malicious Code Injection in sad_octopus-appteadev: npm Package Vulnerability
Summary
MAL-2025-108324: Malicious code in sad_octopus-appteadev (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 sad_octopus-appteadev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the sad_octopus-appteadev package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts are designed to continuously republish these variants, which can lead to pollution of the npm registry and inflate developer reputation scores fraudulently. The ramifications include potential exposure of sensitive information, compromised application integrity, and a degraded trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sad_octopus-appteadev
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 sad_octopus-appteadev package altogether and look for alternative packages that provide similar functionality without the associated risks. You can also monitor your package-lock.json file for any unauthorized changes.
Conclusion
The sad_octopus-appteadev package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to remove this package and monitor their dependencies regularly to safeguard their applications. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for sad_octopus-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to unauthorized changes in your application's dependencies, potentially compromising its security and functionality.
You should uninstall the sad_octopus-appteadev package immediately and check your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.