Malicious package · npm
Malicious code in git-crt-creator (npm)
1.0.11.0.21.0.310.13.0No safe version. Remove it.What it does
Version 1.0.1 uses the GitHub token of the process that loads it, without disclosure. Its index.js reads process.env.GITHUB_TOKEN and sends a POST to https://api.github.com/repos/hiko97851/ezaeazez/issues with Authorization: Bearer ${token}, from main() called at top level, so requiring the package opens an issue (body hello test issue) in a fixed third-party repository as the token's owner. The code sends the token to no other host; package.json's main names open-issue.js, which is not in the archive, so Node loads index.js.
git-crt-creator is part of the Ghost Compiler campaign, a cluster of npm packages published by the account jikaya497 (jikaya497@gmail.com) 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.
Reported by ghsa-malware 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.
No fix · Remove and contain
npm uninstall git-crt-creatorSources