cktool-core (npm) · Malicious Code
Affects cktool-coreSource GCVE Database
Malicious package : remove cktool-core and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10457
What to do
Remove cktool-core 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 |
|---|---|---|
| npmcktool-core | 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 cktool-core package on npm is a malicious package impersonating Apple's private @apple/cktool.core package. When installed due to resolver misrouting, it executes a postinstall script that generates a unique identifier and sends it, along with version and timestamp data, to an attacker-controlled external server. This behavior occurs unconditionally during installation, resulting in execution of attacker-controlled JavaScript and data exfiltration. The package is labeled as a proof-of-concept for dependency confusion but functions identically to a real attack targeting Apple's private namespace.
References
- npmjs.com/package/cktool-core/v/1.0.0 (opens in a new tab)
- npmjs.com/package/cktool-core/v/1.0.2 (opens in a new tab)
- npmjs.com/package/cktool-core/v/1.0.1 (opens in a new tab)
- github.com/advisories/GHSA-qm37-v399-r9m5 (opens in a new tab)
- npmjs.com/package/cktool-core/v/1.0.3 (opens in a new tab)
- npmjs.com/package/cktool-core/v/1.0.4 (opens in a new tab)