sundial-org/awesome-openclaw-skills/ggshield-scanner
Claude Code and agent skill by sundial-org/awesome-openclaw-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Detect 500+ types of hardcoded secrets (API keys, credentials, tokens) before they leak into git. Wraps GitGuardian's ggshield CLI.
Install
npx vskill@latest install sundial-org/awesome-openclaw-skills/ggshield-scannerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
ggshield Secret Scanner
Overview
ggshield is a CLI tool that detects hardcoded secrets in your codebase. This Moltbot skill brings secret scanning capabilities to your AI agent.
What Are "Secrets"?
Secrets are sensitive credentials that should NEVER be committed to version control:
- AWS Access Keys, GCP Service Accounts, Azure credentials
- API tokens (GitHub, Slack, Stripe, etc.)
- Database passwords and connection strings
- Private encryption keys and certificates
- OAuth tokens and refresh tokens
- PayPal/Stripe API keys
- Email server credentials
Why This Matters
A single leaked secret can:
- š Compromise your infrastructure
- šø Incur massive cloud bills (attackers abuse your AWS account)
- š Expose customer data (GDPR/CCPA violation)
- šØ Trigger security incidents and audits
ggshield catches these before they reach your repository.
Features
Commands Available
1. scan-repo
Scans an entire git repository for secrets (including history).
Output:
Output on detection:
2. scan-file
Scans a single file for secrets.
3. scan-staged
Scans only staged git changes (useful pre-commit check).
This runs on your git add-ed changes only (fast!).
4. install-hooks
Installs ggshield as a git pre-commit hook.
After this, every commit is automatically scanned:
5. scan-docker
Scans Docker images for secrets in their layers.
Installation
Prerequisites
- ggshield CLI: Install via pip
``bash pip install ggshield>=1.15.0 ``
- GitGuardian API Key: Required for secret detection
- Sign up: https://dashboard.gitguardian.com (free)
- Generate API key in Settings
- Set environment variable:
- Python 3.8+: Required by ggshield
Install Skill
The skill is now available in your Moltbot workspace.
In Your Moltbot Workspace
Start a new Moltbot session to pick up the skill:
Usage Patterns
Pattern 1: Before Pushing (Security Check)
Pattern 2: Audit Existing Repo
Pattern 3: Pre-Commit Enforcement
Pattern 4: Docker Image Security
Configuration
Environment Variables
These are required for the skill to work:
| Variable | Value | Where to Set | |
|---|---|---|---|
GITGUARDIAN_API_KEY | Your API key from https://dashboard.gitguardian.com | ~/.bashrc or ~/.zshrc | |
GITGUARDIAN_ENDPOINT | https://api.gitguardian.com (default, optional) | Usually not needed |
Optional ggshield Config
Create ~/.gitguardian/.gitguardian.yml for persistent settings:
For details: https://docs.gitguardian.com/ggshield-docs/
Privacy & Security
What Data is Sent to GitGuardian?
ā ONLY metadata is sent:
- Hash of the secret pattern (not the actual secret)
- File path (relative path only)
- Line number
ā NEVER sent:
- Your actual secrets or credentials
- File contents
- Private keys
- Credentials
Reference: GitGuardian Enterprise customers can use on-premise scanning with no data sent anywhere.
How Secrets Are Detected
ggshield uses:
- Entropy-based detection: Identifies high-entropy strings (random tokens)
- Pattern matching: Looks for known secret formats (AWS key prefixes, etc.)
- Public CVEs: Cross-references disclosed secrets
- Machine learning: Trained on leaked secrets database
Troubleshooting
"ggshield: command not found"
ggshield is not installed or not in your PATH.
Fix:
"GITGUARDIAN_API_KEY not found"
The environment variable is not set.
Fix:
"401 Unauthorized"
API key is invalid or expired.
Fix:
"Slow on large repositories"
Scanning a 50GB monorepo takes time. ggshield is doing a lot of work.
Workaround:
Advanced Topics
Ignoring False Positives
Sometimes ggshield flags a string that's NOT a secret (e.g., a test key):
This creates .gitguardian/config.json with ignore rules.
Integrating with CI/CD
You can add secret scanning to GitHub Actions / GitLab CI:
Enterprise: On-Premise Scanning
If your company uses GitGuardian Enterprise, you can scan without sending data to the cloud:
Related Resources
- ggshield Documentation: https://docs.gitguardian.com/ggshield-docs/
- GitGuardian Dashboard: https://dashboard.gitguardian.com (view all secrets found)
- Moltbot Skills: https://docs.molt.bot/tools/clawdhub
- Secret Management Best Practices: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html
Support
- Bug reports: https://github.com/GitGuardian/ggshield-skill/issues
- Questions: Open an issue or comment on ClawdHub
- ggshield issues: https://github.com/GitGuardian/ggshield/issues
License
MIT License - See LICENSE file
Contributors
- GitGuardian Team
- [Your contributions welcome!]
Version: 1.0.0 Last updated: January 2026 Maintainer: GitGuardian
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ggshield-scanner/SKILL.md
Popularity
- Repository stars
- 598
- Repository forks
- 81
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 13 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sundial-org/awesome-openclaw-skills/ggshield-scanner)