bytecraft (npm) · Malicious Code
Affects bytecraftSource GCVE Database
Malicious package : remove bytecraft and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 08:53 UTC
Malicious package
Published to npm · OSV MAL-2026-10891
What to do
Remove bytecraft from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmbytecraftpkg:npm/bytecraftOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'bytecraft' versions 1.5.0 and 2.0.0 were analyzed for malicious code. No suspicious behavior or indicators of supply-chain attacks were found in these versions. The package does not exhibit install-time network activity, remote code fetching, credential access, environment scraping, or hardcoded exfiltration endpoints. There is no evidence supporting the presence of malicious code in these releases.