mcpbeat

Common Pentest Methodology

hoangnguyen0403/agent-skills-standard-common-common-pentest-methodology

PTES-aligned penetration testing methodology for backend, frontend, and mobile. Provides attack taxonomy, exploit techniques per vulnerability class, and platform-specific test matrices. Use when executing pentest workflow, planning security assessments, mapping attack surfaces, or building threat models.

This is a copy. The original lives at hoangnguyen0403/common-pentest-methodology.

8k tokens
context cost
the whole folder, loaded on every use
9
files
instructions only
0
copies elsewhere
how many repositories repackaged it
536
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill common-pentest-methodology

What comes with it

27 432 bytes besides the instruction
evals/evals.json
references/compliance-mapping.md
references/continuous-pentest.md
references/exploit-techniques.md
references/owasp-mobile.md
references/platform-recon.md
references/report-template.md
references/threat-modeling.md

The instruction itself

8 sections, as written by the author

Penetration Testing Methodology (PTES-Aligned)

Priority: P0 (CRITICAL)

Always-Apply Rules

  • No Exploit = No Report: Every finding requires reproducible Proof-of-Concept. Hypotheses without PoC are discarded.
  • No Production Testing: All dynamic probes target local/staging only. Confirm authorization before Phase 1.
  • No Single-Platform Bias: Assess backend, frontend, AND mobile surfaces when in-scope.

Workflow

Load alongside /pentest workflow. Provides methodology backbone for all 7 phases.

  • Scope → Define test mode (whitebox/greybox/blackbox), platforms, exclusions.
  • Recon → Build asset inventory per platform. See platform-recon.
  • Threat Model → Rank endpoints by risk. See threat-modeling.
  • Analyze → Run vulnerability matrix across all domains. Load common-owasp, common-security-audit, common-dast-tooling.
  • Exploit → Validate each finding with PoC. See exploit-techniques.
  • Post-Exploit → Assess blast radius, lateral movement, privilege escalation.
  • Report → Audit-grade output with CVSS scoring. See report-template and compliance-mapping.

Platform Coverage Matrix

| Domain | Backend/API | Frontend/Web | Mobile (iOS/Android) |

|---|---|---|---|

| Injection | SQLi, CMDi, NoSQLi, LDAPi | Template injection, DOM sinks | Content provider SQLi, Intent injection |

| XSS | Response encoding | DOM XSS, innerHTML, framework bypasses | WebView loadUrl, JavaScript bridges |

| Auth | JWT, OAuth, Session, MFA | Token storage, session management | Keychain/Keystore, biometric bypass |

| AuthZ | BOLA/IDOR, BFLA, Mass Assignment | Client-side role gates | Local permission checks without server |

| SSRF | HTTP client + user URL | SSR with user-supplied URL | Custom scheme fetching arbitrary URLs |

| Business Logic | Race conditions, workflow bypass | Client-only validation, price tamper | IAP bypass, receipt validation skip |

| Crypto | Weak hash, missing TLS | HTTP calls, weak CSP | Missing cert pin, cleartext traffic |

| Config | CORS, debug mode, headers | Source maps, debug flags in prod | debuggable=true, ATS exceptions |

| Deps/SCA | npm audit, pip-audit, cargo audit | Bundle vuln analysis | pod audit, Gradle dependency scan |

| Secrets | Entropy + regex + liveness | Secrets in JS bundles | Keys in BuildConfig/Info.plist |

| LLM/AI | Prompt injection, excessive agency | Output to DOM sinks | Agent tools without confirmation |

Continuous & Compliance Execution

  • Continuous Testing: Execute Delta scans on PRs or Replay regression PoCs. See continuous-pentest.
  • Compliance Mapping: Map findings to SOC 2, ISO 27001, PCI DSS, or OWASP MASVS. See compliance-mapping.

Anti-Patterns

  • No "scan and dump": Raw tool output not a pentest. Correlate findings across SAST + DAST + manual.
  • No severity inflation: Theoretical risk without exploit evidence ≠ confirmed vulnerability.
  • No happy-path-only: Test error states, edge cases, race conditions, not just golden flow.

References

  • Platform Reconnaissance — Phase 1 recon commands per platform
  • Threat Modeling Guide — Phase 2 attack surface prioritization
  • Exploit Techniques — Phase 4 PoC construction per vuln class
  • Report Template — Phase 6 audit-grade report format
  • OWASP Mobile Top 10 — Mobile vulnerability detection
  • Compliance Mapping — SOC 2, ISO 27001, PCI DSS mapping
  • Continuous Pentesting — CI/CD integration and Delta testing

How to use it

Copy the folder

Take hoangnguyen0403/agent-skills-standard-common-common-pentest-methodology from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.