1. Conduid
  2. Agents
  3. Cordon
MCP server · Agents

Cordon

A prompt-injection firewall for AI agents, with no AI inside: your agent reads anything and takes orders only from you. For Claude Code, Gemini CLI, MCP hosts and LangChain. | Файрвол от промпт-инъекций для ИИ-агентов без ИИ внутри: агент читает что угодно и слушается только вас.

42Fair

Scored 5 hours ago · breakdown

About Cordon

Cordon is an MCP server published by ilyautov in the Agents category: a prompt-injection firewall for AI agents, with no AI inside: your agent reads anything and takes orders only from you. For Claude Code, Gemini CLI, MCP hosts and LangChain. | Файрвол от промпт-инъекций для ИИ-агентов без ИИ внутри: агент читает что угодно и слушается только вас. No package is published for it, so it installs from a source checkout.

The repository has 6 stars and 1 forks, is licensed MIT, and its last commit was on 26 Nov 2026. The latest release is v0.5.0 (10 Sep 2026): Cordon now runs inside a LangChain agent's own loop. It follows v0.4.0 (10 Sep 2026), and the 5 most recent releases go back to v0.2.2 (21 Aug 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include agent-security, ai-security, gemini-cli-extension, guardrails, hooks and indirect-prompt-injection.

Install

From source
git clone https://github.com/ilyautov/cordon

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 68 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.5.0Cordon 0.5.0 · 10 Sep 2026Cordon now runs inside a LangChain agent's own loop. `createCordonMiddleware(options)` — built on the v1 `createMiddleware` contract — wires the same core to two hooks, and the adapter holds no security logic, as everywhere else.…
v0.4.0Cordon 0.4.0 · 10 Sep 2026Cordon now stands in front of MCP servers, not only inside coding harnesses. `cordon mcp -- npx server-x` is a stdio proxy between an MCP host (Claude Desktop, Cursor, a hand-written agent) and one upstream server: JSON-RPC 2.0 over…
v0.3.0Cordon 0.3.0 · 10 Sep 2026The data axis now answers the fact of reading, not only a match. The adversarial battery had measured the working profile at 75% attack success rate, and almost the whole tail was attacks whose arguments share no recorded byte with the…
v0.2.3Cordon 0.2.3 · 21 Aug 2026Cordon has been run on a live harness. Claude Code 2.1.236, hooks bound to all four events, a session of its own and a home of its own; the whole path was watched from the outside rather than from a test double. All four events fire. A…
v0.2.2Cordon 0.2.2 · 21 Aug 2026The name an argument goes by no longer decides whether it is a path. The same three lists — which argument names hold a path, which hold a URL, which hold a command — existed in three copies, in the gate and in each adapter, and they had…

README

The repository's README runs to about 2.2K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Cordon

How do I install Cordon?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Cordon safe to use with an AI agent?

Its trust score is 42 out of 100 (fair). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Cordon still maintained?

Yes — the latest release is v0.5.0 (10 Sep 2026), and the last commit was 5 days ago. The repository has 6 stars and 9 open issues.

What license is Cordon released under?

The repository declares the MIT license. That applies to the latest release, v0.5.0, as well.