Skip to content

Ezco

negimedhansh47-jpg.github.io • November 29, 2026

A repo can whisper orders to your AI agent. A package name it made up can belong to an attacker. A key can slip into a commit at 2 a.m. ezco stands at all three doors, so you don’t have to.

Python 3.11+ · zero dependencies · MIT

Three doors. One guard.

A stranger’s repo can talk to your agent behind your back: invisible characters in CLAUDE.md , a settings hook that pipes a script straight into your shell. ezco clone reads those files before any agent opens the folder and moves the dangerous ones out of reach. Nothing is deleted. You can always rename them back.

The package it installs

AI tools invent package names. One study of 576,000 code samples caught it happening one time in five, and attackers register those names. A bad package runs code the moment it installs, so the gate stops the command before it runs and tells the agent what it probably meant.

The last door. Every line a commit adds is read for fake packages, live keys and poisoned agent files. If a key leaks, you don’t just get a warning. You get the exact page where you revoke it.

Receipts, not promises.

88 /91 hand-labelled repos and agent configs called right. 70 were written by an AI that never saw the code, 21 were added while fixing

2 /500 real agent files from public repos quarantined. Both are security guides that quote an attack

120 /120 install commands judged correctly by the gate, including sudo, bash -c, Windows paths and heredoc commit messages

144 automated tests, run on Linux, macOS and Windows

Numbers for ezco 0.2.2, the current release.

Which agents it watches.

Why no Cursor gate? Cursor’s docs don’t say whether a hook that answers “allow” skips your approval prompt. If it does, a gate would quietly make Cursor less safe. So it isn’t there.

It only helps if it gets there before your agent does.

Open a poisoned repo straight in Claude Code and CLAUDE.md is already loaded. No hook can stop that. Clone with ezco clone , or run ezco guard first.

The rules are patterns, and a clever rewrite can slip past them. That’s what --deep is for: it sends the text, secrets removed, to an LLM for a second look. The LLM can add a warning but never cancel one.

And it reads agent files, hooks and package lists. Not the rest of a repo’s code.

Go on. Try to sneak something past it.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Extracted Entities

Attack Types (1)

Companies (1)

Platforms (3)

Tools (1)