Malware in @phonos/types: malicious npm package compromises hosts and secrets
Severity: critical · Patch status: unpatched · Since 2026-11-23
The GitHub Advisory Database published a malware advisory for the npm package @phonos/types, affecting all versions (=0) with no patched release. The advisory states that any computer with the package installed or running should be considered fully compromised, because the package contains embedded malicious code (CWE-506) and may have given an outside entity full control. Secrets and keys on affected machines should be rotated from a different computer. Removing the package is recommended but may not eliminate all malicious software. The package has about 291 downloads per month. No CVE, CVSS score, source code, or exploitation details were provided. Organisations should treat installations as a supply-chain compromise and investigate dependent projects and build environments.
What to do
- Immediately isolate any machine where @phonos/types was installed or run and treat it as fully compromised.
- Rotate all secrets, tokens, SSH keys, cloud credentials, and package registry tokens from a clean, different machine.
- Remove @phonos/types from projects and lockfiles, rebuild from clean environments, and audit for persistence or backdoors.
- Search dependency trees, CI caches, developer workstations, and build artifacts for @phonos/types or related @phonos packages.
- Block @phonos/types in package manager or registry policy and monitor for unusual network or credential use.
Sources
All live incidents on Threat Watch