Malware in @structureit/ir-dealapi-js: malicious npm package can fully compromise hosts
Severity: critical · Patch status: unpatched · Since 2026-11-23
The npm package @structureit/ir-dealapi-js is malicious, according to GitHub Advisory GHSA-gq28-39q4-2fq3 published on 2026-11-23. All versions from =0 are affected, and no patched version exists. The advisory classifies the issue as CWE-506 Embedded Malicious Code and warns that any computer with the package installed or running should be considered fully compromised. Secrets and keys stored on such systems should be rotated immediately from a different computer. Removing the package is recommended, but because an outside entity may have gained full control, removal may not eliminate all malicious software. No specific exploitation activity, victim organisation, or CVE is named. Organisations should treat affected hosts as compromised and audit npm dependencies for this package.
What to do
- Immediately identify and remove @structureit/ir-dealapi-js from all systems and dependency trees.
- Treat any host where the package was installed or run as fully compromised; isolate it and rebuild or reimage from trusted media.
- Rotate all secrets, API keys, tokens, SSH keys, and credentials that were present on affected hosts, using a different trusted computer.
- Audit npm lockfiles, CI/CD logs, and package caches for @structureit/ir-dealapi-js and block it in package-manager or registry controls.
- Review outbound network activity and persistence mechanisms on affected hosts for signs of attacker control.
Sources
All live incidents on Threat Watch