expanso-secrets-scan
由 aronchick 提供
AI & LLMs简介
Detect hardcoded secrets (API keys, tokens, passwords) in text or code.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Expanso Edge binary installed in PATH (`clawhub install expanso-edge`)
安装
clawhub install aronchick/expanso-secrets-scan运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。