Skip to content
Back to skills

Security Pen Testing

ASecurity

Offensive security testing: OWASP Top 10 audits, static analysis, dependency scanning, secret detection, API security testing, and pen test report generation.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 14, 2026
securitypythongobashsqlawstestinggitapici/cdsecurity

Works with

  • api

Security analysis

A100/100

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

Scanned November 14, 2026

npx -y skills add SebastianLuser/claude-code-arcane --skill security-pen-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Pen Testing?

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

Security grade badge for Security Pen Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sebastianluser-security-pen-testing/badge)](https://www.skillsdirectory.com/skills/sebastianluser-security-pen-testing)

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: security-pen-testing
description: "Offensive security testing: OWASP Top 10 audits, static analysis, dependency scanning, secret detection, API security testing, and pen test report generation."
argument-hint: ""
category: "security"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash
---

# Security Penetration Testing

Systematic vulnerability discovery through authorized testing. Covers web applications, APIs, infrastructure, and supply chain security. This is NOT compliance checking or security policy writing.

**All testing requires written authorization** from the system owner before starting.

---

## Workflow

### Step 1: OWASP Top 10 Audit

```bash
python scripts/vulnerability_scanner.py --target web --scope full
python scripts/vulnerability_scanner.py --target api --scope quick --json
```

| # | Category | Key Tests |
|---|----------|-----------|
| A01 | Broken Access Control | IDOR, vertical escalation, JWT claim manipulation |
| A02 | Cryptographic Failures | TLS version, password hashing, hardcoded keys |
| A03 | Injection | SQLi, NoSQLi, command injection, XSS |
| A04 | Insecure Design | Rate limiting, business logic abuse |
| A05 | Security Misconfiguration | Default credentials, debug mode, headers |
| A06 | Vulnerable Components | Dependency audit, EOL checks, CVEs |
| A07 | Auth Failures | Brute force, session management, MFA bypass |
| A08 | Integrity Failures | Unsafe deserialization, SRI, CI/CD integrity |
| A09 | Logging Failures | Auth event logging, sensitive data in logs |
| A10 | SSRF | Internal IP access, cloud metadata endpoints |

Full test procedures, code patterns, and CVSS scoring: `references/owasp_top_10_checklist.md`

### Step 2: Dependency and Secret Scanning

```bash
python scripts/dependency_auditor.py --file package.json --severity critical --json
```

**Secret scanning:** TruffleHog (git history + filesystem), Gitleaks (regex-based). Configure pre-commit hooks and CI/CD gates.

### Step 3: API Security Testing

- **JWT manipulation:** alg:none, RS256-to-HS256, claim modification
- **IDOR/BOLA:** Change resource IDs across users on every endpoint
- **BFLA:** Regular user tries admin endpoints
- **Rate limiting:** Rapid-fire to auth endpoints; expect 429
- **GraphQL:** Introspection disabled, query depth limits, batch mutation restrictions

Full attack payloads and bypass techniques: `references/attack_patterns.md`

### Step 4: Web Vulnerability Testing

Key tests: XSS (reflected, stored, DOM-based), CSRF (token replay, SameSite), SQL injection (error/union/time/boolean-based), SSRF (metadata endpoints, encoding bypasses), path traversal.

### Step 5: Infrastructure Security

- Cloud storage public access
- HTTP security headers (HSTS, CSP, X-Content-Type-Options)
- TLS configuration (reject TLS 1.0/1.1, weak ciphers)
- Port scanning for dangerous open services

### Step 6: Generate Report

```bash
python scripts/pentest_report_generator.py --findings findings.json --format md --output report.md
```

Report structure: executive summary with a verdict (**FAIL** if any finding is Critical or High, **CONCERNS** if only Medium or Low remain, **PASS** if nothing actionable turned up), scope, methodology, findings table (by severity/CVSS), detailed findings with evidence and remediation, priority matrix.

Responsible disclosure timeline and templates: `references/responsible_disclosure.md`

---

## Tools

### vulnerability_scanner.py
OWASP checklist generation and automated security checks.

### dependency_auditor.py
Ecosystem-aware dependency scanning with CVE triage.

### pentest_report_generator.py
Professional report generation from structured findings JSON.

---

## Anti-Patterns

1. **Testing in production without authorization** -- use staging/test environments
2. **Ignoring low-severity findings** -- chains of lows can become critical
3. **Skipping responsible disclosure** -- every vulnerability must be reported properly
4. **Relying solely on automated tools** -- tools miss business logic flaws and chained exploits
5. **Reporting without remediation guidance** -- every finding needs actionable fix steps
6. **One-time testing** -- integrate into CI/CD and schedule periodic assessments

---

## Cross-References

| Skill | Relationship |
|-------|-------------|
| red-team | Pen testing targets specific vulnerabilities; red team simulates full kill chains |
| cloud-security | Cloud posture findings feed into infrastructure security section |
| threat-detection | Pen test findings identify attack surfaces for ongoing monitoring |
| incident-response | Exploited vulnerabilities in the wild escalate to incident handling |

Files in this skill

  • SKILL.md4.5 KB
  • references/attack_patterns.md15 KB
  • references/owasp_top_10_checklist.md17.7 KB
  • references/responsible_disclosure.md11.2 KB
  • scripts/dependency_auditor.py20.6 KB
  • scripts/pentest_report_generator.py18.6 KB
  • scripts/vulnerability_scanner.py28.2 KB

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 security →

Comments

Loading comments…

Newsletter

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