MAL-2026-18364 Malicious code in @zaip-ai/cli (npm)

Malicious package Published
Package
@zaip-ai/cli
Registry
npm

What is MAL-2026-18364?

MAL-2026-18364 is a malicious package in @zaip-ai/cli, published on 28 Oct 2026.

Official description

@zaip-ai/[email protected] is a CLI package whose shipped files trigger keyword co-occurrence patterns (curl/wget/ping tokens, Buffer.from base64 decoding) without evidence of installer-side harm. The curl references in dist/services/codex-pre-tool-hook-template.test.js and dist/services/codex-pre-tool-policy-template.js appear inside test fixtures and policy templates that enumerate example command strings (including explicit placeholder hosts such as evil.test and example.com) used by a pre-tool hook/policy mechanism — the strings are policy data, not executed commands against those hosts. Buffer.from(…, 'base64').toString(…) usage in dist/services/global-codex-config.js and in a release-preparation script is ordinary base64 decoding of configuration/release data, with no eval, Function constructor, or dynamic code execution of the decoded bytes. The ping/POST/GET tokens in templates/.agents/tools/runtime/api-mcp-runtime.mjs come from an MCP runtime template describing HTTP method handling. No lifecycle scripts fetch remote code, no installer secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser stores) are read, no hardcoded attacker C2 endpoint is bound to a network call, and no obfuscated destination is present.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

What should I do about MAL-2026-18364?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Also known as GHSA-ffq4-h5jm-8pqr.

Is MAL-2026-18364 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free