kavach

LucidAkshayGPL-3.0更新放缓

用 Rust 和 TypeScript 打造的战术级 AI 工作区监控与 EDR 工具,实时盯住 AI Agent 和 LLM 的运行行为,并联动防火墙做安全管控。

Tactical AI Workspace Monitor & EDR

v1.1.0发布于 2026-03-18 16:32 UTC261star48fork同步于 2026-11-07 07:29 UTC

怎么上手

由 README 提炼,执行前请确认
从 Releases 页面下载对应系统安装包并运行,例如 Akshays.Kavach_1.1.0_x64-setup.exe
硬件要求按 README 说明

README 未说明具体硬件要求;从 Releases 下载对应系统安装包运行,Windows 需以管理员身份运行才能终止进程,macOS 需授予完全磁盘访问权限。

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

监控并拦截本机自主 AI 代理与本地 LLM 的文件操作,防止误删和密钥外泄

用 Rust 和 TypeScript 打造的战术级 AI 工作区监控与 EDR 工具,实时盯住 AI Agent 和 LLM 的运行行为,并联动防火墙做安全管控。

核心能力

  • 用 Phantom Workspace 把破坏性文件操作静默重定向到隐藏目录
  • 拦截动作挂起超 60 秒自动向代理 PID 发硬终止信号
  • 对 50MB 以下文件做加密缓存,支持一键回滚
  • 部署 system_auth_tokens.json 蜜罐,被读写即触发高风险锁定
  • 用 FNV 哈希链保证审计日志不可篡改,并扫描 package.json 的 CVE

容易踩的坑

v1.1.0 是异步文件系统观察器而非同步沙箱,无法真正在内核层阻断系统调用;Windows 需管理员权限、macOS 需完全磁盘访问,否则进程终止等功能不可用;超过 50MB 的文件不支持回滚,UI 中会标记为不可恢复。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

