implementing-secret-scanning-with-gitleaks

Community

Prevent hardcoded secrets with automated scans.

Authorriandeoliveira
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hardcoded credentials and API tokens accidentally committed to Git repositories create serious security risk and compliance exposure, especially when the issue already exists in prior history.

Core Features & Use Cases

  • Baseline and prevent regressions: Generate and use a baseline so only newly introduced secrets fail the quality gate, enabling safe rollout to legacy repositories.
  • Block secrets before they enter history: Configure pre-commit protections so developers get fast feedback and secrets don’t reach the main branch.
  • CI/CD integration and reporting: Run Gitleaks in pull requests and pushes (optionally emitting SARIF for security dashboards), then drive remediation workflows when findings occur.

Quick Start

Run a full history scan and create a baseline so you can enable gating without immediately blocking existing work.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: implementing-secret-scanning-with-gitleaks
Download link: https://github.com/riandeoliveira/aspnet-template/archive/main.zip#implementing-secret-scanning-with-gitleaks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.