跳到正文
TakoAPI
返回技能列表

expanso-secrets-scan

由 aronchick 提供

AI & LLMs
630下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Receives the script content as input

  2. 2

    Pipes the content through the Expanso Edge secrets-scan CLI pipeline

  3. 3

    Parses the pipeline output for detected secrets

  4. 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 或你在用的任意编程智能体里。

链接