# security-patterns

This skill provides patterns for finding and validating API keys, card numbers, emails, IP addresses, and other sensitive data. Use it during authorized security testing.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 578 installs · ★ 393
- Author: Eyadkelleh
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Eyadkelleh/awesome-skills-security/tree/HEAD/skills/security-patterns/SKILL.md
- Updated: 2026-06-08
- HTML: https://affpapa.org/en/nevibecode/skills/eyadkelleh-security-patterns

## What it does

The skill contains text pattern lists for API keys, credit card numbers, email addresses, IP addresses, SSNs, and phone numbers. An agent can use them to look for matches in code or logs, or to check data formats. Files include `api-keys.txt`, `email-addresses.txt`, and `phone-numbers.txt`.

The lists are stored under `references/Pattern-Matching`. A Python example walks that directory and reads `.txt` files. The stated uses include authorized testing, in-scope bug bounty work, CTFs, and controlled research. Testing systems without permission falls outside those uses.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Eyadkelleh/awesome-skills-security --skill security-patterns -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/security-patterns/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/security-patterns/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Eyadkelleh/awesome-skills-security --skill security-patterns -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/security-patterns/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Eyadkelleh/awesome-skills-security --skill security-patterns -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/security-patterns/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Eyadkelleh/awesome-skills-security security-patterns
```

2. **Manually: put the files in place**
- File: `.github/skills/security-patterns/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Eyadkelleh/awesome-skills-security --skill security-patterns -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Eyadkelleh/awesome-skills-security --path skills/security-patterns
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/security-patterns/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Eyadkelleh/awesome-skills-security --skill security-patterns -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Eyadkelleh/awesome-skills-security/tree/HEAD/skills/security-patterns/SKILL.md

## When to use it
- find API-key patterns in code and logs
- check credit card number formats
- locate email addresses and IPs
- match phone numbers and SSNs against patterns

## Example prompts
- Search these logs for strings that match the skill’s API-key patterns.
- Find email addresses and IPs in this set of files using the skill.
- Check these test card and phone numbers against the available patterns.

## Similar
- [git-guardrails-claude-code](https://affpapa.org/en/nevibecode/skills/git-guardrails-claude-code.md) — skill · 499069 installs
- [ponytail-review](https://affpapa.org/en/nevibecode/skills/ponytail-review.md) — skill · 57000 installs
- [ponytail-audit](https://affpapa.org/en/nevibecode/skills/ponytail-audit.md) — skill · 45400 installs
- [security-audit](https://affpapa.org/en/nevibecode/skills/cloudflare-security-audit.md) — skill · 54800 installs
- [security-and-hardening](https://affpapa.org/en/nevibecode/skills/security-and-hardening.md) — skill · 70200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

## Other versions with the same name
- [security-patterns · yonatangross](https://affpapa.org/en/nevibecode/skills/security-patterns.md) — 731 installs

From the same set: [eyadkelleh/awesome-skills-security](https://affpapa.org/en/nevibecode/by/eyadkelleh/awesome-skills-security.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
