MAL-2026-6338 Malicious code in log-taker (npm)
- Package
- log-taker
- Registry
- npm
What is MAL-2026-6338?
MAL-2026-6338 is a malicious package in log-taker, published on 23 Jun 2026.
Official description
index.js imports child_process and invokes execSync with bash and zsh shell strings (around lines 315 and 331). The pattern of spawning interactive shells from a package named 'log-taker' is unusual and warrants human review, but the available evidence does not include the literal command strings, network destinations, credential reads, or lifecycle-hook bindings needed to confirm an installer-side attack. There is no traced exfiltration endpoint, no read of installer-secret paths, and no confirmed install-time auto-execution path. Disposition is review pending verification of where these shell calls fire (lifecycle hook vs. user-invoked CLI) and what commands they execute.
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.
What should I do about MAL-2026-6338?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-x8v5-5q93-844w.