Malicious Code Injection in glamorous_squid_replicate_automation Package
Summary
MAL-2025-103272: Malicious code in glamorous_squid_replicate_automation (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 glamorous_squid_replicate_automation package is part of the npm ecosystem, typically used for automation tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through the automatic generation and publishing of numerous variants, often with randomized names.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious token reward campaign. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to pollution of the npm registry, potentially affecting developers who rely on the integrity of package sources. The malicious payload can compromise the security of applications using this package, leading to unauthorized access or data manipulation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall glamorous_squid_replicate_automation
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 this package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The glamorous_squid_replicate_automation package poses a significant security risk due to its malicious code designed to manipulate package configurations and pollute the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain application security.
See every vulnerability recorded for glamorous_squid_replicate_automation →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to unauthorized modifications in your application, as the malicious code can alter package configurations and potentially introduce security risks.
You should uninstall the glamorous_squid_replicate_automation package immediately and look for alternatives. Use 'npm uninstall glamorous_squid_replicate_automation' to remove it.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground without signing up.
Regularly audit your dependencies, keep your packages updated, and use tools that monitor for vulnerabilities to help protect your application from malicious packages.