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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.