secret-scanner
CommunityPrevent exposed secrets, secure your code.
Authoralirezarezvani
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automatically detects and prevents accidental exposure of sensitive information like API keys, database credentials, and private tokens in your codebase. It provides real-time alerts and can even block commits, safeguarding your project from critical security breaches.
Core Features & Use Cases
- Real-time Detection: Scans for a wide range of secrets (AWS keys, Stripe keys, passwords, JWTs) as you code or before commits.
- Pre-Commit Protection: Integrates with Git to block commits that contain exposed secrets, ensuring they never reach your repository.
- Use Case: You accidentally hardcode
const stripeKey = 'sk_live_1234567890abcdef';. The skill immediately alerts you to the critical exposure, suggesting you move it to an environment variable and add.envto.gitignore.
Quick Start
The skill activates automatically on file saves or before commits.
Write some code that might contain a secret:
const myApiKey = 'your_hardcoded_api_key_here';
The skill will instantly alert you if a secret pattern is detected.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: secret-scanner Download link: https://github.com/alirezarezvani/claude-code-tresor/archive/main.zip#secret-scanner Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.