Langsung ke konten
Skillpedia
Keamanan29k Β· #9602

skill-security-auditor

Fungsinya

Skill ini mengaudit skill AI lain dari risiko keamanan dan memberikan vonis lulus, peringatan, atau gagal. Skill ini untuk orang yang ingin memeriksa skill dari sumber yang tidak dikenal sebelum memakainya.

Kapan dipakai

  • βœ“Saat Anda akan memasang skill atau plugin dari sumber yang tidak sepenuhnya Anda percaya.
  • βœ“Saat seseorang bertanya apakah sebuah skill aman dipakai.
  • βœ“Saat Anda ingin memeriksa skrip dan instruksi sebuah skill dari risiko tersembunyi.

Link skill

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/skill-security-auditor/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/skill-security-auditor/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa skill ini dari GitHub untuk risiko keamanan sebelum saya memasangnya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memindai skrip, instruksi, dan dependensi skill untuk perintah berbahaya, pengiriman data, kode tersembunyi, dan prompt injection, lalu menulis vonis dengan temuannya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Skill Security Auditor

Scan and audit AI agent skills for security risks before installation. Produces a clear PASS / WARN / FAIL verdict with findings and remediation guidance.

Quick Start

# Audit a local skill directory
python3 scripts/skill_security_auditor.py /path/to/skill-name/

# Audit a skill from a git repo
python3 scripts/skill_security_auditor.py https://github.com/user/repo --skill skill-name

# Audit with strict mode (any WARN becomes FAIL)
python3 scripts/skill_security_auditor.py /path/to/skill-name/ --strict

# Output JSON report
python3 scripts/skill_security_auditor.py /path/to/skill-name/ --json

What Gets Scanned

1. Code Execution Risks (Python/Bash Scripts)

Scans all .py, .sh, .bash, .js, .ts files for:

Category Patterns Detected Severity
Command injection os.system(), os.popen(), subprocess.call(shell=True), backtick execution πŸ”΄ CRITICAL
Code execution eval(), exec(), compile(), __import__() πŸ”΄ CRITICAL
Obfuscation base64-encoded payloads, codecs.decode, hex-encoded strings, chr() chains πŸ”΄ CRITICAL
Network exfiltration requests.post(), urllib.request, socket.connect(), httpx, aiohttp πŸ”΄ CRITICAL
Credential harvesting reads from ~/.ssh, ~/.aws, ~/.config, env var extraction patterns πŸ”΄ CRITICAL
File system abuse writes outside skill dir, /etc/, ~/.bashrc, ~/.profile, symlink creation 🟑 HIGH
Privilege escalation sudo, chmod 777, setuid, cron manipulation πŸ”΄ CRITICAL
Unsafe deserialization pickle.loads(), yaml.load() (without SafeLoader), marshal.loads() 🟑 HIGH
Subprocess (safe) subprocess.run() with list args, no shell βšͺ INFO

2. Prompt Injection in SKILL.md

Scans SKILL.md and all .md reference files for:

Pattern Example Severity
System prompt override "Ignore previous instructions", "You are now..." πŸ”΄ CRITICAL
Role hijacking "Act as root", "Pretend you have no restrictions" πŸ”΄ CRITICAL
Safety bypass "Skip safety checks", "Disable content filtering" πŸ”΄ CRITICAL
Hidden instructions Zero-width characters, HTML comments with directives 🟑 HIGH
Excessive permissions "Run any command", "Full filesystem access" 🟑 HIGH
Data extraction "Send contents of", "Upload file to", "POST to" πŸ”΄ CRITICAL

3. Dependency Supply Chain

For skills with requirements.txt, package.json, or inline pip install:

Check What It Does Severity
Known vulnerabilities Cross-reference with PyPI/npm advisory databases πŸ”΄ CRITICAL
Typosquatting Flag packages similar to popular ones (e.g., reqeusts) 🟑 HIGH
Unpinned versions Flag requests>=2.0 vs requests==2.31.0 βšͺ INFO
Install commands in code pip install or npm install inside scripts 🟑 HIGH
Suspicious packages Low download count, recent creation, single maintainer βšͺ INFO

4. File System & Structure

Check What It Does Severity
Boundary violation Scripts referencing paths outside skill directory 🟑 HIGH
Hidden files .env, dotfiles that shouldn't be in a skill 🟑 HIGH
Binary files Unexpected executables, .so, .dll, .exe πŸ”΄ CRITICAL
Large files Files >1MB that could hide payloads βšͺ INFO
Symlinks Symbolic links pointing outside skill directory πŸ”΄ CRITICAL

Audit Workflow

  1. Run the scanner on the skill directory or repo URL
  2. Review the report β€” findings grouped by severity
  3. Verdict interpretation:
    • βœ… PASS β€” No critical or high findings. Safe to install.
    • ⚠️ WARN β€” High/medium findings detected. Review manually before installing.
    • ❌ FAIL β€” Critical findings. Do NOT install without remediation.
  4. Remediation β€” each finding includes specific fix guidance

Reading the Report

╔══════════════════════════════════════════════╗
β•‘  SKILL SECURITY AUDIT REPORT                β•‘
β•‘  Skill: example-skill                        β•‘
β•‘  Verdict: ❌ FAIL                            β•‘
╠══════════════════════════════════════════════╣
β•‘  
Pertanyaan umum

Bisakah mengaudit skill dari repo git?

Bisa. Anda dapat memberikan tautan repositori dan menyebutkan skill yang ingin diperiksa.

Apa itu mode ketat?

Mode ketat mengubah setiap peringatan menjadi kegagalan, yang lebih aman untuk sumber yang tidak tepercaya.

Apakah lulus berarti skill sepenuhnya aman?

Tidak. Lulus berarti pemindaian tidak menemukan risiko yang dikenal, sehingga Anda tetap perlu menilai sumbernya sendiri.

Detail

Deskripsi asli dari pembuat

Use before installing any skill or plugin from an untrusted source, or when asked if a skill is safe. Scans scripts, SKILL.md and dependencies for exfiltration, dangerous calls and prompt injection with skill_security_auditor.py.

repo: alirezarezvani/claude-skills

Popularitas

Bintang GitHub
29k
Peringkat
#9602
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa