MAL-2026-18548: Malicious code in k7nhgj (npm)
--- -= Per source details. Do not edit below this line.=-
Source: ghsa-malware (77bf6e1b019cb178545a716c14fed8e8ab4b9b48c47d62b635a8010c2e9a7837) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
npm/k7nhgjfrom your environment.Remove the k7nhgj package.
- Operational
Rotate all secrets and keys stored on any computer where k7nhgj was installed or running, immediately and from a different computer.
Event History
Frequently Asked Questions
Which systems should be treated as affected?
Any computer where the package is installed or running should be considered fully compromised. This includes systems that may contain secrets or keys accessible to that computer.
What should be done first during incident response?
Rotate all secrets and keys stored on the affected computer immediately, using a different computer. Do not rely on the affected system to perform credential rotation.
Is removing the package sufficient to remediate the compromise?
No. The package should be removed, but removal does not guarantee that other malicious software installed as a result of the package will be removed.