npm Malware: 3 Packages That Hijack Your Computer
Description: npm malware alert: GitHub flagged xapi-lib, yzx-npm and unjailed as malware. Check if your project has them with one command.
GitHub's advisories say any computer that installed one of these packages should be treated as fully compromised, and there is no safe version of any of them. xapi-lib runs its code from a preinstall hook during npm install, before you ever use it. Removing the package may not remove everything it did.
Try it: run npm ls xapi-lib yzx-npm unjailed in your project. If one shows up, rotate every secret and key from a different computer.
Sources:
https://github.com/advisories/GHSA-wm6w-9vgq-gw26
https://github.com/advisories/GHSA-2mqp-mxm3-j2fh
https://github.com/advisories/GHSA-89v8-j949-j3h5
https://osv.dev/vulnerability/MAL-2026-17896
#npm #malware #javascript Close description
GitHub's advisories say any computer that installed one of these packages should be treated as fully compromised, and there is no safe version of any of them. xapi-lib runs its code from a preinstall hook during npm install, before you ever use it. Removing the package may not remove everything it did.
Try it: run npm ls xapi-lib yzx-npm unjailed in your project. If one shows up, rotate every secret and key from a different computer.
Sources:
https://github.com/advisories/GHSA-wm6w-9vgq-gw26
https://github.com/advisories/GHSA-2mqp-mxm3-j2fh
https://github.com/advisories/GHSA-89v8-j949-j3h5
https://osv.dev/vulnerability/MAL-2026-17896
#npm #malware #javascript Close description
