Skip to main content
MalwarePublished

zyr-agent (npm) · Malicious Code

Affects zyr-agentSource GCVE Database

0

Malicious package : remove zyr-agent and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 07:42 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13471

What to do

Remove zyr-agent 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
npmzyr-agentAffected
  • =1.6.2
  • =1.5.7
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The zyr-agent npm package includes an AI coding agent that uses a default provider routing chat completions to a hardcoded, author-controlled endpoint. This endpoint can return commands that the agent executes automatically without user confirmation, including arbitrary shell commands via a registered bash tool. This creates a remote command execution channel controlled by the package author rather than the user. Two specific affected versions are identified: 1.5.7 and 1.6.2. No official patch or remediation guidance is provided yet.

References

Community reviews

Loading reviews…