janitor-security

Featured

Heuristic security scan of installed skills — prompt-injection phrases, hidden unicode instructions, credential-store access, network-pipe-to-shell and payload-smuggling patterns. Use when the user asks 'are my skills safe', wants to scan skills for prompt injection or malware patterns, or before trusting a newly installed skill. Trigger with '/janitor-security'.

AI & Automation 117 stars 19 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
69
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Security Scan Heuristic scan of skill content for prompt-injection and malicious patterns. ## Overview A skill is text your agent trusts: its SKILL.md is read as instructions and its scripts run on your machine. Public research (Snyk's ToxicSkills, 2026) found prompt injection in roughly a third of tested community skills. This scan flags the known bad shapes across every installed skill, in every scope (user, project, codex, plugin): - **Injection phrases** — "ignore all previous instructions", "do not tell the user" - **Hidden instructions** — imperative text in HTML comments (invisible when rendered), zero-width/bidi unicode between plain characters - **Payload smuggling** — large decodable base64 blobs in markdown - **Dangerous scripts** — network piped into a shell (`curl … | bash`), decode-and-execute, credential-store access (`~/.ssh`, `~/.aws`, keychain), URL shorteners, plain-HTTP calls, uploads of variable data Findings are heuristics, not proof: a RISK verdict means "read this before trusting it". Legit tools trip these rules too (e.g. an installer that pipes curl into bash) — the point is that YOU see it and decide. ## Prerequisites - Claude Code with the skills-janitor plugin installed (provides `scripts/security.sh`) - bash 3.2+ (the stock macOS bash works; no external dependencies, no network access) ## Instructions ### Step 1: Run the scan ```bash bash ~/.claude/skills/skills-janitor/scripts/security.sh # all installed skills bash ~/.clau...

Details

Author
khendzel
Repository
khendzel/skills-janitor
Created
5 months ago
Last Updated
1 months ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

skill-security-audit

Audit installed Claude Code skills for prompt-injection and supply-chain risk, and report which are safe and which are not. Use when the user asks to check, audit, review, or vet their skills/plugins for security, prompt injection, hidden instructions, or malicious content — e.g. "are my skills safe", "scan my skills", "which skills can be trusted".

0 Updated 2 weeks ago
newts7
AI & Automation Solid

skill-security-auditor

Security audit and vulnerability scanner for AI agent skills before installation. Use when: (1) evaluating a skill from an untrusted source, (2) auditing a skill directory or git repo URL for malicious code, (3) pre-install security gate for Claude Code plugins, OpenClaw skills, or Codex skills, (4) scanning Python scripts for dangerous patterns like os.system, eval, subprocess, network exfiltration, (5) detecting prompt injection in SKILL.md files, (6) checking dependency supply chain risks, (7) verifying file system access stays within skill boundaries. Triggers: "audit this skill", "is this skill safe", "scan skill for security", "check skill before install", "skill security check", "skill vulnerability scan".

57 Updated 1 weeks ago
adriannoes
AI & Automation Listed

skill-security-auditor

Security audit and vulnerability scanner for AI agent skills before installation. Use when: (1) evaluating a skill from an untrusted source, (2) auditing a skill directory or git repo URL for malicious code, (3) pre-install security gate for Claude Code plugins, OpenClaw skills, or Codex skills, (4) scanning Python scripts for dangerous patterns like os.system, eval, subprocess, network exfiltration, (5) detecting prompt injection in SKILL.md files, (6) checking dependency supply chain risks, (7) verifying file system access stays within skill boundaries. Triggers: "audit this skill", "is this skill safe", "scan skill for security", "check skill before install", "skill security check", "skill vulnerability scan".

1 Updated today
nariatrip191