expanso-secrets-scan
by aronchick
AI & LLMsBrief
Detect hardcoded secrets (API keys, tokens, passwords) in text or code.
Description
What This Skill Does
Scans text or code for hardcoded secrets such as API keys, tokens, and passwords. Runs locally via the Expanso Edge binary as a CLI pipeline or MCP server. Can also be deployed to Expanso Cloud for remote execution.
Runs the scan locally through a lightweight binary without sending code to a third-party SaaS service.
When to Use It
- Auditing a repository before making it public
- Checking a config file for accidentally included credentials
- Scanning a code snippet received from a colleague
- Reviewing environment files before committing to version control
- Verifying a script does not contain hardcoded tokens
Example Workflow
User asks: Check this script for any hardcoded API keys or passwords
- 1
Receives the script content as input
- 2
Pipes the content through the Expanso Edge secrets-scan CLI pipeline
- 3
Parses the pipeline output for detected secrets
- 4
Identifies the type and position of each finding
A list of detected secrets with their types and locations in the input
Requirements
- Expanso Edge binary installed in PATH (`clawhub install expanso-edge`)
Installation
clawhub install aronchick/expanso-secrets-scanRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.