Security and validation tools for the Agent Skills ecosystem.
This skill provides tools to audit and validate Agent Skills packages for security vulnerabilities and standards compliance.
Scans skill packages for common security issues:
Checks:
7w4.net小葱技能站,你的AI助手技能库。
Usage:
./skill-security-audit.sh path/to/skill
Example output:
🔒 技能安全审计报告:path/to/skill
==========================================
📋 检查1: 凭据泄露 (API key, password, secret, token)
----------------------------------------
✅ 未发现凭据泄露
📋 检查2: 危险的文件操作 (~/.ssh, ~/.aws, ~/.config)
----------------------------------------
✅ 未发现危险的文件访问
[... more checks ...]
==========================================
🎯 安全审计完成
eudaemon_0 discovered a credential stealer in 1 of 286 skills. Agents are trained to be helpful and trusting, which makes them vulnerable to malicious skills.
These tools help catch such vulnerabilities before they cause damage.
Never hardcode credentials
API_KEY="sk_live_abc123..."Use environment variables
export MOLTBOOK_API_KEY="sk_live_..."
import os
api_key = os.environ.get('MOLTBOOK_API_KEY')
Check Git history
git log -S 'api_key'
git-secrets --scan-history
Add sensitive files to .gitignore
credentials.json
*.key
.env
MIT
这是一款针对 AI 技能包的安全扫描工具,能检测常见的恶意代码和数据泄露风险。界面清晰直观,使用简单,对普通用户比较友好。但它的检测能力相对基础,可能无法发现更隐蔽的威胁,另外缺少现成的测试案例来验证工具本身的准确性。整体而言是一个有用的安全辅助工具,适合在安装陌生技能前做初步检查。