gitleaks-secret-scanning

gitleaks-secret-scanning is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 30 tokens per session (388 once invoked), scanned A, original, MIT.

A secret-scanning skill that searches source files and Git history for exposed credentials such as API keys, passwords, tokens, and private keys. Git history is the record of earlier versions committed to the repository.

In plain words
What is it for?
It scans the working tree and full Git history with Gitleaks, reports findings, and documents approved false positives.
Why use it?
Removing a secret from the current files may not remove it from past commits. Scanning both areas helps identify credentials that could still be exposed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit It scans the working tree and full Git history with Gitleaks, reports findings, and documents approved false positives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/gitleaks
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add paruff/uFawkesAI --skill gitleaks
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gitleaks-secret-scanning

README.md
[![agentmods](https://agentmods.dev/badge/skills/paruff/ufawkesai/gitleaks/github.svg)](https://agentmods.dev/skills/paruff/ufawkesai/gitleaks)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/gitleaks"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/gitleaks/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gitleaks-secret-scanning

Your own site · 80×15
<a href="https://agentmods.dev/skills/paruff/ufawkesai/gitleaks"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/gitleaks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00388
Opus 5 $0.00015 $0.00194
Sonnet 5 $0.00006 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 8d ago against content hash eb9df0c2cb88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gitleaks-secret-scanning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/security-testing/secret-detection/gitleaks/SKILL.md · 73 lines

What it actually says

Skill: Gitleaks Secret Scanning

Load trigger: "load gitleaks-secret-scanning skill" > DORA: Cap 1 (AI Policy) Token cost: Low

Purpose

Detect secrets in source code and Git history.

Responsibilities

  • Scan working tree
  • Scan Git history
  • Validate findings

Inputs

  • Git repo

Outputs

  • gitleaks.json

Scan Commands

# Working tree only
gitleaks detect --source . --report-format json --report-path gitleaks.json

# Full Git history
gitleaks detect --source . --log-opts="--all" --report-format json --report-path gitleaks.json

Validation Rules

  • Working tree scanned
  • Git history scanned
  • No secrets found
  • False positives documented
  • .gitleaksignore updated if needed

Output Format

{
  "skill": "gitleaks-secret-scanning",
  "status": "pass | fail",
  "scan_scope": "full_history",
  "total_commits_scanned": 5000,
  "findings": {
    "critical": 0,
    "high": 0,
    "medium": 0,
    "low": 0
  },
  "details": []
}

Success Criteria

  • No secrets found in source code or history
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 73 lines · 30 tokens per session scan A eb9df0c2cb88

Subscribe to this mod's changes

gitleaks-secret-scanning is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 19d ago), licensed MIT. It adds 30 tokens to every session and 388 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

infrastructure-publishing

Skill for the publishing infrastructure module providing academic publishing workflows including BibTeX CLI citation generation, APA/MLA citation helper functions, DOI management, Zenodo publication, arXiv submission preparation, GitHub releases, PyPI and TestPyPI package distribution, static-site deployment to GitHub…

docxology/template · 127 tokens

template-publish

Publishing scripts for DOI-bearing project releases, optional mirror uploads, PyPI release validation, post-publish verification, and publication export. Use with docs/guides/publication-runbook.md for standalone GitHub + Zenodo release workflows.

docxology/template · 52 tokens

template-audit

Audit and quality-gate scripts for the template research framework. Covers documentation linting, filepath audits, mock-usage checking, template drift, and confidentiality / git-guard checks.

docxology/template · 40 tokens

worktree

Set up parallel agent sessions on independent tasks via git worktrees. Use when asked to '/worktree', 'git worktree', 'parallel branches', 'isolated branch workspace', 'work on two things at once'.

craigcossairt/trellis · 47 tokens

ship

Use when a change is ready to land. Runs the full sequence — branch, quality gate, commit, push, PR — so nothing gets skipped.

HumanDealer/vibeproof · 32 tokens

publish-to-github

Use this skill when the user is ready to push their local AI skill or rule repository to GitHub for the first time. This includes running git init and the initial commit, creating the GitHub repository via the gh CLI or manual browser steps, setting the repository description and Topics tags, and confirming the push…

haorantang97/LabKit · 235 tokens