Skip to main content
skill CX Codex

penetration-testing · aj-geddes — Claude Code skill: what it does, how to install

Security testing skill that guides ethical hacking, simulated attacks, and vulnerability documentation across applications and infrastructure.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-code
Open on GitHub

What penetration-testing does

The skill provides systematic methodologies for identifying and documenting security flaws before code ships. It includes a Python framework skeleton using a Finding dataclass to track target information, severity, CVSS scores, evidence, and concrete remediation steps.

Included reference guides focus on Burp Suite automation and security scripts such as SQL injection testing. Scope boundaries must stay firm. Running tests against production without written authorization violates the operational rules, which explicitly ban destructive payloads and sensitive data exfiltration.

What it helps with

  • Validate application security posture before shipping to production
  • Meet compliance assessment requirements for PCI-DSS and ISO 27001
  • Document security findings with CVSS scores and remediation steps
  • Automate vulnerability checks using Python and Burp Suite scripts

Example prompts for the agent

  • Create an ethical penetration testing plan for our pre-production API.
  • Set up a Python dataclass structure to log vulnerability findings with CVSS scores.
  • Generate a remediation guide for SQL injection vulnerabilities discovered during testing.

How to install penetration-testing

1Skills CLI (Vercel)

npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-code

2Manually: put the files in place

~/.claude/skills/penetration-testing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/penetration-testing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about penetration-testing

How do I install penetration-testing in Claude Code?

Run npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-code. The skill file will be placed in ~/.claude/skills/penetration-testing/SKILL.md.

What does the penetration-testing skill do?

It guides ethical security assessments, simulated attacks, and structured flaw documentation. It is designed for red team exercises, compliance audits, and pre-production reviews.

What operational rules does this skill enforce?

It demands written authorization, explicit scope boundaries, and execution only within controlled environments. Destructive payloads, service disruption, and unauthorized production scans are strictly forbidden.

Source text

SKILL.md · MIT
---
name: penetration-testing
description: >
  Ethical hacking and security testing methodologies using penetration testing
  tools, exploit frameworks, and manual security validation. Use when assessing
  application security posture and identifying exploitable vulnerabilities.
---

# Penetration Testing

## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)

## Overview

Systematic security testing to identify, exploit, and document vulnerabilities in applications, networks, and infrastructure through simulated attacks.

## When to Use

- Pre-production security validation
- Annual security assessments
- Compliance requirements (PCI-DSS, ISO 27001)
- Post-incident security review
- Third-party security audits
- Red team exercises

## Quick Start

Minimal working example:

```python
# pentest_framework.py
import requests
import socket
import subprocess
import json
from typing import List, Dict
from dataclasses import dataclass, asdict
from datetime import datetime

@dataclass
class Finding:
    severity: str
    category: str
    target: str
    vulnerability: str
    evidence: str
    remediation: str
    cvss_score: float

class PenetrationTester:
    def __init__(self, target: str):
        self.target = target
        self.findings: List[Finding] = []

    def test_sql_injection(self, url: str) -> None:
// ... (see reference guides for full implementation)
```

## Reference Guides

Detailed implementations in the `references/` directory:

| Guide | Contents |
|---|---|
| [Automated Penetration Testing Framework](references/automated-penetration-testing-framework.md) | Automated Penetration Testing Framework |
| [Burp Suite Automation Script](references/burp-suite-automation-script.md) | Burp Suite Automation Script |

## Best Practices

### ✅ DO

- Get written authorization
- Define clear scope
- Use controlled environments
- Document all findings
- Follow responsible disclosure
- Provide remediation guidance
- Verify fixes after patching
- Maintain chain of custody

### ❌ DON'T

- Test production without approval
- Cause service disruption
- Exfiltrate sensitive data
- Share findings publicly
- Exceed authorized scope
- Use destructive payloads

© aj-geddes · MIT · aj-geddes/useful-ai-prompts

Similar skills

Everything for Security →

penetration-testing by other authors comes first.

penetration-testing devops-skills Walks your agent through pentest phases: recon, scanning, exploitation, reporting. Useful when you need to validate your own security controls. CX Codex +1 373installs performing-web-application-penetration-test mahipal Guides step-by-step penetration testing of web applications following the OWASP WSTG methodology with Burp Suite. Used for pre-production security assessments and verifying fixes. CX Codex +1 660installs wordpress-penetration-testing zebbern This skill audits WordPress installations for common vulnerabilities and REST API permission issues in plugins. Designed for authorized security assessments. CX Codex +1 1,100installs burpsuite-project-parser trailofbits Explores and queries Burp Suite project files from the command line. It extracts proxy history, scanner findings, and HTTP traffic without opening the desktop app. CX Codex +1 5,100installs penetration-tester VoltAgent Community Runs authorized security tests, validates vulnerabilities and reports remediation steps. Use it to assess systems within an agreed scope. 2,407installs draft-security-advisory frappe Transforms vulnerability reports into publication-ready GitHub Security Advisories without leaking payloads, endpoints, or file paths. CX Codex +1 480installs owasp-top-10-testing usestrix Runs Strix AI agents to execute exploits across OWASP Top 10:2025 categories. Useful for verifying attack paths with concrete proofs-of-concept before audits. CX Codex +1 12,800installs

From the same set118

flask-api-development Builds modular Flask REST APIs using blueprints, SQLAlchemy ORM, and JWT authentication. It helps organize microservices and validate incoming request payloads. CX Codex +1 1,400installs wireframe-prototyping Sketch a UI and build a prototype before development starts. Useful when you need early feedback from a team or a client. CX Codex +1 1,400installs markdown-documentation A skill that gives the agent a fixed set of Markdown rules for READMEs, wikis and docs pages. Useful when the model writes the text and it has to look consistent. CX Codex +1 1,300installs terraform-infrastructure Guides the agent in configuring cloud infrastructure with Terraform modules and remote state. Useful when managing dev, staging, and prod environments. CX Codex +1 1,200installs responsive-web-design A skill that steers your coding agent toward mobile-first CSS with Flexbox, Grid and media queries. Useful when one layout has to hold up on phones and desktops. CX Codex +1 1,100installs css-architecture A skill that gives your coding agent conventions for structuring CSS with BEM, SMACSS and CSS-in-JS. Handy when stylesheets outgrow the naming scheme you started with. CX Codex +1 959installs api-contract-testing Verifies API contracts between consumers and providers without full integration tests. Helps stop breaking schema changes before deploying microservices. CX Codex +1 913installs event-sourcing A skill that guides your coding agent through event sourcing and CQRS: an event store, aggregates, projections and snapshots. Useful when you need a full change history and queries against past state. CX Codex +1 886installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor