Skip to content
Back to skills

Dirty Skill

ASecurity

A deliberately leaky demo skill used to show what skill-sanitizer catches before you publish. Do not ship this.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentspythonbashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add animaresearch/skills --skill dirty-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dirty Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dirty Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/animaresearch-dirty-skill/badge)](https://www.skillsdirectory.com/skills/animaresearch-dirty-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dirty-skill
description: A deliberately leaky demo skill used to show what skill-sanitizer catches before you publish. Do not ship this.
---

# dirty-skill (DEMO — intentionally leaky)

This folder is a teaching fixture for `skill-sanitizer`. It contains planted,
clearly-fake-but-realistic leaks so you can watch the scanner BLOCK on a publish
attempt. **Nothing here is a real credential** — the values are dummies sized to
look real so the scanner treats them seriously.

## What is planted (one per leak class)

| Class | Where | Planted value (fake) |
|-------|-------|----------------------|
| SECRET | `sync.py:5` | a `ghp_` GitHub token (36 hex-ish chars) → hard **BLOCK** |
| PROPRIETARY | `sync.py:8` | a hardcoded home-dir path with a username → WARN |
| PII | `sync.py:11` | a personal `gmail.com` email → WARN |
| SERVICE CODE | `sync.py` | an internal Jira marker (`.atlassian.net`, `customfield_*`) → `plugin-split` advice |

## Run it

```bash
cd examples/dirty-skill
python ../../scanner.py .
```

Expected: a report with `BLOCK=2 WARN=4` and **exit code 1**. The full expected
report is in [`../EXPECTED_OUTPUT.md`](../EXPECTED_OUTPUT.md). Fixing the four
planted leaks (env-var the token, swap the path for `~`, use an `example.com`
email, move the Jira code to a plugin) takes the same folder to **exit 0**.

Files in this skill

  • SKILL.md1.3 KB
  • sync.py993 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.