env-secrets-manager

Scan repositories for environment variable and secret leaks.

2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill env-secrets-manager-zhangzhang-111-i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-secrets-manager
Source: https://github.com/zhangzhang-111-i/claude-skills111/tree/main/engineering/env-secrets-manager
Command: npx skills add https://github.com/zhangzhang-111-i/claude-skills111 --skill env-secrets-manager-zhangzhang-111-i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps manage environment-variable hygiene and secrets safety across local development and production workflows, preventing accidental leaks and ensuring compliance.

Core Features & Use Cases

  • Secret Leak Detection: Scans code and .env files for patterns matching common secret formats.
  • Auditing & Reporting: Provides severity-based findings for potential credential exposure.
  • Use Case: Before committing code, run this skill to automatically scan for any accidentally hardcoded API keys or passwords, preventing them from being pushed to your repository.

Quick Start

Run the env_auditor.py script from the command line to scan a specified repository path for potential secret leaks.

Frequently Asked Questions about env-secrets-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my repository for hardcoded secrets and environment variable leaks?

To scan for hardcoded secrets and environment variable leaks, run the env_auditor.py script from your command line against a specified repository path. The tool uses pattern matching to detect exposed credentials in source code and configuration files.

What is secret leak detection and how does it secure CI/CD pipelines?

Secret leak detection identifies accidentally hardcoded API keys and passwords in source code before they are pushed to a repository. It secures CI/CD pipelines by auditing code and .env files for common credential patterns, preventing accidental exposure.

Can I use this to audit .env files before committing code?

Yes, you can audit .env files before committing code by running the command line scanner. It checks your local development workflow for potential credential exposure and provides severity-based findings to ensure environment hygiene.

What's the best way to prevent environment variable exposure in local development?

The best way to prevent environment variable exposure is to run an automated audit using pattern matching before committing changes. This practice scans configuration files to catch accidentally hardcoded credentials, ensuring secure development and compliance.

Does secret scanning provide severity-based reporting for exposed credentials?

Yes, secret scanning provides severity-based reporting for exposed credentials. The auditing process evaluates detected patterns in your code and generates findings that classify the potential risk level of credential exposure.

Are there limitations to pattern matching for detecting credential hygiene issues?

Pattern matching for credential hygiene focuses on scanning code and .env files for common secret formats. It addresses hardcoded credentials in source code and configuration files but relies on recognizing established patterns to flag potential exposure.