git-crt-creator (npm) · Malicious Code
Affects git-crt-creatorSource GCVE Database
Malicious package : remove git-crt-creator and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 17:37 UTC
Malicious package
Published to npm · OSV MAL-2026-20604
What to do
Remove git-crt-creator 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 |
|---|---|---|
| npmgit-crt-creator | 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 git-crt-creator is part of a malicious campaign that hijacks the TypeScript compiler command (tsc) by replacing it with a malicious script. From version 1.0.2, the package replaces the tsc binary link, causing CI or build scripts invoking tsc to execute a shell script hidden as a JavaScript comment. Versions 1.0.3 and 10.13.0 contain a payload that steals GitHub Actions secrets by dumping the runner's memory and exfiltrating secrets to a GitHub repository issue. Version 1.0.2 performs undisclosed network activity but does not steal secrets. Indicators include unexpected tsc binaries, specific network requests, and issues titled "Claude bot" in a known repository. Any CI pipeline running these versions should rotate all secrets exposed to the workflow.