1 个版本v1.1.0
  1. v1.1.0Kavach v1.1.0最新正式版2026-03-18 · 2026-03-18 16:32 UTC

    Kavach AI Workspace Monitor & EDR deployment. See the assets below to download the installer for your operating system.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    🛡️ KAVACH

    Tactical AI Workspace Monitor & EDR

    Tauri Rust React License

    Kavach Dashboard Demo

    Kavach (Sanskrit for "Armor") is an open source Endpoint Detection and Response (EDR) layer designed exclusively to restrain, monitor, and remediate autonomous AI agents and local LLMs operating on your machine.


    🛰️ The Threat & The Observer

    Autonomous AI agents are revolutionary, but they are inherently volatile. When they operate on your local file system, they move at superhuman speeds. A single hallucination can delete production databases, overwrite source code, or exfiltrate private API keys.

    Architecture Transparency: Kavach v1.1.0 operates as a high performance asynchronous file system observer using Userland APIs. It monitors designated workspaces, quarantines malicious actions, and provides immediate remediation tools. It is an EDR monitor, not a strict synchronous sandbox. True system call blocking requires kernel drivers, which are slated for our v1.2 roadmap.


    ⚡ The Arsenal : Active Defense Mechanisms

    Kavach is armed with an exhaustive array of active defense mechanisms operating at the application layer to outsmart and contain rogue agents.

    🌌 Flagship Tactical Mechanics

    • Phantom Workspace: Intercepts destructive file operations (Modify, Delete, Create) and silently routes them to a hidden .kavach_phantom directory to trap malicious payloads.
    • The Auto Enforcer: A ruthless background Rust thread. If an intercepted action sits pending in the UI for more than 60 seconds, Kavach automatically issues a hard OS termination signal to the rogue agent PID.
    • Temporal Rollback: Automatic cryptographic caching of file modifications. If a file is under 50MB, Kavach enables instant 1 click restoration. Large files are dynamically flagged in the UI as ineligible for rollback.
    • Honeypot Tripwire Architecture: Safely deploys a "sugar trap" system_auth_tokens.json file. Any process attempting to read or modify the decoy instantly triggers a High Risk lockdown and a distinct TRAP TRIGGERED alarm. Decoys are automatically scrubbed when the session ends.

    🦀 Core Security Engine (Rust Layer)

    • High Velocity Loop Break: Heuristic detection of repetitive command patterns (e.g. recursive npm install loops) to force automatic agent suspension.
    • The Janitor Protocol: Intelligent auto whitelisting of standard Windows system maintenance paths (%TEMP%, Prefetch, Logs) to eliminate alert fatigue.
    • PID Chokehold: Dynamic monitoring and CPU usage throttling. Instantly drops a rogue agent's OS priority to IDLE using Windows WMIC or POSIX renice commands.

    🧠 The Brain & The Shield

    • Gag Order (PII Sanitizer): Real time entropy and regex scanning for OpenAI AWS keys, credit cards, and emails in outbound strings.
    • Faraday Clipboard Guard: Actively calculates Shannon Entropy on your OS clipboard. If it detects a stolen secret, it instantly overwrites your clipboard with a decoy string to prevent pasting and exfiltration.
    • Child Process Quarantine: Hierarchical scanning that tracks and restricts permissions for any process spawned by a monitored parent agent.

    📦 The Black Box (Forensics)

    • Cryptographic Ledger: A blockchain style FNV hash chain that ensures audit logs are immutable and tamper proof.
    • Supply Chain Auditor: Real time CVE scanning against the workspace package.json for known malware dependencies.
    • Predictive Blast Radius: Recursive import scanner that visually maps exactly what will break in your project before you approve a file deletion.

    🚀 v1.2 Roadmap : True Sandboxing & Autonomous Defense

    Moving from a passive EDR tool to a true Zero Trust Sandbox requires native hardware drivers and autonomous intelligence. These are currently under active development:

    • Autonomous Reasoning Loop (Local LLM): A lightweight, internally hosted reasoning agent that will automatically triage events, correlate velocity spikes with honeypot triggers, and dynamically rotate decoys without human intervention.
    • Linux eBPF Probes: Kernel level hooks to intercept sys_enter_openat and sys_enter_mkdir.
    • Windows Minifilters: Native file system drivers for absolute Windows execution blocking.
    • macOS Endpoint Security Framework (ESF): Strict entitlements for Apple silicon.
    • Network Ghost Mode: Local root certificate authority for intercepting and spoofing TLS traffic without payload execution.

    ⚙️ Under the Hood

    Kavach is built for absolute performance and zero latency, running entirely locally on your machine with zero cloud dependencies.

    • The Engine (Rust): The core interception logic, OS execution hooks, and cryptographic file caching are written in Rust for memory safety and bare metal speed.
    • The Command Center (React TypeScript): The FUI dashboard operates in an isolated webview, ensuring the UI thread never blocks the security engine.
    • The Bridge (Tauri): Secure asynchronous Inter Process Communication (IPC) bridges the frontend dashboard and the Rust watcher.

    💻 Zero Config Deployment

    1. Download: Grab the latest installer for your operating system from the Releases Page.
    2. Launch: Run the executable (e.g. Akshays.Kavach_1.1.0_x64-setup.exe). (Note: Windows requires running as Administrator for process termination; macOS requires Full Disk Access).
    3. Arm: Select your workspace directory in the UI. Kavach immediately locks down the perimeter.

    📞 Direct Line & Feedback

    Kavach features a "Direct Line" communication module for users to report anomalies, suggest features, or collaborate.

    • Developer: Akshay Sharma
    • Feedback: Use the [ COMM LINK ] terminal button inside the application to route encrypted feedback directly to the developer inbox via your OS default mail client.

    📜 License

    Kavach is proudly released under the GNU General Public License v3.0 (GPLv3). Permanent attribution to Akshay Sharma is required in all forks, distributions, and derivatives, and any modifications must remain open source under the same license terms.