skill-security-auditor

Scans AI agent skill directories for malicious code, prompt injection, and supply chain risks.

Updated Aug 14, 2026
One-click install
npx skills add https://github.com/Rohithdgrr/REEK-uninstaller --skill skill-security-auditor-rohithdgrr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-security-auditor
Source: https://github.com/Rohithdgrr/REEK-uninstaller/tree/main/.opencode/skills/skill-security-auditor
Command: npx skills add https://github.com/Rohithdgrr/REEK-uninstaller --skill skill-security-auditor-rohithdgrr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Installing AI agent skills from untrusted sources can introduce malicious code, prompt injection, credential theft, or data exfiltration into your environment. This Skill statically audits a skill directory or git repository before installation and produces a clear PASS, WARN, or FAIL verdict with remediation guidance. ## Core Features & Use Cases - Code Pattern Scanning: Detects dangerous patterns in Python, Bash, and JavaScript/TypeScript files, including os.system, eval, subprocess with shell=True, base64 obfuscation, network exfiltration, and credential harvesting. - Prompt Injection Detection: Scans SKILL.md and markdown reference files for system prompt overrides, role hijacking, safety bypass directives, hidden zero-width characters, and data extraction instructions. - Supply Chain & Structure Checks: Flags typosquatted dependencies, unpinned versions, binary payloads, symlinks escaping the skill directory, and writes to shell config files. - Use Case: Before installing a community skill from GitHub, run the auditor against the repo URL to receive a severity-grouped report with exit codes suitable for CI/CD gating. ## Quick Start Ask the agent to audit a local skill directory or git repository URL with the security auditor script and report whether it passes, warns, or fails.

Frequently Asked Questions about skill-security-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan an AI agent skill for security issues before installing it?▼

Run the skill_security_auditor.py script against the skill directory or git repository URL. It statically scans scripts, markdown files, and dependency manifests, then returns a PASS, WARN, or FAIL verdict with findings grouped by severity.

What malicious patterns does a skill security scanner detect?▼

It detects command injection like os.system and subprocess with shell=True, code execution via eval and exec, base64 and hex obfuscation, outbound network calls, credential file access, prompt injection phrases, and typosquatted package names in requirements.txt.

Can I use this security audit in a CI/CD pipeline?▼

Yes, the script supports --json output and --strict mode where any WARN becomes a FAIL. Exit codes are 0 for PASS, 1 for FAIL, and 2 for WARN, so pipeline steps can gate installation on the result.

Does the skill auditor execute the code it scans?▼

No, it performs static analysis only and never runs the scanned code. This makes it safe to run against untrusted skills, but it cannot detect runtime-generated payloads or time-delayed logic bombs.

What are the limitations of static security scanning for skills?▼

Pattern-based detection can miss novel obfuscation, multi-layer encoding, and condition-triggered payloads, and it cannot trace data flow through variables. Borderline findings should be reviewed manually, and when in doubt the skill should not be installed.