Skip to content

Security Policy

Chakshu takes the security of its code and the security of autonomous AI agent execution seriously. Because Chakshu monitors agent activity, logs tool executions, and detects security anomalies, maintaining the integrity and confidentiality of Chakshu itself is a top priority.


Supported Versions

Only the latest release on the default branch receives active security updates and patches.

Version Supported
1.0.x ✅
< 1.0 ❌

Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues.

If you discover a security vulnerability or security bug in Chakshu, please report it via private disclosure: - Use GitHub Private Vulnerability Reporting on the repository. - Include a detailed description of the vulnerability, reproduction steps, proof-of-concept payload or transcript, and expected vs actual behavior. - You will receive an initial response within 48 hours acknowledging receipt of your report. - We will coordinate public disclosure timelines with you after a verified patch is prepared and merged.


Security Model & Threat Model

Chakshu operates under the following security design: 1. Passive Observation: Chakshu monitors local log files written by agents (~/.codex/, ~/.claude/, ~/.gemini/). It does not run as a network proxy or MITM between agents and model APIs. 2. Local Data Isolation: Runtime SQLite databases, PID files, and caches reside strictly in ~/.chakshu/. No telemetry or user code is ever transmitted to remote services. 3. Secret Redaction: Chakshu sanitizes sensitive tokens, API keys, and environment variables when rendering audit views and terminal logs. 4. Emergency Controls Validation: The chakshu kill process control strictly validates that targeted PIDs belong to known agent processes before sending termination signals (SIGTERM, SIGKILL, SIGSTOP, SIGCONT), preventing unauthorized system process interference.


AI Agent Security Principles

When contributing AI agent integrations or running AI agents within this repository: - No Unattended Destructive Operations: Agents must never execute destructive operations (rm -rf /, git reset --hard, database drops) without explicit human confirmation. - Credential Protection: Secrets and credentials (.env, tokens, SSH keys) must never be written into transcripts, test files, or committed artifacts. - Tool Sandbox Boundaries: Agents operating in Chakshu must respect filesystem boundaries and sandboxing constraints.