Malicious Code Injection in surprising_swallow-appteadev: A Threat to npm Packages
Summary
MAL-2025-109352: Malicious code in surprising_swallow-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 package 'surprising_swallow-appteadev' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of JavaScript code. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This behavior poses a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package being associated with a token reward campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also compromises the security of applications relying on these packages, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surprising_swallow-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 'surprising_swallow-appteadev' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The 'surprising_swallow-appteadev' package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your open-source software.
See every vulnerability recorded for surprising_swallow-appteadev →
FAQ
The main risk is that it contains malicious code that can compromise your application's security and pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately using 'npm uninstall surprising_swallow-appteadev' and replace it with a trusted alternative.
The malicious code modifies your package.json file by removing private flags and changing version numbers, which can lead to unintended consequences in your project.
While specific alternatives depend on the functionality you need, always look for well-reviewed and actively maintained packages in the npm registry.