Tkach Security

Fail-closed MCP adapter for untrusted model output over a local Tkach runtime.

LLM Mart 4 views 141 listing impressions

A fail-closed security boundary for AI agents and compromised model output.

CI GitHub release npm package PyPI package tkach-cli on crates.io MSRV 1.85 Apache 2.0 license

The model proposes. Tkach authorizes.

Put Tkach between model proposals and protected actions. Its Rust Core checks authority and information flow before allowing an action or releasing output. Model output remains untrusted data, even when the model is compromised.

Why Tkach

  • Explicit authority: protected actions need an exact-scope, Core-issued Propusk; model text cannot create one.
  • Controlled data flow: permission to read is not permission to export. Provenance and release checks remain inside the boundary.
  • Fail-closed decisions: invalid, denied, replayed, cancelled, or uncertain states do not silently become permission.
  • Isolated secrets and bounded evidence: broker-held secrets stay outside ordinary model context; Sled receipts do not include payloads.

These guarantees apply to paths routed through Tkach. It does not make the model trustworthy, detect every prompt injection, or protect a compromised host.

Start in minutes

Install from crates.io with Rust 1.85 or newer:

cargo install tkach-cli --version 0.1.1 --locked
tkach init my-agent
tkach check my-agent/.tkach/request.json
tkach run --demo

init creates a starter request without overwriting files; check validates its schema, not permission to execute; run --demo exercises the offline boundary without a model connection. Use tkach ui for the interactive panel.

Prefer no Rust toolchain? Download a binary below and start with tkach init.

Packages and downloads · v0.1.1

Channel What you get Install / next step
GitHub Releases tkach + tkach-mcp; Linux x86_64, macOS x86_64/arm64, Windows x86_64 Verify downloads
crates.io Seven Rust crates at 0.1.1: Core, Gateway, HTTP, client, MCP, CLI, provider adapter Package list
npm Thin JavaScript / TypeScript HTTP client npm install tkach-security-client@0.1.1
PyPI Thin Python HTTP client python -m pip install tkach-security-client==0.1.1
Official MCP Registry io.github.ECD5A/tkach-security@0.1.1, local stdio Configure MCP
GHCR OCI image for Linux amd64 / arm64 Digest and deployment

From the project's README.

Related servers

Universal MCP Server with advanced AI memory capabilities and semantic search.

30 views

Portable, vendor-neutral home for agent skills, MCP servers, personas, and memory.

28 views

Let Codex orchestrate external coding agents through their native harnesses.

28 views

MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.

28 views