Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ellyseumv1.0.0In 1 marketplace
Secure secrets handling for Claude Code - run API calls without exposing keys in session logs
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
bin/Secure secrets handling for Claude Code. Keeps API keys out of session logs.
Claude Code logs everything - commands, outputs, file reads. When you run:
API_KEY=$(cat ~/.secrets/openai.env | grep KEY | cut -d= -f2)
curl -H "Authorization: Bearer $API_KEY" https://api.openai.com/v1/models
Both the key extraction AND the curl command (with the expanded key) get saved to ~/.claude/projects/*/sessions.jsonl in plaintext. Forever.
This plugin teaches Claude to use self-destructing scripts that keep secrets internal:
cat > /tmp/vault-$$.sh << 'EOF'
#!/bin/bash
source ~/.secrets/openai.env
curl -s https://api.openai.com/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY"
rm -f "$0" # self-destruct
EOF
chmod 700 /tmp/vault-$$.sh && /tmp/vault-$$.sh
Session log shows: The script creation and API response. Session log does NOT show: The actual API key.
# Add marketplace and install
/plugin marketplace add ellyseum/claude-plugins
/plugin install claude-vault
# Set up a secret
mkdir -p ~/.secrets && chmod 700 ~/.secrets
echo "OPENAI_API_KEY=sk-your-key-here" > ~/.secrets/openai.env
chmod 600 ~/.secrets/openai.env
On session start, the plugin injects a CRITICAL rule into Claude's context that instructs it to always use self-destructing scripts for credential operations.
~/.secrets/ (any format: .env, .json, .ini)Claude figures out how to parse your secrets files - you don't need to use a specific format.
/secrets list # Show what's in ~/.secrets/
/secrets test <service> # Check if service has secrets
/secrets scan # Scan session logs for leaked secrets
/secrets scan -v # Verbose - show matched patterns
/secrets redact # Redact leaked secrets from logs
/secrets redact --dry-run # Preview what would be redacted
/secrets audit # Full security audit
/secrets fix # Auto-fix permission issues
Secrets live in ~/.secrets/ - any format works:
~/.secrets/
├── openai.env # OPENAI_API_KEY=sk-...
├── anthropic.env # ANTHROPIC_API_KEY=sk-ant-...
├── jira.json # {"apiToken": "...", "email": "...", "domain": "..."}
├── github.env # GH_TOKEN=ghp_...
└── aws.env # AWS_ACCESS_KEY_ID=... AWS_SECRET_ACCESS_KEY=...
Lock it down:
chmod 700 ~/.secrets
chmod 600 ~/.secrets/*
cat > /tmp/vault-$$.sh << 'EOF'
#!/bin/bash
source ~/.secrets/openai.env 2>/dev/null
curl -s https://api.openai.com/v1/chat/completions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4","messages":[{"role":"user","content":"hello"}]}'
rm -f "$0"
EOF
chmod 700 /tmp/vault-$$.sh && /tmp/vault-$$.sh
cat > /tmp/vault-$$.sh << 'EOF'
#!/bin/bash
DOMAIN=$(jq -r '.domain' ~/.secrets/jira.json 2>/dev/null)
EMAIL=$(jq -r '.email' ~/.secrets/jira.json 2>/dev/null)
TOKEN=$(jq -r '.apiToken' ~/.secrets/jira.json 2>/dev/null)
AUTH=$(printf "%s:%s" "$EMAIL" "$TOKEN" | base64 -w0)
curl -s "https://${DOMAIN}/rest/api/3/myself" \
-H "Authorization: Basic $AUTH"
rm -f "$0"
EOF
chmod 700 /tmp/vault-$$.sh && /tmp/vault-$$.sh
cat > /tmp/vault-$$.sh << 'EOF'
#!/bin/bash
source ~/.secrets/github.env 2>/dev/null
gh api /user
rm -f "$0"
EOF
chmod 700 /tmp/vault-$$.sh && /tmp/vault-$$.sh
cat > /tmp/vault-$$.sh << 'EOF'
#!/bin/bash
source ~/.secrets/npm.env 2>/dev/null
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > /tmp/.npmrc-vault
unset NPM_TOKEN
npm publish --access public --userconfig /tmp/.npmrc-vault
rm -f /tmp/.npmrc-vault
rm -f "$0"
EOF
chmod 700 /tmp/vault-$$.sh && /tmp/vault-$$.sh
Already have leaked secrets in your session logs? Fix them:
/secrets scan # Find leaks
/secrets redact # Remove them (no backup - that would preserve the leak!)
npx claudepluginhub ellyseum/claude-vault --plugin claude-vaultBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground