.claude/skills/pentesting/SKILL.md
Arsenal de pentesting con pipeline Shannon — queue-driven, proof-based, 5 fases paralelas
npx skillsauth add gonzalezpazmonica/pm-workspace pentestingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
checklists.md)Recon: nmap, dig, whois, subfinder, amass, gobuster, ffuf, whatweb, crt.sh, testssl.sh Web: SQLi (error/blind/time/UNION), XSS (reflected/stored/DOM), SSTI, XXE, SSRF, CSRF, CMDi, path traversal, file upload, deserialization, business logic Auth: brute force, JWT (none/key-confusion/claim-tamper), OAuth abuse, SAML, session fixation AuthZ: IDOR, BOLA/BFLA, priv escalation (H/V), forced browsing, mass assignment API: REST param pollution, GraphQL introspection/DoS, gRPC reflection, WebSocket, rate limit bypass Infra: nmap NSE, mitmproxy, scapy, Redis/Mongo/ES/MySQL, TLS audit Container: Docker socket escape, privileged mode, K8s RBAC/etcd/pod escape, Helm injection Cloud: AWS IMDS/S3/IAM, Azure MI/SAS/RBAC, GCP metadata/SA keys Crypto: MD5/SHA1/ECB detection, padding oracle, hardcoded keys, PRNG prediction
# apt: nmap dnsutils whois nikto dirb tcpdump netcat socat openssl jq
# pip: sqlmap wfuzz mitmproxy scapy requests beautifulsoup4 pyjwt pycryptodome httpx
# Pentest Report — {sistema}
**Fecha:** {fecha} | **Entorno:** {env} | **Scope:** {desc}
## Executive Summary
Riesgo: {level} | Hallazgos probados: C:{n} H:{n} M:{n} L:{n}
Descartados (sin prueba L3): {n}
## Proven Findings (solo L3 — con evidencia)
## Attack Chains (diagramas de cadenas exitosas)
## Failed Attempts (L1/L2 — transparencia, sin contar como hallazgos)
## Remediation Roadmap (P0-P3)
## Positive Findings (controles que funcionaron)
DEV: ✅ todo. Fuzzing agresivo, exploits, brute force, DoS controlado. ⚠️ No destruir datos sin backup. PRE: ✅ OWASP, fuzzing moderado. ❌ No brute force, no DoS, no datos ajenos. PROD: ✅ Solo pasivo (headers, TLS, DNS, auth test). ❌ No exploits, no fuzzing. Todo reversible.
checklists.md)Web: headers, TLS, cookies, CORS, auth, authz, input validation, upload, errors, rate limit, business logic API: auth, authz/endpoint, validation, mass assignment, rate limit, pagination, content-type, versioning, docs Infra: ports, versions, creds, SSH, firewall, DNS, email security, certs Cloud: non-root, no privileged, pinned images, RBAC, network policies, secrets, IAM, storage
| Táctica | Técnicas | |---------|----------| | Reconnaissance | Active scanning, open websites | | Initial Access | Exploit public app, valid accounts | | Execution | Command interpreter, exploitation | | Persistence | Account manipulation, scheduled task | | Priv Escalation | Exploitation, token manipulation | | Credential Access | Brute force, credential dumping | | Lateral Movement | Remote services, exploitation | | Exfiltration | Over C2, web service, alt protocol |
| Factor | Peso | Valores | |--------|------|---------| | Attack Vector | 0.3 | Network(1.0) Adjacent(0.7) Local(0.5) Physical(0.2) | | Complexity | 0.2 | Low(1.0) High(0.5) | | Privileges | 0.2 | None(1.0) Low(0.6) High(0.3) | | Impact | 0.3 | High(1.0) Medium(0.6) Low(0.3) |
| Cat | Pregunta | Controles | |-----|----------|-----------| | Spoofing | ¿Suplantar? | Auth, MFA, tokens | | Tampering | ¿Modificar? | Integridad, HMAC | | Repudiation | ¿Negar? | Audit logs | | Info Disclosure | ¿Acceder? | Encryption, ACL | | DoS | ¿Tumbar? | Rate limiting, WAF | | Elevation | ¿Escalar? | RBAC, least privilege |
Cada archivo 03-vuln-{clase}.json contiene:
{"vulnerabilities": [
{"id": "INJ-001", "endpoint": "/api/search", "parameter": "q",
"type": "sqli_error", "sink": "SQL query string interpolation",
"source_file": "app.py:42", "confidence": "high",
"suggested_payload": "' OR '1'='1", "notes": "No parameterized query"}
]}
Campos requeridos: id, endpoint, parameter, type, confidence.
Si confidence < medium, no se intenta exploitation.
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
tools
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
tools
Sistema proactivo de bienestar individual
development
Search the web to resolve context gaps — documentation, versions, CVEs, best practices. Auto-starts SearxNG Docker if available, falls back to WebSearch.