Show HN: Cloakroom – Keeps secrets away from agents
Category: security
Tags: secrets-management, ai-agents, privacy, pii, hooks
Score: 7.3/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 7)
Cloakroom is a local secrets and PII masking layer for AI coding agents (Claude Code, Codex, Gemini CLI, Cursor) that intercepts tool calls, redacts sensitive values into session-stable placeholders, and restores real values only for writes and commands. It combines rule-based detection with a local model, an OS-keystore-backed encrypted vault, and hook-based enforcement to prevent accidental leaks and mitigate prompt injection.
Target audience: backend devs, devops, security engineers, AI developers using coding agents
Repository: https://github.com/shanjeevrajendran/cloakroom · Python · Apache-2.0 · 11 stars
View on Hacker News