跳到正文
TakoAPI
返回技能列表

mayguard

由 balkanblbn 提供

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

简介

A security auditor for agent skills.

描述

该技能的功能

Static analysis tool that scans agent skill directories for security threats before installation. Detects credential theft patterns, suspicious network calls, destructive commands, and code obfuscation. Returns a safety rating (SAFE, CAUTION, SUSPICIOUS, or DANGEROUS) with specific findings per file.

Catches attack patterns specific to agent skill architectures, like env file exfiltration and eval-based obfuscation, that general-purpose linters miss.

何时使用

  • Auditing a downloaded skill before moving it to the active skills folder
  • Detecting hardcoded API keys or env file access in third-party skills
  • Identifying outbound webhook or tunnel calls in untrusted skill code
  • Scanning community-shared skills before running them locally
  • Checking for privilege escalation or destructive commands in a new skill

示例工作流

输入

User asks: Audit the skill I downloaded to ~/Downloads/new-skill before I install it

智能体
  1. 1

    Run python3 scripts/audit.py ~/Downloads/new-skill against the target directory

  2. 2

    Scan source files for credential access patterns including .env and SSH key references

  3. 3

    Check for suspicious network calls such as webhook endpoints and ngrok or localtunnel usage

  4. 4

    Detect obfuscation techniques including eval, exec, and base64 decoding

  5. 5

    Compute a numerical risk score and assign an overall safety rating

输出

Report showing status CAUTION, risk score, and a list of flagged patterns with the specific files and lines that triggered each warning

安装

clawhub install balkanblbn/mayguard

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

链接