Tkach Security MCP server
Commit 19 Sep 2026Menyediakan batasan keamanan fail-closed yang mengotorisasi tindakan AI agent dan mengontrol aliran data melalui runtime berbasis Rust.
Juga dikenal sebagai ECD5A/Tkach-Security, tkach-security
- Stars
- 1
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 0.1.2
- Commit terakhir
- 19 Sep 2026
- Lisensi
- Apache-2.0
Apa itu Tkach Security MCP?
Menyediakan batasan keamanan fail-closed yang mengotorisasi tindakan AI agent dan mengontrol aliran data melalui runtime berbasis Rust.
Ringkasan dibuat dari README proyek
Tentang Tkach Security MCP server
Tkach Security menyediakan batasan keamanan fail-closed yang dirancang untuk melindungi sistem dari output model AI yang telah dikompromi. Sistem ini bekerja dengan menempatkan runtime berbasis Rust di antara proposal model dan tindakan yang dilindungi, memastikan bahwa setiap tindakan diotorisasi melalui Propusk yang diterbitkan oleh Core. Arsitektur ini memperlakukan output model sebagai data yang tidak tepercaya, mencegah aliran informasi yang tidak sah bahkan jika model yang mendasarinya telah dikompromi.
Developer dapat mengintegrasikan sistem ini menggunakan berbagai metode, termasuk HTTP client Python atau JavaScript, client Rust, atau MCP client melalui adapter stdio. Pengaturan server memerlukan menjalankan runtime tkach serve lokal dan menyediakan bearer token. Sistem ini mencakup tool khusus seperti tkach-cli untuk mengelola request dan tkach ui untuk panel manajemen interaktif. Sistem ini dibangun untuk memastikan bahwa izin untuk membaca data tidak secara otomatis memberikan izin untuk mengekspornya, sehingga menjaga pengecekan provenance dan rilis yang ketat.
Apa yang bisa Anda lakukan dengannya
- 1Mengotorisasi tindakan AI agentAI client dapat menggunakan server ini untuk memastikan bahwa setiap tindakan yang diusulkan oleh model memerlukan token otorisasi dengan scope yang tepat.
- 2Mencegah ekspor data yang tidak sahDeveloper dapat membatasi agent agar dapat membaca informasi tanpa bisa mengirimkan data tersebut ke tujuan eksternal.
- 3Mengamankan kredensial sensitifAnda dapat menggunakan batasan ini untuk menjaga rahasia tetap terisolasi dari konteks model sambil tetap menyediakan bukti yang terbatas melalui receipt.
- 4Validasi skema request agentDeveloper dapat menggunakan command line interface untuk memverifikasi bahwa file request mengikuti struktur yang benar sebelum eksekusi.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Konfigurasi
TKACH_BEARER_TOKENWajibRahasiaTrusted bearer proof for the local runtime.
TKACH_HTTP_ADDRLoopback address of the already running Tkach HTTP runtime.
| Nama | Deskripsi | Tipe |
|---|---|---|
| TKACH_BEARER_TOKEN | Trusted bearer proof for the local runtime. | WajibRahasia |
| TKACH_HTTP_ADDR | Loopback address of the already running Tkach HTTP runtime. |
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkauecd5a/tkach-security is public and reachablegithub.com/ecd5a/tkach-security ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-09-19github.com/ecd5a/tkach-security ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubA fail-closed security boundary for AI agents and compromised model output.
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;
Sledreceipts 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.2 --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.2
| 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.2: Core, Gateway, HTTP, client, MCP, CLI, provider adapter |
Package list |
| npm | Thin JavaScript / TypeScript HTTP client | npm install tkach-security-client@0.1.2 |
| PyPI | Thin Python HTTP client | python -m pip install tkach-security-client==0.1.2 |
| Official MCP Registry | io.github.ECD5A/tkach-security@0.1.2, local stdio |
Configure MCP |
| GHCR | OCI image for Linux amd64 / arm64 | Digest and deployment |
Binary archives include SHA-256 manifests, keyless Sigstore bundles, and GitHub build attestations. Pin the OCI digest for deployment; verification details live in the distribution guide.
Integrate without moving policy out of Rust
Use the HTTP contract from
your application, the Rust client,
a Python/JS/TS/Go client,
or the stdio adapter from an MCP client.
Clients and MCP require a separately started local tkach serve runtime and
its bearer token; installing a package does not enable background protection.
tkach-core stays provider-, protocol-, and language-independent. Adapters
transport requests; policy and authority stay in Rust. Follow the
integration guide or copy a working examples/
scenario. The Go client is a source module, not a separate registry package.
The supported runtime is loopback-only by default. Public internet serving, TLS termination, Streamable HTTP, a cloud control plane, and a generic executor are not included; see the deployment contract.
See the boundary in action
From a repository checkout, run the offline Golden Case. It needs no model service or credentials. It performs one create-only write inside a temporary sandbox, then proves that a sibling path and a compromised provider proposal are denied:
cargo run -p tkach-gateway --example golden_case --locked
Expected result:
GOLDEN_CASE|safe_output=released|allowed_write=committed|out_of_scope=denied|compromised_action=denied|compromised_executor_calls=0
The positive path uses trusted host configuration for the exact policy, destination, and executor binding; the provider supplies only an untrusted proposal. Read the architecture for the enforcement path and the release notes for the release checks and remaining limitations.
Documentation
- Use: integration guide, examples, distribution.
- Review: product contract, architecture, security model, threat model.
- Follow: changelog, roadmap. Report vulnerabilities through SECURITY.md.
Contributing
Keep changes small and explicit about the security boundary. Core changes need a demonstrated security or product defect; adapters must remain thin and must not duplicate Core logic. See CONTRIBUTING.md for required checks, public-claim rules, and files that must remain local.
Support
If Tkach Security is useful to your work, support its continued maintenance:
- TON:
pointoncurve.ton - Bitcoin (BTC):
1ECDSA1b4d5TcZHtqNpcxmY8pBH1GgHntN - USDT (TRC20):
TUF4vPdB6QkjCvZq18rBL4Qj4dK5ihCN75
Contact
For inquiries about Tkach Security, integrations, security research, or collaboration:
Pertanyaan tentang Tkach Security MCP
Apa yang dilindungi oleh Tkach Security?
Tkach bertindak sebagai batasan keamanan untuk AI agent, memastikan bahwa meskipun model telah dikompromi, outputnya tetap dianggap tidak tepercaya dan setiap tindakan harus diotorisasi secara eksplisit.
Bagaimana Tkach menangani izin untuk tindakan?
Tindakan yang dilindungi memerlukan 'Propusk' dengan scope yang tepat yang diterbitkan oleh Core, yang tidak dapat dibuat hanya melalui teks model.
Apakah Tkach dapat mendeteksi prompt injection?
Tidak, Tkach tidak mengklaim dapat mendeteksi setiap prompt injection atau membuat model itu sendiri menjadi tepercaya.
Bisakah saya menggunakan Tkach tanpa Rust toolchain?
Ya, Anda dapat mengunduh binary untuk memulai dengan perintah tkach init.