secret-scan-triage

Classify gitleaks findings into confirmed secrets, probable secrets, or false positives.

1|1|Updated May 3, 2026
One-click install
npx skills add https://github.com/matt-riley/agent-skills --skill secret-scan-triage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secret-scan-triage
Source: https://github.com/matt-riley/agent-skills/tree/main/skills/secret-scan-triage
Command: npx skills add https://github.com/matt-riley/agent-skills --skill secret-scan-triage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manages the triage process for gitleaks findings, enabling teams to quickly separate real secret exposures from false positives and prevent unnecessary code changes or delays.

Core Features & Use Cases

  • Deterministic classification of findings into confirmed secret, probable secret, or probable false positive.
  • Containment and remediation guidance to revoke or rotate credentials, redact secrets, or move sensitive data to approved secret-management surfaces.
  • Audit-ready documentation with a concise triage summary and action items for code hosts and security teams.
  • Use Case: works with local pre-commit hooks, CI scans, or manual reviews to unblock legitimate work while preserving scan quality.

Quick Start

Run the triage workflow on a repository that produced gitleaks findings to classify each hit and record remediation steps.

Frequently Asked Questions about secret-scan-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage gitleaks findings to separate real secrets from false positives?

Run a deterministic triage workflow on gitleaks findings to classify each hit into confirmed secret, probable secret, or probable false positive, prescribing remediation steps and documentation to unblock legitimate work while preserving scan quality.

What is the best way to manage gitleaks false positives in a CI pipeline?

The best way to manage gitleaks false positives in CI is deterministic classification into probable false positive or confirmed secret categories, providing remediation guidance to revoke credentials or redact secrets without delaying pipeline scans.

Does gitleaks triage work with local pre-commit hooks and CI scans?

Yes, gitleaks triage works with local pre-commit hooks, CI pipelines, and manual codebase scans, applying a deterministic workflow to classify findings and record remediation steps across all these environments.

How do I contain and remediate confirmed secret exposures found by gitleaks?

Contain and remediate confirmed secret exposures by following prescribed steps to revoke or rotate credentials, redact secrets, or move sensitive data to approved secret-management surfaces, then generate audit-ready documentation with action items.

Why do I need to classify gitleaks findings before removing exposed secrets?

You need to classify gitleaks findings before removing exposed secrets to prevent unnecessary code changes or delays by accurately separating real secret exposures from false positives and prescribing targeted remediation steps.