Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in @zzzgenesis00/docker-api-client (npm)

@zzzgenesis00/docker-api-client, a malicious npm package impersonating the legitimate docker-api-client, contained a postinstall script that harvested developer secrets and credentials and exfiltrated them via Telegram and a reverse-tunnel host.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any developer who installed @zzzgenesis00/docker-api-client via npm; secrets and credentials exposed at install time.
Ecosystems
Attack vectors
Affected entities
  • @zzzgenesis00/docker-api-clientMalicious npm package impersonating legitimate docker-api-client

@zzzgenesis00/docker-api-client is a malicious npm package that impersonates the legitimate docker-api-client maintained by apocas. The package.json falsely declares the author as apocas and references the legitimate repository, but the scoped name @zzzgenesis00/docker-api-client is unrelated to the actual maintainer.

The malicious postinstall.js script executes automatically upon npm install and enumerates sensitive locations including ~/.ssh, ~/.npmrc, ~/.gitconfig, Chrome and Firefox profile directories, and cryptocurrency wallet directories. It also collects hardcoded secret environment variables including NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS keys, MNEMONIC, SEED_PHRASE, ETHEREUM_PRIVATE_KEY, and other API keys.

The harvested credentials are exfiltrated via two channels: HTTPS GET requests to api.telegram.org using a hardcoded bot token and chat_id, and HTTPS POST requests to /collect on 40f955f39128bd79-178-249-214-24.serveousercontent.com (a serveo reverse-tunnel host). The exfiltration includes a randomized 1.5-3.5 second delay to evade detection.

The incident was identified and credited to the OpenSSF malicious-packages repository.

Indicators of compromise

Packages
  • @zzzgenesis00/docker-api-client
Domains
  • api.telegram.org
  • 40f955f39128bd79-178-249-214-24.serveousercontent.com

Remediation

  • Immediately uninstall @zzzgenesis00/docker-api-client from all systems
  • Rotate all secrets and credentials that may have been exposed (NPM_TOKEN, GITHUB_TOKEN, AWS keys, SSH keys, etc.)
  • Review ~/.ssh, ~/.npmrc, ~/.gitconfig, and browser profile directories for unauthorized access
  • Check cryptocurrency wallet activity for unauthorized transactions
  • Audit environment variables and API keys for unauthorized use
  • Use the legitimate docker-api-client package (apocas/docker-api-client) if Docker API client functionality is needed
  • Review npm audit logs and package installation history for other suspicious packages

Sources

  1. GitHub Advisory GHSA-p492-926f-h775 · GitHub Advisory Database

Cite this entry

"Malicious code in @zzzgenesis00/docker-api-client (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 5, 2026; last updated August 5, 2026. https://supplychainattack.org/incident/malicious-code-in-zzzgenesis00-docker-api-client-npm-1iunkl

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. resolvedcritical

    Malicious code in express-chai (npm)

    express-chai, a malicious npm package impersonating the pino logger middleware, contained obfuscated code that fetches and executes arbitrary code from a remote server (https://gray-dyane-31.tiiny.site/index.json) at middleware initialization time, granting full Node.js process access to an attacker.

    npmCompromised packageTyposquatting
  2. resolvedcritical

    Malicious code in helmet-pro (npm)

    helmet-pro@10.0.4 is a typosquat of the legitimate helmet package that executes malicious code during npm install via a postinstall hook. The malicious code fetches and executes arbitrary JavaScript from a remote attacker-controlled endpoint, enabling remote code execution on the installer's machine.

    npmTyposquattingCompromised package
  3. resolvedcritical

    Malicious code in tailwindcss-hide-scrollbar (npm)

    The npm package tailwindcss-hide-scrollbar contains malicious code that executes on import/require. The package is a typosquat of the legitimate tailwind-scrollbar-hide plugin and includes obfuscated code that attempts to interact with Ethereum blockchain nodes and RPC endpoints.

    npmTyposquattingCompromised package
  4. containedcritical

    Malicious code in @atom8n/inspector (npm)

    The npm package @atom8n/inspector contained malicious code that impersonated Anthropic's official Model Context Protocol (MCP) inspector while intentionally disabling security protections. The package exposed developers to arbitrary remote code execution via a localhost proxy that accepted commands from any web origin.

    npmModel hubCompromised packageTyposquatting