Malicious npm package oh-aicoding-tool — full system compromise on install
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub published a malware advisory (GHSA-5f5r-fpp7-4jpw) for the npm package oh-aicoding-tool, flagged as CWE-506 embedded malicious code. All versions (= 0) are affected and no patched version exists. The advisory states any computer with the package installed or running should be considered fully compromised, with full control potentially handed to an outside entity. The package reportedly sees around 10K downloads per month, so a meaningful number of developer machines may be affected. Removal of the package does not guarantee removal of all malicious software it installed. There is no fix; the only remediation is removal plus full incident response on affected hosts.
What to do
- Stop using and uninstall oh-aicoding-tool from all machines
- Treat affected machines as fully compromised; rebuild/reimage them
- Rotate all secrets, keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Audit for persistence and additional malicious software left behind
- Block the package in npm/CI dependency policies and scan repositories and lockfiles for it
Sources
All live incidents on Threat Watch