Home / Claude Code mods / Security / cofre-chaves

cofre-chaves

cofre-chaves is a Claude Code mod by cfelipemoreira that guarda chaves no .env pelo /chave e impede que elas passem pelo chat, pelas ferramentas ou pela saída delas.

Updated 2026-10-12

What is cofre-chaves?

cofre-chaves is a Claude Code mod by cfelipemoreira that guarda chaves no .env pelo /chave e impede que elas passem pelo chat, pelas ferramentas ou pela saída delas. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorcfelipemoreira
Repositorycfelipemoreira/claude-code-mods
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (37/100)
Rank#5,314 of 9,397 Claude Code mods; #605 in Security
Last commit2026-10-12
Hooks7 events
Seesevery prompt, every tool call
Draws onPane

Is cofre-chaves safe to install?

cofre-chaves scores 37/100 on the MCPMods security check: High risk. Things to review: writes files or config; watches every prompt or event; validator reported problems. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsFlag
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.session.root
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install cofre-chaves?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/cfelipemoreira/claude-code-mods
    claude plugin validate ./claude-code-mods/mods/cofre-chaves
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/cfelipemoreira/claude-code-mods && claude --plugin-dir ./claude-code-mods/mods/cofre-chaves

Or ask Claude to set it up

Paste this into Claude Code and it installs cofre-chaves for you:

Install the "cofre-chaves" Claude Code mod from https://github.com/cfelipemoreira/claude-code-mods/tree/main/mods/cofre-chaves. Run claude plugin validate on it first and show me what it can access before you enable it.

More from cfelipemoreira/claude-code-mods

This repository has 6 Claude Code mods on MCPMods.

  • assumption-session: Lista as suposições que o Claude faz enquanto constrói, num painel onde você aprova ou corrige. Abra com /suposicoes. (Review before installing)
  • comandos-mod: /comandosmod abre um painel lateral com todos os seus mods e o comando de cada um. (Low risk)
  • plain-answers: Faz o Claude responder em linguagem simples, sem jargão. Liga/desliga com /simples. (Low risk)
  • prompt-enhance: Melhora prompts vagos usando as instruções do projeto e as skills, troca o texto na caixa e só envia quando você clicar (High risk)
  • session-dashboard: Painel lateral com todas as sessões ativas: trabalhando, concluída ou esperando resposta. Abra com /sessoes. (Review before installing)