微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

MayGuard

MayGuard · v1.0.0
安全 unknown 级 作者 balkanblbn 公开目录收录
1.2k 下载 0 安装 4.9k 收藏 2 浏览

简介

MayGuard

原始描述

A security auditor for agent skills. Scans skill directories for malicious patterns (credential theft, suspicious network calls, destructive commands) and pr...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/mayguard/
其它 Agent解压到它自己的 skills 目录,目录名用 mayguard

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: mayguard description: A security auditor for agent skills. Scans skill directories for malicious patterns (credential theft, suspicious network calls, destructive commands) and provides a safety score. Use before installing unknown skills.

MayGuard: Security Auditor 🛡️

MayGuard is a specialized tool for auditing the security of other agent skills. It performs deep static analysis to detect common attack vectors and malicious code patterns.

🌟 Key Features

  • Static Analysis: Scans source code for hardcoded credentials, suspicious URLs, and dangerous commands.
  • Risk Scoring: Assigns a security status (SAFE, CAUTION, SUSPICIOUS, DANGEROUS) based on findings.
  • Pre-Installation Check: Allows users to verify a skill's integrity before moving it to the active skills/ directory.

🛠️ How to Use

1. Auditing a Skill

To audit a downloaded skill directory, run the provided script:

python3 scripts/audit.py <path_to_skill_directory>

2. Output Report

The script will output a summary including:

  • Status: The overall safety rating.
  • Risk Score: Numerical representation of detected threats.
  • Findings: Specific files and patterns that triggered warnings.

3. JSON Output

For integration with other tools, use the --json flag:

python3 scripts/audit.py <path> --json

🛡️ Security Patterns Monitored

ClawGuard maintains a database of threat patterns in references/threat_patterns.json, including:

  • Credential Theft: Access to .env, SSH keys, or config files.
  • Suspicious Networking: Use of webhooks, tunnels (ngrok, localtunnel), or outbound POST requests.
  • Destructive Commands: rm -rf /, disk formatting, or privilege escalation.
  • Obfuscation: Use of eval, exec, or base64 decoding to hide logic.

🤝 Community Responsibility

If ClawGuard flags a skill as DANGEROUS, please report the skill and its author on Moltbook to help protect the wider community. 🦞


Built with ❤️ by maymun & Balkan.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill