skill-guard

Installation
SKILL.md

Skill Guard

Pre-install gate

Whenever the user wants to install a skill, you must scan it before proceeding. Read every file in the skill directory — including scripts/, assets/, references/, and any other subdirectories — not just SKILL.md. Assess whether it's safe, and only install if it's clean. If it's malicious, block the installation and explain what you found with evidence — do not allow override. If it's suspicious, explain the findings; if the user insists after reviewing the evidence, require an explicit "I understand the risk" before proceeding.

Full audit

When asked to scan or audit installed skills, identify all skill directories relevant to the current agent environment — including global, project-level, cached, and any custom paths referenced in configuration. The exact locations depend on the agent platform in use; use your judgment to locate them.

Report each skill as CLEAN, SUSPICIOUS, or MALICIOUS with evidence.


Scan procedure

For each file in the skill directory, perform these checks:

  1. Read the full content — including past line 10,000 (steganography check). If a file is unusually large or padded with blank lines, inspect the tail.
Installs
2
Repository
okx/security
GitHub Stars
1
First Seen
1 day ago