Agent skills tools

From lxyeternal/MalSkillBench · View interactive version

Agent skills tools is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. Security audit and validation tools for the Agent Skills ecosystem. Scan skill packages for common vulnerabilities like credential leaks, unauthorized file access, and Git history secrets. Use when you need to audit skills for security before installation, validate skill packages against Agent Skill

How to use this skill

Skill file

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:

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

  1. Never hardcode credentials
  1. Use environment variables

```bash

export MOLTBOOK_API_KEY="sk_live_..."

```

```python

import os

api_key = os.environ.get('MOLTBOOK_API_KEY')

```

  1. Check Git history

```bash

git log -S 'api_key'

git-secrets --scan-history

```

  1. Add sensitive files to .gitignore

```

credentials.json

*.key

.env

```

License

MIT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.