sextant-cli-darwin-amd64 (npm) · Malicious Code
Affects sextant-cli-darwin-amd64Source GCVE Database
Malicious package : remove sextant-cli-darwin-amd64 and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:17 UTC
Malicious package
Published to npm · OSV MAL-2026-12028
What to do
Remove sextant-cli-darwin-amd64 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 |
|---|---|---|
| npmsextant-cli-darwin-amd64 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9d2e5ab6503eb2b9c12bf64e34cb2fe12227c07b179231ebe23f13b8866181f1) The tarball contains a single 13.4 MB Mach-O darwin/amd64 Go binary at bin/sxt and a package.json with no source, no main, no bin mapping, and no scripts — the package is a platform-artifact shipped for consumption as an optionalDependency by a parent sextant-cli. Strings extracted from bin/sxt show it embeds github.com/coder/websocket and github.com/creack/pty together with the hardcoded relay URL wss://relay.sextant.top; that network-to-PTY dataflow is a remote-shell backdoor driven by an attacker-controlled WebSocket relay on the installer's host. The same binary contains the Anthropic API-key regex sk-ant-[a-z0-9]+-[A-Za-z0-9_-]{40,} alongside CLAUDE_CONFIG_DIR=, https://claude.ai/, and https://api.anthropic.com/v1/models, indicating the binary reads the installer's Claude configuration directory and fingerprints sk-ant-* credentials for exfiltration through the same relay. Additional strings embed http://ip-api.com/json/?fields=status,message,country,countryCode,city,timezone,isp,org,as,proxy,hosting,mobile,query, profiling the installer's public IP, city, ISP, org, ASN, and hosting/proxy flags. package.json declares its license as SEE LICENSE IN https://github.com/ddos798/claude_control, and the binary references https://claude.ai/install.sh and https://registry.npmjs.org/sextant-cli/latest for self-update. Delivering behavior only as a stripped compiled binary conceals the network-to-PTY, credential-regex, and geolocation logic from JS-level inspection.
References
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc34 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc31 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc10 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc16 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc11 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc12 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc26 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc6 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc24 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc22 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc14 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc23 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc19 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc35 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc18 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc20 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc27 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc21 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc25 (opens in a new tab)
- npmjs.com/package/sextant-cli-darwin-amd64/v/0.0.1-rc13 (opens in a new tab)