ln-761-secret-scanner

Scan codebases for hardcoded secrets using gitleaks and trufflehog.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-761-secret-scanner-cbbkrd-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-761-secret-scanner
Source: https://github.com/cbbkrd-tech/jl-finishes/tree/main/.claude/skills/ln-761-secret-scanner
Command: npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-761-secret-scanner-cbbkrd-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically scans your codebase for hardcoded secrets and credentials, helping you prevent security breaches and maintain compliance.

Core Features & Use Cases

  • Automated Secret Detection: Utilizes tools like gitleaks and trufflehog, or manual patterns, to find sensitive information.
  • Severity Classification: Assigns a risk level (Critical, High, Medium, Low) to each finding.
  • False Positive Filtering: Excludes known false positives using baselines and allowlists.
  • Remediation Guidance: Provides actionable steps to fix identified secrets.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically flag any accidentally committed API keys or passwords before they are deployed.

Quick Start

Run the ln-761-secret-scanner skill to scan the current directory for hardcoded secrets.

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 scan a codebase for hardcoded secrets and credentials?

Scanning a codebase for hardcoded secrets involves using tools like gitleaks and trufflehog to detect exposed API keys or passwords. The scanner normalizes findings and assigns a risk severity to prevent security breaches.

Can I integrate secret scanning into a CI/CD pipeline or pre-commit hook?

Yes, you can integrate secret scanning into your CI/CD pipeline or pre-commit hooks to automatically flag accidentally committed API keys and passwords. This detects and mitigates risks from exposed sensitive information before deployment.

How do you filter false positives when scanning for exposed API keys?

Filtering false positives during secret scanning is handled by excluding known safe entries using baselines and allowlists. This ensures that only genuine hardcoded credentials are classified by severity for remediation.

Do I need gitleaks or trufflehog installed to detect sensitive information in my code?

Using gitleaks or trufflehog is required for optimal secret detection, but the scanner also supports a fallback pattern matching mechanism. This ensures you can still find and normalize findings if those specific tools are unavailable.

What is the best way to get remediation guidance for detected secrets in source code?

The best way to get remediation guidance for detected secrets is to use an automated scanner that classifies each finding by severity. It provides actionable steps to fix identified hardcoded credentials and mitigate security risks.