mcpField
P
penetration-testing

penetration-testing

github.com/aj-geddesSecurity3731.1k installsUpdated 34w ago
Repository

About penetration-testing

penetration-testing is a skill for assessing the security of applications, networks, and infrastructure. It covers simulated attacks, documenting vulnerabilities, and remediation guidance, with an emphasis on authorization, scope control, and responsible disclosure.

Key features

  1. 01Identify vulnerabilities through simulated attacks
  2. 02Document findings and provide remediation guidance
  3. 03Consult automated testing and Burp Suite scripts
  4. 04Emphasize authorization, scope, and evidence custody

Use cases

  1. 01Validate security before production
  2. 02Conduct periodic security assessments
  3. 03Review security after an incident
  4. 04Carry out red team exercises

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill penetration-testing

After installing, type/penetration-testingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
automated-penetration-testing-framework.md
burp-suite-automation-script.md
scripts/
security-checklist.sh

Details

From the project README

Penetration Testing

Table of Contents

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:

# 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:

GuideContents
Automated Penetration Testing FrameworkAutomated Penetration Testing Framework
Burp Suite Automation ScriptBurp 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

Comments

Markdown supported