本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(9)

  • SKILL.md4.4 KB
  • evals/evals.json1.6 KB
  • references/compliance-mapping.md4.2 KB
  • references/continuous-pentest.md3.4 KB
  • references/exploit-techniques.md4.6 KB
  • references/owasp-mobile.md2.8 KB
  • references/platform-recon.md4.8 KB
  • references/report-template.md2.8 KB
  • references/threat-modeling.md2.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

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

Platform Coverage Matrix

DomainBackend/APIFrontend/WebMobile (iOS/Android)
InjectionSQLi, CMDi, NoSQLi, LDAPiTemplate injection, DOM sinksContent provider SQLi, Intent injection
XSSResponse encodingDOM XSS, innerHTML, framework bypassesWebView loadUrl, JavaScript bridges
AuthJWT, OAuth, Session, MFAToken storage, session managementKeychain/Keystore, biometric bypass
AuthZBOLA/IDOR, BFLA, Mass AssignmentClient-side role gatesLocal permission checks without server
SSRFHTTP client + user URLSSR with user-supplied URLCustom scheme fetching arbitrary URLs
Business LogicRace conditions, workflow bypassClient-only validation, price tamperIAP bypass, receipt validation skip
CryptoWeak hash, missing TLSHTTP calls, weak CSPMissing cert pin, cleartext traffic
ConfigCORS, debug mode, headersSource maps, debug flags in proddebuggable=true, ATS exceptions
Deps/SCAnpm audit, pip-audit, cargo auditBundle vuln analysispod audit, Gradle dependency scan
SecretsEntropy + regex + livenessSecrets in JS bundlesKeys in BuildConfig/Info.plist
LLM/AIPrompt injection, excessive agencyOutput to DOM sinksAgent 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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test recipes to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

HoangNguyen0403 のスキルをすべて見る

このスキルの問題を報告する