scan-secrets

GitGuardian's own secret-detection skill — scans history, images and packages, and ships a written remediation doctrine rather than just a list of hits.

Score 0(?)VerifiedCodeby GitGuardianSourceDocs
Verified for:

Install

$ /plugin marketplace add GitGuardian/agent-skills

Then /plugin install gitguardian. Requires the ggshield CLI, authenticated — see references/ggshield-cli-setup.md in the repo.

Best for

Catching a credential before it reaches a remote, and knowing what to do about one already committed — the bundled doctrine covers rotation triggers and history rewriting, not just detection.

Not ideal for

Zero-setup use. It requires the ggshield CLI and an authenticated GitGuardian account, and the skill explicitly forbids substituting the GitGuardian MCP scan tool for the CLI.

About this skill

Use when scanning code, commits, git history, Docker images, or packages for hardcoded secrets, when editing credential-handling code, .env files, CI/CD workflows, Dockerfiles, or deployment scripts, or before committing or pushing.

Secret scanningggshieldPre-commit

Score breakdown

Score breakdown

rubric 1.0
Install count
0/20
Provenance
12.8/15
GitHub stars
2/15
Recency
10/10
Compatibility
4/10
Documentation depth
10/10
Install ergonomics
7/10
License
5/5
Verification freshness
0.5/5

Composite 0–100 score derived from 9 verifiable signals. See the rubric →

Security audits run by a real security firm. CodeQL + Semgrep + audit workflows.

CodeQLSemgrepAudit
Code
Medium3 min

Kubernetes hardening by the book. NetworkPolicies, RBAC, OPA, service mesh.

KubernetesRBACOPA
Code
Medium4 min

Real exploits, no false positives. 96.15% exploit success across 50+ vuln types.

PentestExploitationAction-taking
Code
High15 min

Ranked #5 in Security

Publish the ranking in your README. The badge reads the live score, so it updates when the ranking does.

scan-secrets — ranked #5 in Security on Top Agent Skills
Markdown
[![scan-secrets — ranked #5 in Security on Top Agent Skills](https://top-agent-skills.com/badge/gitguardian-secret-scanning.svg)](https://top-agent-skills.com/skill/gitguardian-secret-scanning)
HTML
<a href="https://top-agent-skills.com/skill/gitguardian-secret-scanning"><img src="https://top-agent-skills.com/badge/gitguardian-secret-scanning.svg" alt="scan-secrets — ranked #5 in Security on Top Agent Skills"></a>

Skill FAQ

About scan-secrets

What is the scan-secrets skill?

Use when scanning code, commits, git history, Docker images, or packages for hardcoded secrets, when editing credential-handling code, .env files, CI/CD workflows, Dockerfiles, or deployment scripts, or before committing or pushing.

Which agents does scan-secrets work with?

Claude Code, Codex CLI.

How do I install scan-secrets?

Run `/plugin marketplace add GitGuardian/agent-skills` for Claude Code. See the install panel for per-agent commands.

Is scan-secrets free to use?

Yes — scan-secrets is open source (MIT).

Who maintains scan-secrets?

scan-secrets is published by GitGuardian and was last updated on 2026-08-18.

What is scan-secrets best for?

Catching a credential before it reaches a remote, and knowing what to do about one already committed — the bundled doctrine covers rotation triggers and history rewriting, not just detection.