npm

The @guangnao/claude-cli npm Malware Advisory

Updated 24 Nov 2026 · Incident date 1 Aug 2026

Advisories from GitHub, the OpenSSF database and Amazon Inspector mark 18 versions of @guangnao/claude-cli as malicious npm code.

Amazon Inspector flagged bin/claude-cli.js in this package in August 2026. GitHub reviewed the malware advisory on 24 November 2026 and npm deleted the package the same day.

What happened

Security sources published malware advisories for the npm package @guangnao/claude-cli.

  • Amazon Inspector reported versions 1.0.5, 1.0.12 and 1.0.13 to the OpenSSF malicious packages database as MAL-2026-13209 on 5 and 6 August 2026.
  • Inspector's report says the file hides a hub endpoint behind a base64 and XOR decoder. It says claude-cli start turns this endpoint on by default and relays remote jobs to a local Anthropic API endpoint with the machine's stored key.
  • GitHub published malware advisory GHSA-vfqh-3659-q56x on 24 November 2026 and lists every version from 1.0.0 to 1.0.17.
  • npm removed the package and replaced it with a security holding placeholder on 24 November 2026.
  • The deleted code was unavailable for inspection this run, so this page sums up the advisories and does not add findings of its own.

Affected versions

  • GitHub lists all 18 versions, 1.0.0 through 1.0.17, as malware.
  • npm registry timestamps place 1.0.0 at 17:51 UTC on 1 August 2026 and 1.0.17 at 18:05 UTC on 6 August 2026.
  • The OpenSSF record names 1.0.5, 1.0.12 and 1.0.13.
  • Snyk's advisory names 1.0.5.

Indicators of compromise

  • Package: @guangnao/claude-cli, versions 1.0.0 to 1.0.17.
  • Evidence file: bin/claude-cli.js. SHA-256 4fb35fc9c11e82f1a3aefd1162df26c7926bbb6ad69a42dc588c348fd9712259 (OpenSSF record).
  • Endpoint named by Amazon Inspector: https://hub.client-llm.com.

How to check

Search your project lockfiles for the package name:

rg -n -F '@guangnao/claude-cli' package-lock.json pnpm-lock.yaml yarn.lock npm-shrinkwrap.json

Check past build logs and lockfile history for earlier installs. npm deleted the package, so its absence today cannot rule out exposure in August 2026.

What to do now

  1. Follow GitHub's advice: treat a computer that installed or ran an affected version as fully compromised.
  2. Rotate all stored secrets and keys immediately from a different computer.
  3. Remove the package. GitHub warns that removal alone cannot guarantee removal of all resulting malware.

What Vigilance would show

These examples show an install hold and the corresponding owner report.

Example install message

Vigilance blocked `@guangnao/claude-cli` 1.0.17. This version is too new or changed in a way Vigilance must check first.

Example owner report

Bad update

@guangnao/claude-cli 1.0.17

Advisories say this Claude command-line tool hid an outside endpoint in scrambled text, turned it on by default, and passed remote jobs to the machine's local AI key.

See what to do now.

No security team? See who reads the alert.

Frequently asked questions

Is @guangnao/claude-cli still on npm?

No. npm removed the package and published a security holding placeholder on 24 November 2026, according to the npm registry.

When did the malicious @guangnao/claude-cli versions ship?

The npm registry lists version 1.0.0 on 1 August 2026 and version 1.0.17 on 6 August 2026. GitHub lists every version in that range as malware.

What did @guangnao/claude-cli do?

Amazon Inspector's report in the OpenSSF database describes a hidden hub endpoint. It says the endpoint turns on by default and relays remote jobs to the machine's local Anthropic API endpoint with its stored key. The removed code was unavailable for inspection, so the page does not confirm these findings independently.

Sources

  1. github.com/advisories/GHSA-vfqh-3659-q56x
  2. osv.dev/vulnerability/MAL-2026-13209
  3. registry.npmjs.org/@guangnao/claude-cli
  4. security.snyk.io/vuln/SNYK-JS-GUANGNAOCLAUDECLI-18551083

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 202 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start freeBrowse the attack library