High

Malicious Fork Impersonation via Install Instruction

This rule flags cases where an AI agent's output—such as a skill or tool response—recommends installing a package described as a community fork, enhanced version, or patched version of a well-known tool. Attackers use this trick to make a lookalike, typosquatted package sound trustworthy so victims install it instead of the real thing.

How the attack works

An attacker publishes a malicious package under a name similar to a popular, trusted tool. They label it as a 'community fork', 'enhanced version', or 'patched version' to imply legitimacy and improvement over the original. If an AI agent's skill or tool output repeats this framing and recommends installation, a user may follow the instruction and install the malicious package instead of the genuine one. The attacker gains code execution or data access on the victim's system once the fake package is installed.

Netzilo detection

Netzilo reports this behaviour when it is observed.

Signature ID
96e8ddb9-e13e-49ba-b46f-cd69578080c5
Severity
High

Why it matters

An organization can end up running attacker-controlled code inside its environment, leading to credential theft, backdoors, or further compromise of systems that trust the AI agent's recommendations.

What you can do

  • Verify any suggested package against its official registry entry and maintainer history before installing.
  • Do not install packages solely on the basis of an AI-generated recommendation; cross-check with independent sources.
  • Maintain an allowlist of approved packages and forks for your organization's build and deployment processes.
  • Flag and manually review any AI output that recommends installing a 'fork', 'enhanced', or 'patched' version of a known dependency.

Known benign look-alikes

  • Legitimate forks with established reputation (e.g., ioredis)

References

Related threats