Skip to main content
MalwarePublished Updated

cktool-core (npm) · Malicious Code

Affects cktool-coreSource GCVE Database

0

Malicious package : remove cktool-core and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

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

ProductAffectedFixed in
npmcktool-coreAffected
  • 1.0.0 – 1.0.4
5 affected builds
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

Community reviews

Loading reviews…