
Description
ghost-scan-secrets is an agent skill that scans a codebase for leaked secrets and credentials, including API keys, tokens, passwords and other sensitive data, and flags hard-coded secrets. The skill works as an orchestrator: rather than doing the scan itself, the top-level agent starts subagents with the parameters each step needs. By default it scans the current working directory, and it writes results under a Ghost folder in your home directory, in a scans directory named after the repository and the short commit hash, with a secrets subfolder. If the folder is not a git repository, it uses a date-based name instead. You can override these defaults with arguments when you run the skill. The skill is meant for developers and security reviewers who want to check a repository before a release, or after finding that a credential might have been committed. Because the scan writes output to disk, the results are stored locally, and the skill is designed around that flow. It is published in the ghostsecurity skills repository on GitHub, which has about 412 stars on the skills.sh listing, and it installs through the skills command. Its listing shows all three security audits passing.…
Highlights
- Scans codebases for leaked secrets
- Detects API keys, tokens and passwords
- Flags hard-coded secrets
- Orchestrates subagents for each step
- Results stored in a local scans folder
Ratings & Reviews
No ratings yet
Be the first to rate ghost-scan-secrets.
People also visit

secret-scanning
Guide for configuring and managing GitHub secret scanning, push protection
ghost-scan-secrets FAQ
What does ghost-scan-secrets do?
It scans a codebase for leaked API keys, tokens, passwords and other sensitive data, and flags hard-coded secrets.
How do I install it?
Run npx skills add https://github.com/ghostsecurity/skills --skill ghost-scan-secrets.
Where are the results saved?
In a scans folder under a Ghost directory in your home folder, named by the repository and the short commit hash, with a secrets subfolder.
Can I change the defaults?
Yes. Values passed as arguments override the default repository path and output directory.
What if the folder is not a git repository?
The skill uses a date-based name in place of the commit hash.
Is it safe to install?
Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass.
What are the best ghost-scan-secrets alternatives?
Popular alternatives to ghost-scan-secrets include ghost-scan-code, security and security-review. See all ghost-scan-secrets alternatives













