Sensitive data patterns for security testing: API keys, credit cards, emails, SSNs, phone numbers, IPs, and more. Use for data discovery and validation.
Installs into .claude/skills of the current project.
Are you the author of Security Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alicewe1-security-patterns)
---
name: security-patterns
description: "Sensitive data patterns for security testing: API keys, credit cards, emails, SSNs, phone numbers, IPs, and more. Use for data discovery and validation."
x-alice-class: pentest
---# SecLists Pattern-Matching
## Description
Sensitive data patterns for security testing: API keys, credit cards, emails, SSNs, phone numbers, IPs, and more. Use for data discovery and validation.
**Source:** [SecLists/Pattern-Matching](https://github.com/danielmiessler/SecLists/tree/master/Pattern-Matching)
**Repository:** https://github.com/danielmiessler/SecLists
**License:** MIT
## When to Use This Skill
Use this skill when you need:
- API key detection in code/logs
- Credit card validation testing
- Email pattern matching
- IP address discovery
- SSN format validation
- Phone number pattern testing
**⚠️ IMPORTANT:** Only use for authorized security testing, bug bounty programs, CTF competitions, or educational purposes.
## Key Files in This Skill
- `api-keys.txt - API key patterns`
- `credit-cards.txt - Credit card formats`
- `email-addresses.txt - Email patterns`
- `ip-addresses.txt - IP address patterns`
- `ssn.txt - Social Security Number patterns`
- `phone-numbers.txt - Phone number formats`
## Usage Example
```python
# Access files from this skill
import os
# Example: Load patterns/payloads
skill_path = "references/Pattern-Matching"
# List all available files
for root, dirs, files in os.walk(skill_path):
for file in files:
if file.endswith('.txt'):
filepath = os.path.join(root, file)
print(f"Found: {filepath}")
# Read file content
with open(filepath, 'r', errors='ignore') as f:
content = f.read().splitlines()
print(f" Lines: {len(content)}")
```
## Security & Ethics
### Authorized Use Cases ✅
- Authorized penetration testing with written permission
- Bug bounty programs (within scope)
- CTF competitions
- Security research in controlled environments
- Testing your own systems
- Educational demonstrations
### Prohibited Use Cases ❌
- Unauthorized access attempts
- Testing without permission
- Malicious activities
- Privacy violations
- Any illegal activities
## Complete SecLists Collection
This is a curated subset of SecLists. For the complete collection:
- **Full repository:** https://github.com/danielmiessler/SecLists
- **Size:** 4.5 GB with 6,000+ files
- **All categories:** Passwords, Usernames, Discovery, Fuzzing, Payloads, Web-Shells, Pattern-Matching, AI, Miscellaneous
---
**Generated by Skill Seeker** | SecLists Pattern-Matching Collection
**License:** MIT - Use responsibly with proper authorization
Files in this skill
SKILL.md2.6 KB
references/Pattern-Matching/README.md149 B
references/Pattern-Matching/Source-Code-(PHP)/php-auditing.txt61 B
references/Pattern-Matching/dangerous-functions-angular.txt291 B
references/Pattern-Matching/errors.txt2.1 KB
references/Pattern-Matching/grepstrings-auditing-php.md534 B
references/Pattern-Matching/grepstrings-basic.txt93 B