Prempti - Falco-powered policy and visibility layer for AI coding agents
Prempti is an experimental tool from Falco Security that provides guardrails and real-time visibility for AI coding agents by intercepting tool calls before they execute. It evaluates every shell command, file write/edit/read, web fetch, and MCP call against customizable Falco rules written in YAML, producing verdicts: Allow (proceeds), Deny (blocked with LLM-friendly explanation), or Ask (prompts user for approval). Two operational modes are available: Guardrails mode (default, verdicts enforced) and Monitor mode (observe-only, all calls proceed while verdicts are logged). A default ruleset covers working-directory boundaries, sensitive paths (.env, ~/.ssh/, cloud credentials), sandbox disable attempts, credential access, destructive commands, exfiltration, MCP server config poisoning, skill file injection, and persistence vectors. Users can add custom rules to ~/.prempti/rules/user/. A Claude Code skill is included for interactive rule authoring. Supported agents include Claude Code (Linux, macOS, Windows, on x86_64 and aarch64) and experimental support for Codex. Installation is via .pkg (macOS), tar.gz with install script (Linux), or .msi (Windows). The tool is written primarily in Rust (83.4%), has 109 stars and 14 forks, and is licensed under Apache 2.0. The documentation notes it is not a sandbox or OS-level security, but a cooperative policy layer that works alongside containment techniques. The project was built with assistance from Claude Code.
Comments
Post a Comment