跳到正文
TakoAPI
返回技能列表

agents-skill-security-audit

由 cerbug45 提供

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

简介

Minimal helper to audit skill.md-style instructions for supply-chain risks.

描述

该技能的功能

Scans skill.md-style instruction files for supply-chain risks using heuristic pattern matching. It flags exfiltration patterns such as HTTP POST requests, curl calls to unknown domains, reads of sensitive files like ~/.env, and credential keywords. Output is a markdown report with a risk level.

It targets the specific structure of skill.md instruction files rather than running generic secrets scanning, so it catches context-aware patterns like credential reads embedded in agent prompts.

何时使用

  • Checking a third-party skill file before installing it
  • Auditing new agent instructions added to a shared team repo
  • Scanning downloaded SKILL.md files before running them locally
  • Adding a skill file check to a CI pipeline before merging
  • Spot-checking an AI agent prompt file for credential leaks

示例工作流

输入

User asks: audit this skill.md for supply-chain risks

智能体
  1. 1

    Receives the path to the skill.md file

  2. 2

    Runs audit.py against the file using heuristic pattern matching

  3. 3

    Scans for HTTP POST calls, curl to unknown domains, ~/.env reads, and credential keywords

  4. 4

    Builds a permission manifest listing filesystem and network touches found

  5. 5

    Outputs a markdown summary with an overall risk level

输出

Markdown report listing flagged patterns and an overall risk level rating

安装

clawhub install cerbug45/agents-skill-security-audit

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接