Cloakroom aims to mask sensitive data in coding-agent tool results
state: expiredheat: lowuncertainty: mediumrelevance: mediumcoding-agents data-privacy secret-redactionShanjeev
What is this?
Cloakroom is an open-source tool its developer says uses Codex hooks to mask secrets and personal data in shell output and MCP results before they reach the model, and to restore placeholders locally in some commands and patches. The supplied Reddit post says it was tested with Codex 0.164 and describes setup requirements and coverage gaps. Search results also describe Cloakroom versions or integrations for Claude Code and Gemini, but do not independently verify how well any version works.
Why it matters
Cloakroom addresses a practical privacy risk in coding agents: commands and MCP tools can return secrets or personal data that may be sent to a model. If its hooks work as described, local masking could reduce accidental exposure without preventing the agent from using placeholders. This is a small, developer-led tool, not an independently validated security control; its documented gaps and the requirement to trust the hooks matter before relying on it.
Current assessment
The developer’s Reddit post describes Cloakroom as a free, open-source tool that uses Codex hooks to mask shell output and MCP results, restore placeholders locally in commands and patches, and block prompts containing detected secrets. The post says it was tested with Codex 0.164 and warns that hooks must be trusted to run; `codex exec` may not warn when they are skipped. It also identifies important blind spots: long-running commands can emit unmasked initial output unless an opt-in setting is enabled, Codex web search is outside its reach, images opened with `view_image` are not covered, and unknown commands are refused rather than prompting the user. Search results provide newer, developer-associated evidence of Cloakroom versions or integrations for Claude Code and Gemini, with broader claimed coverage, but these snippets do not independently establish efficacy or security. Treat this as a potentially useful defense-in-depth option for people using coding agents with sensitive data, not a guarantee that data cannot reach a model; the supplied evidence does not include independent testing, an audit, or adoption data.
Measured heat
no measured readings yet — the hourly heat pass fills this in
How the heat travelled
Evidence (1) — ⭐ canonical anchor
Interpretation history
2026-10-26T01:28:16Z
audience grounding: medium — Cloakroom addresses a practical privacy risk in coding agents: commands and MCP tools can return secrets or personal data that may be sent to a model. If its hooks work as described, local masking could reduce accidental exposure without preventing the agent from using placeholders. This is a small, developer-led tool, not an independently validated security control; its documented gaps and the requirement to trust the hooks matter before relying on it.
Decision trace
- 11-09 13:20expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 10-28 09:30review_screenjev screen: no material development (noul=0.14)
- 10-26 12:29attention_candidatecreate
- 10-26 12:28groundCloakroom addresses a practical privacy risk in coding agents: commands and MCP tools can return secrets or personal data that may be sent to a model. If its hooks work as described, local masking cou
- 10-26 12:27createThe tool targets a concrete coding-agent data-exposure path, but its coverage and protection claims are currently self-reported.