Malicious npm package tunnel-xinyi compromises developer machines
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub's malware advisory database flagged the npm package tunnel-xinyi as embedded malicious code (CWE-506), published 2026-12-01. All versions (= 0) are affected and no patched version exists; the package should be treated as malware, not a vulnerable dependency. Any machine where it was installed or executed must be considered fully compromised, with attacker access to secrets, keys, and credentials. The package sees roughly 287 downloads per month, so exposure is limited but real. Removal of the package alone is not sufficient, as the advisory warns full control of the machine may have been handed to an outside actor and residual malicious software may persist. No fix is available; remediation is incident response, not upgrading.
What to do
- Rotate all secrets, keys, and credentials stored on any machine that installed or ran tunnel-xinyi, using a clean machine
- Remove tunnel-xinyi from all projects and lockfiles and block the package in dependency policies
- Rebuild or reimage affected machines; do not assume removal of the package removes the malware
- Audit systems for signs of compromise and review access logs for anomalous activity
- Check CI/CD environments and dependency caches for the package
Sources
All live incidents on Threat Watch