ln-761-secret-scanner

Detect hardcoded secrets with gitleaks or trufflehog and report normalized findings.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/0xtaoist/taogate --skill ln-761-secret-scanner-0xtaoist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-761-secret-scanner
Source: https://github.com/0xtaoist/taogate/tree/main/ln-761-secret-scanner
Command: npx skills add https://github.com/0xtaoist/taogate --skill ln-761-secret-scanner-0xtaoist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Scans codebases for hardcoded secrets and credentials, returning a structured findings report with severity and remediation guidance.

Core Features & Use Cases

  • Detect secrets using available tools (gitleaks, trufflehog) or manual patterns, ensuring coverage across diverse repos.
  • Classify findings by severity and filter false positives via baselines and allowlists.
  • Attach remediation guidance and return a normalized report to the parent orchestrator for automated remediation.

Quick Start

Run the secret scanner against your codebase to produce a normalized remediation report for security findings.

Frequently Asked Questions about ln-761-secret-scanner

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

FAQPage Schema
How do I detect hardcoded secrets in my codebase before committing?

To detect hardcoded secrets, this scanner uses gitleaks or trufflehog to analyze your codebase in pre-commit hooks. It identifies exposed credentials and returns a structured report containing severity classifications and actionable remediation guidance.

How do I filter false positives from gitleaks and trufflehog secret scanning results?

You can filter false positives during secret scanning by loading configuration from .gitleaks.toml and utilizing .gitleaksbaseline files. This allowlist and baseline approach suppresses known or accepted findings, ensuring only valid security alerts remain in the report.

Does this secret scanner work with both gitleaks and trufflehog?

Yes, the secret scanner detects secrets using gitleaks as the preferred tool and falls back to trufflehog if unavailable. This tiered workflow ensures comprehensive coverage across diverse repositories and languages even if one tool is missing.

What is the best way to automate remediation for hardcoded secrets found during security audits?

The best way to automate remediation is to return the normalized findings report to a parent orchestrator. This structured output includes severity levels and specific remediation guidance, enabling downstream pipelines to automatically address the detected credentials.

Can I use secret scanning with custom configurations for different repositories?

Yes, you can use custom configurations by loading settings from .gitleaks.toml and baseline files. This allows you to tailor secret scanning rules, manage false positives via allowlists, and adapt detection across various languages and repository structures.