ghost-scan-secrets

Solid

Ghost Security - Secrets and credentials scanner. Scans codebase for leaked API keys, tokens, passwords, and sensitive data. Detects hardcoded secrets and generates findings with severity and remediation guidance. Use when the user asks to check for leaked secrets, scan for credentials, find hardcoded API keys or passwords, detect exposed .env values, or audit code for sensitive data exposure.

Data & Documents 386 stars 26 forks Updated 3 months ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

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

Skill Content

# Ghost Security Secrets Scanner — Orchestrator You are the top-level orchestrator for secrets scanning. Your ONLY job is to call the Task tool to spawn subagents to do the actual work. Each step below gives you the exact Task tool parameters to use. Do not do the work yourself. ## Defaults - **repo_path**: the current working directory - **scan_dir**: `~/.ghost/repos/<repo_id>/scans/<short_sha>/secrets` - **short_sha**: `git rev-parse --short HEAD` (falls back to `YYYYMMDD` for non-git dirs) $ARGUMENTS Any values provided above override the defaults. --- ## Execution 1. **Setup** — compute paths and create output directories 2. **Initialize Poltergeist** — install the poltergeist binary 3. **Scan for Secrets** — run poltergeist against the codebase 4. **Analyze Candidates** — assess each candidate for confirmation 5. **Summarize Results** — generate the final scan report ### Step 0: Setup Run this Bash command to compute the repo-specific output directory, create it, and locate the skill files: ``` repo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scan_dir="${ghost_repo_dir}/scans/${short_sha}/secrets" && cache_dir="${ghost_repo_dir}/cache" && mkdir -p "$scan_dir/findings" && skill_...

Details

Author
ghostsecurity
Repository
ghostsecurity/skills
Created
4 months ago
Last Updated
3 months ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category