secret-scanning

Solid

Detects and handles sensitive information in code. Use when reviewing code for secret leaks and hard-coded credentials.

Code & Development 3 stars 2 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 79/100

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

Skill Content

# Secret Scanning ## Instruction Perform comprehensive analysis of the provided codebase to identify any sensitive information, such as API keys, passwords, tokens, or other secrets that may have been inadvertently included in the code. Use a combination of pattern matching, keyword searches, and specialized tools to detect potential security risks. --- ## Prerequisites Check **ALWAYS run this check first before scanning:** ```bash # Check if trufflehog is available command -v trufflehog >/dev/null 2>&1 && echo "OK: trufflehog available" || echo "WARNING: trufflehog not installed - using fallback patterns" # Check if jq is available command -v jq >/dev/null 2>&1 && echo "OK: jq available" || echo "WARNING: jq not installed - output will be raw JSON" ``` If tools are missing, install them: ```bash # macOS brew install trufflehog jq # Linux (pip) pip install trufflehog sudo apt-get install jq # Using pipx (recommended) pipx install trufflehog ``` --- ## Primary Method: Trufflehog Scan When `trufflehog` is available, use this as the primary scanning method: ```bash # Scan for verified secrets only (recommended) trufflehog git file://. --json --output-report /tmp/trufflehog-verified.json 2>/dev/null # Scan for ALL secrets (including unverified) trufflehog git file://. --json --output-report /tmp/trufflehog-all.json 2>/dev/null # Scan specific directory trufflehog filesystem ./src --json --output-report /tmp/trufflehog-fs.json 2>/dev/null ``` **After scan:** Read...

Details

Author
AppVerk
Repository
AppVerk/av-marketplace
Created
6 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category