{"id":"138eafe9-e4ab-4dba-83ff-dc4a2a4f22d9","shortId":"zj9KXY","kind":"skill","title":"Git Secret Scanner with Gitleaks","tagline":"Scans Git repositories for leaked secrets using Gitleaks, TruffleHog, and custom regex patterns. Detects API keys, AWS credentials, private keys, and database connection strings across commit history.","description":"# Git Secret Scanner with Gitleaks\n\nScans Git repositories for leaked secrets using Gitleaks, TruffleHog, and custom regex patterns. Detects API keys, AWS credentials, private keys, and database connection strings across commit history.\n\n## Prerequisites\n\nGit\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- brew install gitleaks\n- docker pull zricethezav/gitleaks:latest\n- docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]\n- docker pull ghcr.io/gitleaks/gitleaks:latest\n\nRequirements and caveats from upstream:\n- [dockerhub]: https://hub.docker.com/r/zricethezav/gitleaks\n- [dockerhub-badge]: https://img.shields.io/docker/pulls/zricethezav/gitleaks.svg\n- [![Docker Hub][dockerhub-badge]][dockerhub]\n\nBasic usage or getting-started notes:\n- ### Installing\n- bash\n- # MacOS\n\n- Source: https://github.com/gitleaks/gitleaks\n- Extracted from upstream docs: https://raw.githubusercontent.com/gitleaks/gitleaks/HEAD/README.md\n\n## Documentation\n\n- https://github.com/gitleaks/gitleaks#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/git-secret-scanner-gitleaks/)","tags":["git","secret","scanner","gitleaks","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex"],"capabilities":["skill","source-agentskillexchange","skill-git-secret-scanner-gitleaks","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/git-secret-scanner-gitleaks","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,195 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:36.758Z","embedding":null,"createdAt":"2026-05-18T13:16:44.717Z","updatedAt":"2026-05-18T19:10:36.758Z","lastSeenAt":"2026-05-18T19:10:36.758Z","tsv":"'/docker/pulls/zricethezav/gitleaks.svg':121 '/gitleaks/gitleaks':141 '/gitleaks/gitleaks#readme':152 '/gitleaks/gitleaks/head/readme.md':148 '/gitleaks/gitleaks:latest':106 '/path':95 '/r/zricethezav/gitleaks':115 '/skills/git-secret-scanner-gitleaks/)':159 'across':30,62 'agent':154 'agentskillexchange.com':158 'agentskillexchange.com/skills/git-secret-scanner-gitleaks/)':157 'api':20,52 'aw':22,54 'badg':118,126 'bash':136 'basic':128 'brew':79 'caveat':109 'command':98 'commit':31,63 'connect':28,60 'credenti':23,55 'custom':16,48 'databas':27,59 'detect':19,51 'doc':145 'docker':82,86,102,122 'dockerhub':112,117,125,127 'dockerhub-badg':116,124 'document':149 'environ':78 'exchang':156 'extract':142 'folder':92 'get':132 'getting-start':131 'ghcr.io':105 'ghcr.io/gitleaks/gitleaks:latest':104 'git':1,7,33,39,66 'github.com':140,151 'github.com/gitleaks/gitleaks':139 'github.com/gitleaks/gitleaks#readme':150 'gitleak':5,13,37,45,81 'histori':32,64 'host':91 'hub':123 'hub.docker.com':114 'hub.docker.com/r/zricethezav/gitleaks':113 'img.shields.io':120 'img.shields.io/docker/pulls/zricethezav/gitleaks.svg':119 'instal':67,71,80,135 'key':21,25,53,57 'latest':85,97 'leak':10,42 'maco':137 'match':76 'note':134 'option':99 'path':74,89,101 'pattern':18,50 'prerequisit':65 'privat':24,56 'pull':83,103 'raw.githubusercontent.com':147 'raw.githubusercontent.com/gitleaks/gitleaks/head/readme.md':146 'regex':17,49 'repositori':8,40 'requir':107 'run':87 'scan':6,38,94 'scanner':3,35 'secret':2,11,34,43 'setup':73 'skill':155 'skill-git-secret-scanner-gitleaks' 'sourc':100,138,153 'source-agentskillexchange' 'start':133 'string':29,61 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'trufflehog':14,46 'upstream':70,111,144 'usag':129 'use':12,44,68 'v':88 'zricethezav/gitleaks':84,96","prices":[{"id":"097488f0-7859-406e-b659-80941664eb4d","listingId":"138eafe9-e4ab-4dba-83ff-dc4a2a4f22d9","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:16:44.717Z"}],"sources":[{"listingId":"138eafe9-e4ab-4dba-83ff-dc4a2a4f22d9","source":"github","sourceId":"agentskillexchange/skills/git-secret-scanner-gitleaks","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/git-secret-scanner-gitleaks","isPrimary":false,"firstSeenAt":"2026-05-18T13:16:44.717Z","lastSeenAt":"2026-05-18T19:10:36.758Z"}],"details":{"listingId":"138eafe9-e4ab-4dba-83ff-dc4a2a4f22d9","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"git-secret-scanner-gitleaks","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"c3d794fe6d3c10d8db97decc68ac24d73f769777","skill_md_path":"skills/git-secret-scanner-gitleaks/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/git-secret-scanner-gitleaks"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Git Secret Scanner with Gitleaks","description":"Scans Git repositories for leaked secrets using Gitleaks, TruffleHog, and custom regex patterns. Detects API keys, AWS credentials, private keys, and database connection strings across commit history."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/git-secret-scanner-gitleaks"},"updatedAt":"2026-05-18T19:10:36.758Z"}}