Scans files, repos, and directories for leaked secrets — API keys, tokens, passwords, connection strings, private keys, and credentials. Detects 40+ secret patterns across all major cloud providers and services.
Security skill that scans code, config files, and repos for accidentally leaked secrets and credentials.
Use this skill when the user:
| Provider | Secrets Detected |
|---|---|
| AWS | Access Key ID (AKIA...), Secret Access Key, Session Token |
| Azure |
AIza...), Service Account JSON, OAuth Client Secret |
| Service | Pattern |
|---|---|
| OpenAI | INLINECODE2 prefixed API keys |
| Anthropic |
sk-ant- prefixed keys |
| Hugging Face | hf_ prefixed tokens |
| Cohere | API keys in config |
| Platform | Secrets Detected |
|---|---|
| GitHub | INLINECODE5 , gho_, ghu_, ghs_, ghr_ tokens |
| GitLab |
glpat- tokens |
| Slack | xoxb-, xoxp-, xoxs- tokens, webhook URLs |
| Stripe | sk_live_, sk_test_, rk_live_ keys |
| Twilio | Account SID, Auth Token |
| SendGrid | SG. prefixed API keys |
| Type | Pattern |
|---|---|
| MongoDB | INLINECODE18 or mongodb+srv:// with credentials |
| PostgreSQL |
postgresql:// with embedded password |
| MySQL | mysql:// with embedded password |
| Redis | redis:// with password |
| SSH | -----BEGIN (RSA\|EC\|OPENSSH) PRIVATE KEY----- |
| Certificates | PEM, PFX, P12 with embedded keys |
| Pattern | Description |
|---|---|
| password= | Hardcoded passwords in config/env files |
| secret= |
eyJ prefixed JWT tokens |
| High Entropy | Long random strings that look like secrets |
| Severity | Description | Examples |
|---|---|---|
| 🔴 Critical | Active production credentials | AWS Secret Key, Private Keys, DB passwords |
| 🟠 High |
Scans these file types by default:
.py, .js, .ts, .java, .go, .rb, .php, .cs, INLINECODE33.json, .yaml, .yml, .toml, .ini, .cfg, INLINECODE40.env, .env.local, INLINECODE43.sh, .bash, .zsh, INLINECODE47.md, INLINECODE49Dockerfile, docker-compose.yml, INLINECODE52Automatically skips:
node_modules/, vendor/, venv/, INLINECODE56When secrets are found, the skill recommends:
.env and credential files from being committed该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 credential-scanner-1776419988 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 credential-scanner-1776419988 技能
skillhub install credential-scanner-1776419988
文件大小: 11.16 KB | 发布时间: 2026-4-17 19:20