ln-761-secret-scanner

Solid

Scans codebase for hardcoded secrets with severity classification and remediation guidance. Use when auditing a project for leaked credentials.

AI & Automation 479 stars 67 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Secret Scanner **Type:** L3 Worker **Category:** 7XX Bootstrap Scans codebase for hardcoded secrets and credentials, returning structured findings for remediation. ## Purpose & Scope - Detect hardcoded secrets using available tools (gitleaks, trufflehog) or manual patterns - Classify findings by severity (Critical/High/Medium/Low) - Filter false positives via baseline and allowlists - Provide remediation guidance per finding type - Return normalized report to parent orchestrator (ln-760) ## When to Use - During project bootstrap (via ln-760-security-setup) - Pre-commit hook validation - CI/CD security pipeline - Manual security audit --- ## Workflow ### Phase 1: Tool Detection **Step 1: Check Available Scanners** - Check if gitleaks is installed (preferred) - Check if trufflehog is installed (alternative) - If neither available: use manual pattern matching as fallback **Step 2: Load Configuration** - Load project `.gitleaks.toml` if exists (custom rules) - Load `.gitleaksbaseline` if exists (known false positives) - If no config: use default patterns from `references/detection_patterns.md` ### Phase 2: Scan Execution **Step 1: Run Avail...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

ln-760-security-setup

Sets up security scanning for secrets and dependency vulnerabilities. Use when adding security infrastructure to a project.

479 Updated yesterday
levnikolaevich
AI & Automation Solid

ln-621-security-auditor

Checks hardcoded secrets, SQL injection, XSS, insecure deps, input validation. Use when auditing security.

479 Updated yesterday
levnikolaevich
Code & Development Listed

secrets-scanner

Detect and remediate leaked credentials in code and git-history — entropy/regex scanning with gitleaks/trufflehog/detect-secrets, rotate-first incident response, and pre-commit/CI gating to prevent reoccurrence.

4 Updated 1 weeks ago
roodlicht
AI & Automation Solid

secret-detection-scanner

Detect secrets, credentials, and sensitive data in code and configurations. Scan git history for secrets, detect API keys, tokens, passwords, check environment files, monitor CI/CD logs for exposure, generate remediation steps, and track secret rotation status.

1,034 Updated today
a5c-ai
AI & Automation Solid

scanning-for-secrets

This skill helps you scan your codebase for exposed secrets and credentials. It uses pattern matching and entropy analysis to identify potential security vulnerabilities such as API keys, passwords, and private keys. Use this skill when you want to proactively identify and remediate exposed secrets before they are committed to version control or deployed to production. It is triggered by phrases like "scan for secrets", "check for exposed credentials", "find API keys", or "run secret scanner".

2,266 Updated today
jeremylongshore