Skip to content

Add URL-driven web app pentesting skill and helper scripts#7

Draft
Copilot wants to merge 16 commits intomasterfrom
copilot/add-pentesting-skill
Draft

Add URL-driven web app pentesting skill and helper scripts#7
Copilot wants to merge 16 commits intomasterfrom
copilot/add-pentesting-skill

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

This adds a new skill for authorized web application pentesting where the only required input is the target URL. The skill covers endpoint discovery, authentication/session analysis, common injection checks, and IDOR-style logic testing with a free, open-source-first toolchain.

  • New skill: pentesting-web-apps

    • Adds skills/pentesting-web-apps/SKILL.md
    • Defines a URL-only input contract and scope boundaries
    • Frames the assessment flow from crawl → auth review → injection probes → logic testing → reporting
  • Coverage of required pentesting capabilities

    • Crawler / Spider: route inventory, hidden endpoints, params, authenticated vs unauthenticated reachability
    • Auth Analysis: JWT review, session rotation/reuse, remember-me behavior, session hijacking checks
    • Injection Probes: targeted SQLi, XSS, and SSRF checks against discovered inputs
    • Logic Tester: object-reference tampering and broken access control checks (user_id, org_id, project_id, etc.)
  • Tooling guidance

    • Recommends an open-source-first stack centered on:
      • Playwright
      • OWASP ZAP
      • Burp Suite Community
      • ffuf / feroxbuster
      • sqlmap
      • Dalfox
      • jwt-tool
    • Uses Dalfox as a focused follow-up tool for reflected or stored XSS candidates
  • Reusable helper scripts

    • Adds a skills/pentesting-web-apps/scripts/ folder with composable helpers for the skill workflow
    • Includes scripts for crawl orchestration, auth analysis, injection probe generation, logic testing, and end-to-end assessment composition
    • Adds a Playwright crawler helper for same-origin page, form, and request inventory
    • Updates the injection helper to plan optional Dalfox follow-up alongside sqlmap and ZAP
    • Scripts default to a safe dry-run mode and support --execute to run available tools when installed
  • Repository index updates

    • Adds the new skill to README.md
    • Includes an install example, usage summary, and references to the new helper scripts

Example install:

npx skills add b12consulting/skills --skill pentesting-web-apps

<issue_title>Add pentesting skill</issue_title>
><issue_description>The skill should target web app harnessing, general idea:
> - should include usual pentesting tool (playwright, burp, OWASP ZAP, ...), should be free and ideally open-source
> - the only thing the agent should take as input is the url to the web app.
>
> Requirement | Description:
> - Crawler/Spider | The ability to map the application's URL structure and hidden endpoints.
> - Auth Analysis | Logic to test JWT strength, session hijacking, and "Remember Me" flaws.
> - Injection Probes | Automated payloads for SQLi, XSS, and SSRF targeted at input fields.
> - Logic Tester | For example testing if changing a user_id (or org_id, project_id, etc) in a URL allows access to another user's data (IDOR).
>
>
></issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
>

Original prompt

This section details on the original issue you should resolve

<issue_title>Add pentesting skill</issue_title>
<issue_description>The skill should target web app harnessing, general idea:

  • should include usual pentesting tool (playwright, burp, OWASP ZAP, ...), should be free and ideally open-source
  • the only thing the agent should take as input is the url to the web app.

Requirement | Description:

  • Crawler/Spider | The ability to map the application's URL structure and hidden endpoints.
  • Auth Analysis | Logic to test JWT strength, session hijacking, and "Remember Me" flaws.
  • Injection Probes | Automated payloads for SQLi, XSS, and SSRF targeted at input fields.
  • Logic Tester | For example testing if changing a user_id (or org_id, project_id, etc) in a URL allows access to another user's data (IDOR).

</issue_description>

Comments on the Issue (you are @copilot in this section)


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Copilot AI changed the title [WIP] Add pentesting skill targeting web app harnessing Add URL-driven web app pentesting skill Mar 13, 2026
Copilot AI requested a review from bertrand-chenal March 13, 2026 09:07
Copy link

@bertrand-chenal bertrand-chenal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a script folder to this skill, with a bunch of reusable composable scritps that use the tools in SKILL.md

Copilot AI and others added 9 commits March 13, 2026 09:19
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 13, 2026

add a script folder to this skill, with a bunch of reusable composable scritps that use the tools in SKILL.md

Added a reusable scripts/ folder for pentesting-web-apps with composable crawl, auth-analysis, injection-probe, logic-tester, and orchestration helpers, and documented them in the skill. Addressed in 9f5e4d1.

Copilot AI changed the title Add URL-driven web app pentesting skill Add URL-driven web app pentesting skill and helper scripts Mar 13, 2026
Copilot AI requested a review from bertrand-chenal March 13, 2026 09:27
@bertrand-chenal
Copy link

@copilot please integrate Dalfox to the list of tools

Copilot AI and others added 5 commits March 13, 2026 12:48
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Co-authored-by: bertrand-chenal <122295322+bertrand-chenal@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 13, 2026

@copilot please integrate Dalfox to the list of tools

Integrated Dalfox into the pentesting skill tooling and injection follow-up guidance, including the helper script’s optional XSS follow-up plan. Addressed in 5991935.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pentesting skill

2 participants