shadowx-ytdl / shadowx-database npm packages are malware — full host compromise, no safe version
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
On 2026-12-01 GitHub added two malware advisories for npm packages shadowx-ytdl (GHSA-674c-hqq4-wg68) and shadowx-database (GHSA-4c22-23p7-hxff), both classified CWE-506 Embedded Malicious Code with all versions (= 0) affected and no patched versions. GitHub's guidance states any computer with these packages installed or running should be considered fully compromised, with full control potentially handed to an outside entity, and that removing the package does not guarantee removal of all malicious software. shadowx-ytdl shows ~411 downloads/month; shadowx-database's download count is not stated. Any developer or CI environment that installed either package is affected. There is no fix — remediation is removal plus full host rebuild and credential rotation.
What to do
- Treat any machine that installed or ran shadowx-ytdl or shadowx-database as fully compromised; rebuild from clean images
- Rotate all secrets, keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Audit dependency locks and CI caches for the packages and block/remove them from registries and internal mirrors
- Review logs and network egress for signs of attacker access or data exfiltration since installation
- Notify downstream users if the packages were pulled into published artifacts
Sources
All live incidents on Threat Watch