Agent Skills Tools ๐
Security and validation tools for the Agent Skills ecosystem.
Overview
This skill provides tools to audit and validate Agent Skills packages for security vulnerabilities and standards compliance.
Tools
1. Security Audit Tool (skill-security-audit.sh)
Scans skill packages for common security issues:
Checks:
- ๐ Credential leaks (hardcoded API keys, passwords, tokens)
- ๐ Dangerous file access (~/.ssh, ~/.aws, ~/.config)
- ๐ External network requests
- ๐ Environment variable usage (recommended practice)
- ๐ File permissions (credentials.json)
- ๐ Git history for leaked secrets
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 ...]
==========================================
๐ฏ ๅฎๅ
จๅฎก่ฎกๅฎๆ
Background
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.
Best Practices
-
Never hardcode credentials
- โ
API_KEY="sk_live_abc123..." - โ Read from environment variables or config files
- โ
-
Use environment variables
bash export MOLTBOOK_API_KEY="sk_live_..."python import os api_key = os.environ.get('MOLTBOOK_API_KEY') -
Check Git history
bash git log -S 'api_key' git-secrets --scan-history -
Add sensitive files to .gitignore
text credentials.json *.key .env
License
MIT





