Malicious Package in getcookiesGHSA-3cjv-4phw-gvvv
CRITICALGHSA-3cjv-4phw-gvvv is a critical-severity (CVSS 9.8) vulnerability in getcookies. No vendor fix is recorded yet; mitigation options are listed below.
Real-World Exposure
getcookiesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.
Description
The getcookies module contained a backdoor that would allow for a remote attacker to execute arbitrary commands on the system running the malicious module.
Recommendation
This module should be uninstalled if found used within an application. In addition to removing the installed module, you will also want to evaluate your application to determine whether or not user data or systems were compromised.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | getcookies | all versions | No fix |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for getcookies, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
No patched version of getcookies has shipped for GHSA-3cjv-4phw-gvvv yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.
Mitigate without a patch
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-3cjv-4phw-gvvv in your dependencies?
Find it across npm, including transitive dependencies.