Skip to main content

Credential Guard

Plugin Verified Active

Protect secrets and credentials from Claude Code. Blocks writes to .env files, detects API keys in shell commands, prevents hardcoded tokens, and guards service account JSON files.

Purpose

To enhance the security of AI coding agents by preventing accidental exposure of secrets and credentials.

Features

  • Blocks writes to sensitive files (.env, credentials)
  • Detects API keys in shell commands
  • Guards service account JSON files
  • Warns about potential secrets in environment variables

Use Cases

  • Use when working with sensitive API keys or credentials in AI coding projects.
  • Use to prevent accidental commits of secrets to version control.
  • Use to add a layer of security against destructive commands targeting credential files.

Non-Goals

  • Does not manage or store secrets itself.
  • Does not provide a secret vault.
  • Does not replace a full secrets management system for production applications.

Practices

  • Secret Management
  • Security
  • Access Control

Prerequisites

  • jq installed on the system
  • Claude Code environment

Installation

First, add the marketplace

/plugin marketplace add yurukusa/cc-safe-setup
/plugin install credential-guard@cc-safe-setup

Quality Score

Verified
98 /100
Analyzed about 13 hours ago

Trust Signals

Last commitabout 15 hours ago
Stars25
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.