Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ezco

Latest version: v0.2.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
AI: Benign PyPI package Publisher: Meduvadaa
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

ezco was last scanned on 28 Nov 2026 at version 0.2.0. Risk score 50 of 100 (medium). High-severity rules fired. The AI review did not flag it.

  • Releases: 2 versions, all published on 28 Nov 2026.
  • Findings: 4 rules fired in version 0.2.0 (5 instances: 2 high, 3 medium). The score describes this version only.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 28 Nov 2026 4 rules fired
0.1.0 28 Nov 2026 3 rules fired

Rules fired in 0.2.0: 4

Findings

2 High 3 Medium

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Decoded content next to dynamic code execution

The same file contains an encoded string that decodes to a command, a code-execution or network call, or a URL, and a dynamic code-execution call such as eval or exec on a non-literal value. This is the decode-then-run pattern used to hide what code does until it runs.

HIGH

Several suspicious behaviors form a known attack pattern

HIGH

Code decoded and executed

MEDIUM

and 1 more

Checking access…

🔒 Create a free account to see all 5 findings with descriptions and instance counts

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ezco

Website: https://negimedhansh47-jpg.github.io/ezco/

A security guard for commits written by AI coding agents. It runs before every git commit and blocks the commit if it finds:

  • Fake or suspicious packages. AI tools invent package names that don't exist (about 1 in 5 in one study of 576,000 code samples). Attackers register those names ("slopsquatting"). Blocks packages that don't exist and typos of popular packages that almost nobody uses. Checks requirements.txt, pyproject.toml, package.json and packages launched by MCP configs.
  • Leaked secrets. API keys (AWS, GitHub, OpenAI, Anthropic, Google, Stripe, Slack, Groq; from 0.2.0 also npm, PyPI, Hugging Face, GitLab, Slack webhooks, and keys split with + or written in base64), private keys (PGP from 0.2.0), passwords inside database URLs, and random-looking hard-coded secrets, with the exact link and steps to revoke each one. Secrets are masked in the report. Also warns when a .env file is committed.
  • Poisoned MCP tools and agent files. Hidden Unicode characters, prompt-injection phrases in MCP tool code, AGENTS.md, CLAUDE.md, .cursorrules and Cursor .mdc rules, and risky MCP server configs (unpinned packages, curl | sh, plain-http servers). It scans files in your repo; it does not connect to live MCP servers.
  • --deep mode (optional). An LLM (Groq) second pass for attacks the rules can't see. Secrets are redacted before anything is sent, and the LLM can only add warnings, never cancel a rule.

Install

pip install ezco
cd your-project
ezco install

That's it. Every git commit in that repo is now checked. Only the lines and packages the commit adds are checked, so it stays fast. Needs Python 3.11+.

Versions: pip install ezco gives 0.1.0. The fixes from stress test 3 (docs/stress-test-report.md) are in main as 0.2.0, not released yet. To get them now: pip install git+https://github.com/negimedhansh47-jpg/ezco. Lines below marked "from 0.2.0" need that.

If ezco isn't found (or Windows blocks ezco.exe), use python -m ezco instead: python -m ezco install. If you already have a pre-commit hook, ezco install --force keeps it as pre-commit.old and runs it first.

Use

Command What it does
ezco install Turn on the check for every commit in this repo
ezco scan Scan the whole folder now (or ezco scan file.py folder/)
ezco scan --deep Same, plus the LLM review (needs GROQ_API_KEY)
ezco install --agent [claude\|codex\|gemini\|all] Also stop an AI agent from installing a fake package (see below). Default: claude
ezco clone <url> [folder] Clone a repo and quarantine dangerous AI-agent files (see below)
ezco guard [folder] Check a folder's AI-agent files before opening an agent there
ezco uninstall Turn it off

Why --agent matters: a malicious package can run code the moment it is installed, so catching it at commit time is too late. --agent adds a hook to the agent's project settings (.claude/settings.json, .codex/hooks.json or .gemini/settings.json). Before the agent runs pip install, npm i, uv add, npx and similar, the packages are checked. A fake or typo package gets the command denied, and the agent is told why, so it picks the real package instead. The hook answers with each tool's documented JSON "deny", so the shell's exit-code handling doesn't matter. It runs in PowerShell, sh and bash, not in cmd.exe (cmd can't run the C:/.../python.exe path the hook uses; Claude Code uses Git Bash or PowerShell, and which shell Codex and Gemini CLI use on Windows is unverified). With 0.1.0, the gate let everything through when Windows PowerShell piped the hook JSON with a byte-order mark and Python's UTF-8 mode was off; fixed from 0.2.0. ezco must be pip-installed, because the hook runs python -m ezco. Codex asks you to review and trust a new hook before it runs.

Which agents are covered

Claude Code Codex CLI Gemini CLI Cursor Any other agent
Commit hook (git) Yes Yes Yes Yes Yes, if it commits with git and doesn't use --no-verify
Clone guard: instruction files CLAUDE.md AGENTS.md, AGENTS.override.md GEMINI.md .cursor/rules/*.mdc, .cursorrules, AGENTS.md Windsurf, Cline, Copilot files
Clone guard: hooks + MCP servers .claude/settings.json, .mcp.json .codex/hooks.json, .codex/config.toml .gemini/settings.json .cursor/hooks.json, .cursor/mcp.json .vscode/mcp.json
Install gate Yes, live-tested (Windows) Yes, format from Codex docs, not live-tested Yes, format from Gemini docs, tested by piping its hook JSON through PowerShell and sh. Gemini CLI 0.58 loads the hook ("These hooks will be executed"), but a full live run is not done yet No (see below) No
  • No Cursor install gate, on purpose. Cursor's docs don't say whether a hook answering "allow" skips your normal approval prompt. If it does, a gate that allows clean commands would auto-run every command, and Cursor would get less safe. The clone guard still covers Cursor's files.
  • Formats and sources: docs/research-harnesses.md. CI runs the tests on Linux, macOS and Windows, with Python 3.11 to 3.13.
  • Live tests: Claude Code on Windows (Nov 27, 2026). pip install reqeusts-toolbeltz was denied with the reason shown to Claude, and pip install requests ran normally.
  • Try it yourself in Codex or Gemini: in a throwaway git repo, run ezco install --agent codex (or gemini) and start the agent there (trust the folder or hook if asked). Ask it to run pip install reqeusts-toolbeltz: it should be denied with the reason. Then pip install requests should run normally. Please report the result in an issue.

Clone guard: protect yourself from repos you pull in

ezco clone https://github.com/someone/repo

A repo you clone can attack you, not just your commits. Its CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules, .windsurfrules, .clinerules, Cursor .mdc rules or copilot-instructions.md can hide instructions for your AI agent (invisible Unicode, "ignore previous instructions..."). Its .mcp.json can launch a server, and its .claude/settings.json, .cursor/hooks.json, .codex/hooks.json, .codex/config.toml or .gemini/settings.json can hold a hook that runs a command on your machine. When a hook runs a script shipped in the repo (bash .cursor/hooks/setup.sh), the script is checked too.

ezco clone runs git clone, then checks every one of those files. Any file with a BLOCK finding is renamed to <name>.quarantined, so no agent loads it. The report says what was found and how to rename it back. Hidden "tag" characters are decoded, so you see the smuggled message. In a cloned repo, ezco:ignore marks and .ezcoignore are not honoured, because the repo's author wrote them.

  • Already cloned? ezco guard path/to/repo does the same check (--no-quarantine to only report).
  • --deep (on clone or guard) also sends the agent files, secrets redacted, to the LLM. It catches reworded attacks with no trigger phrases. Unlike at commit time, an LLM hit here quarantines the file it names. The LLM can still only add findings, never clear the rules' findings, and a quarantine is just a rename you can undo.
  • ezco install also adds a post-merge git hook that re-checks agent files after every git pull (warns only). git pull --rebase doesn't run post-merge hooks, so it's not covered there.
  • A hardcoded key in a cloned agent file is reported as a WARN from 0.2.0 (a BLOCK and a quarantine in 0.1.0): someone else's leaked key can't attack you.
  • Rules are stricter than at commit time, because a stranger wrote these files. Any prompt-injection sign in an agent file quarantines it, and so does a hook that uploads data (curl -d), runs encoded code (-EncodedCommand, base64 -d | sh) or runs downloaded code. Other hook commands only warn. The catch: a CLAUDE.md that quotes an attack as a security example gets quarantined too. Read it and rename it back.
  • Exit codes: 0 clean or warnings only, 1 something was quarantined (or found, with --no-quarantine), 2 the folder doesn't exist. ezco clone passes on git's own exit code if the clone fails.
  • ezco uninstall removes the commit hook, the post-merge hook and the agent gate.

The honest catch: Claude Code loads CLAUDE.md the moment it starts in a folder, and no Claude Code hook can stop that. So the protection only works if the check runs before you open an agent there: clone with ezco clone, or run ezco guard first. Opening a poisoned folder directly with an agent is not protected. (Claude Code does ask you to trust a new folder first; that is your last chance to run ezco guard.)

Demo (run it in a clone of this repo; demo/ is not in the pip package): python demo/make_trap_repo.py trap builds a booby-trapped repo (hidden Unicode + an injection line in CLAUDE.md, and a .claude/settings.json hook that runs curl ... | sh). Then ezco clone trap victim. The payload points at example.invalid, which can never resolve.

False alarm? Three ways out:

Way Works in Example
ezco:ignore anywhere on the line any file with comments (.py, .js, .env, .yaml, requirements.txt, Markdown via <!-- ezco:ignore -->) KEY = load() # ezco:ignore
.ezcoignore file in the repo root any file, incl. JSON (no comments allowed there) demo/ or *.min.js
skip once the whole commit git commit --no-verify
  • Deep mode on a commit: set EZCO_DEEP=1 (PowerShell: $env:EZCO_DEEP=1) before git commit. Get a free key at console.groq.com/keys and set GROQ_API_KEY, or put GROQ_API_KEY=... in a .env file in the repo folder (keep .env in .gitignore). A real environment variable wins over .env.

BLOCK stops the commit. WARN is printed but lets it through.

Try the demo

python -m ezco scan demo

Run it in a clone of this repo. demo/ has planted problems: a fake package, a typo package, leaked keys, a poisoned MCP tool and a risky .mcp.json. None of the keys are real.

Run tests

python -m unittest discover -s tests

How it compares (honest table)

Taken from each tool's own README, read Nov 27, 2026. "Not stated" means their docs don't say. It does not mean the tool can't do it. slopgate-cli's npm page refused automated reading, so its column comes from Socket.dev's copy of its README and is unverified.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases ezco

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229