Skip to content
Projects

About

πŸ”“ An AI web-pentest skill for Claude Code. Point it at a site you're authorized to test β€” it maps the attack surface, works through the OWASP WSTG, validates findings, and writes dev + stakeholder reports (PDF).

Developer Tools

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+2
in 15 days
+5
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

open-sesame πŸ”“

AI penetration-testing skills for Claude β€” web apps and networks.

Say the magic words, and the target opens up β€” the authorized way.

License: MIT PRs Welcome Claude Skills Methodology: OWASP WSTG + PTES


open-sesame is a suite of skills that turns Claude into a disciplined penetration tester. Point it at a target you're authorized to assess and it runs the whole engagement β€” maps the attack surface, works methodically through an industry methodology, validates findings with the lightest safe proof, and writes clean reports for both engineers and leadership.

Skill For Methodology
web-pentest A single web application / API OWASP WSTG
net-pentest Networks & infrastructure, incl. Active Directory PTES / NIST SP 800-115

It's built as a set of Markdown instructions and small helper scripts β€” no model fine-tuning, no binaries. You can read every line of what it tells Claude to do.

[!WARNING] Authorized testing only. This skill is for systems you own or have explicit permission to test (your own apps, a signed client engagement, an in-scope bug-bounty target, or a CTF / practice lab). It is designed to refuse unauthorized targets, treat the platform/host a target runs on as out of scope by default, and prefer non-destructive proofs. Using it against systems you don't have permission to test may be illegal. You are responsible for staying within scope and the law.

✨ What it does

  • Authorization-first β€” both skills confirm scope and rules of engagement before any active test, and treat third-party platform/cloud infrastructure as out of scope.
  • Web (web-pentest) β€” full OWASP WSTG coverage: recon, configuration, auth, session, access control (incl. multi-tenant isolation), injection, crypto, business logic, client-side, and API tests; safe RCE validation and reverse shells.
  • Network (net-pentest) β€” PTES-based external and internal testing: host discovery, port/service scanning, enumeration, vuln ID, exploitation, privilege escalation (Linux + Windows), pivoting, and Active Directory attacks (Kerberoasting, BloodHound, NTLM relay, the path to Domain Admin) β€” plus hybrid/cloud identity (Entra ID, AWS), Wi-Fi, and container/Kubernetes testing.
  • Tooling playbooks β€” concrete, safe-usage workflows for Burp, ffuf, nuclei, sqlmap, nmap, masscan, netexec, impacket, responder, BloodHound, and more.
  • Three reports, two audiences β€” a technical findings report, a plain-language stakeholder summary, and a how-to-recreate guide, each rendered to PDF.

πŸš€ Quick start

1. Install the skill

Clone into a location Claude discovers skills from:

# Per project (available inside one repo) β€” installs both skills
git clone https://github.com/hassan-algo/open-sesame.git
cp -r open-sesame/.claude/skills/* .claude/skills/

# Or personal (available in every project)
cp -r open-sesame/.claude/skills/* ~/.claude/skills/

2. Use it

In Claude Code, just describe the work β€” the right skill triggers automatically:

Pentest my web app at https://staging.myapp.example β€” I own it. Start with recon.
Scan my network 10.0.0.0/24 and enumerate Active Directory β€” it's my lab.

web-pentest triggers on things like "find vulns in my web app", "test for IDOR/SQLi", "validate this RCE"; net-pentest on "scan this subnet", "enumerate these hosts", "Kerberoasting / BloodHound", "privilege escalation on this box". Or invoke explicitly with /web-pentest or /net-pentest.

3. Get PDF reports

After a report is drafted in Markdown, render it to a styled PDF:

# each skill ships the same renderer
.claude/skills/web-pentest/scripts/render-report.sh report.md report.pdf

The script converts Markdown β†’ HTML (pandoc, else npx marked) β†’ PDF (headless Chrome/Chromium, else weasyprint, else macOS cupsfilter). Install at least one tool from each stage.

πŸ—‚οΈ How it's organized

.claude/skills/
β”œβ”€β”€ web-pentest/                 # single web application (OWASP WSTG)
β”‚   β”œβ”€β”€ SKILL.md                 #   authorization, workflow, pointers
β”‚   β”œβ”€β”€ references/              #   methodology, tooling, post-exploitation,
β”‚   β”‚                            #   reporting, lab-targets
β”‚   β”œβ”€β”€ assets/report-template.md
β”‚   β”œβ”€β”€ scripts/render-report.sh
β”‚   └── evals/                   #   test cases + benchmarks
└── net-pentest/                 # networks & Active Directory (PTES / NIST)
    β”œβ”€β”€ SKILL.md
    β”œβ”€β”€ references/              #   methodology, active-directory, privesc,
    β”‚                            #   pivoting, password-attacks, cloud-identity,
    β”‚                            #   wireless, containers, tooling, reporting,
    β”‚                            #   lab-targets
    β”œβ”€β”€ assets/report-template.md
    β”œβ”€β”€ scripts/render-report.sh
    └── evals/evals.json         #   trigger/behavior test cases

Supporting folders at the repo root:

  • index.html β€” the project landing page.
  • reports/ β€” generated engagement reports. Keep them local: reports/ is not yet in .gitignore, so add it before committing.

Each skill uses progressive disclosure: SKILL.md is always loaded; the references/ files are pulled in only when a phase needs them, keeping the context lean and the workflow fast.

πŸ§ͺ Validation

web-pentest was built and tuned with Anthropic's skill-creator and validated across two eval iterations β€” methodology, reporting, authorization-gating, RCE/reverse-shell guidance, cross-tenant IDOR, and scope discipline. Summary results live in .claude/skills/web-pentest/evals/benchmarks/.

Beyond the evals, see BENCHMARKS.md for timed, end-to-end engagements, and CASE-STUDY.md for the story behind each one:

Target Skill Objective Active Total (incl. PDFs)
Metasploitable2 (Docker) web-pentest + net-pentest Root β‰ˆ 3 min β‰ˆ 6 min
Samba AD lab net-pentest Domain Admin β‰ˆ 14 min β‰ˆ 17 min
OWASP Juice Shop (Docker) web-pentest Admin + customer data β‰ˆ 2.5 min β‰ˆ 5 min

Dead ends and lab-injected findings are documented, not hidden.

🀝 Contributing

Contributions are very welcome β€” this gets better the more practitioners shape it. Good first contributions:

  • Extend the methodology β€” add or sharpen WSTG test cases in references/methodology.md.
  • Add tooling recipes β€” real-world command workflows in references/tooling.md.
  • Improve reporting β€” templates, severity guidance, or the render-report.sh backends.
  • Add eval cases β€” new prompts in evals/ that catch gaps or regressions.

See CONTRIBUTING.md for how to propose changes. Please keep everything aligned with the skill's core principle: authorized, non-destructive, methodical testing β€” contributions that add offensive capability without that framing won't be merged.

πŸ“œ License

MIT β€” free to use, modify, and share.

πŸ™ Acknowledgements


Built for defenders and authorized testers. Hack responsibly. πŸ”“

Explore related projects

Loading…