git-crt-creatornpm
Advisory published Updated
git-crt-creator is a confirmed malicious npm package (MAL-2026-20604) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.2, 1.0.3, 10.13.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in git-crt-creator (npm)
What this malware does
git-crt-creator is part of the Ghost Compiler campaign, a cluster of npm packages published by the account jikaya497 ([email protected]) between October and November 2026. The weaponized packages in this campaign register themselves as tsc, the TypeScript compiler command, and hide their payload in a file that reads as a JavaScript comment but runs as a shell script.
How it executes: from version 1.0.2, package.json maps bin.tsc to ./index.js, so installing the package links node_modules/.bin/tsc to that file. Whichever package is installed last owns that link, so installing git-crt-creator after typescript replaces the real compiler. index.js has no shebang line and is marked executable (mode 0755). When a build script or CI step runs tsc, the kernel cannot execute the file directly and the shell falls back to interpreting it as a shell script. The command substitution inside what a reviewer reads as a JavaScript comment then runs.
Payload in 1.0.3 and 10.13.0 (GitHub Actions secret theft): the script downloads memdump.py from GitHub gist madder-g/d3f2f180c7ed4925de58e5f32d2a00a8 (sha256 3f43650218b53a0391925a612b2d1c3a897ca5e0a3ada2b15d807e4528830102) and runs it with sudo python3. The script finds the GitHub Actions Runner.Worker process and dumps its readable memory. The chain extracts every masked secret held there (entries matching "<name>":{"value":"<value>","isSecret":true}), base64-encodes them and posts them as the body of a new issue titled "Claude bot" in the repository hiko97851/podzal through https://api.github.com/repos/hiko97851/podzal/issues, authenticating with the job's own GITHUB_TOKEN. Every secret exposed to the job leaves the runner. The base64 encoding keeps the stolen values from being recognized by secret scanning, and the traffic goes only to api.github.com and gist.githubusercontent.com, so it blends in with normal CI egress. The sink repository already contains secrets captured from GitHub Actions runs. Version 10.13.0 is byte-identical to 1.0.3 apart from its version number, republished so it wins semver ranges.
Version 1.0.2: uses the same tsc hijack to send one POST to the same GitHub issues endpoint, authenticating with the runner's GITHUB_TOKEN and carrying a static body. It does not collect data from the host, but it executes undisclosed network code whenever tsc runs and was the test release for the theft chain above.
Indicators: node_modules/.bin/tsc resolving to any package other than typescript; a bin-exposed .js file with no shebang and mode 0755; CI requests to gist.githubusercontent.com/madder-g/ or to api.github.com/repos/hiko97851/podzal/issues; issues titled "Claude bot" in hiko97851/podzal.
Any CI pipeline that installed these versions and then ran tsc should rotate every secret available to that workflow, including cloud, registry-publishing and API credentials.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for git-crt-creator (3 malicious versions).
If you installed it — respond
git-crt-creator is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If git-crt-creator was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks git-crt-creator-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.