hassan-algo/open-sesame
μκ°
π 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).
κ°λ° λꡬ츑μ λ μ€ν μ¦κ°
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +5
- in 1 month
- κΈ°λ‘ μμ§ μ€
μλ‘ κ²ΉμΉλ κΈ°κ°μ μμ¦κ°λμ΄λ©° μΌλ³ ν©κ³κ° μλλλ€. μΈ‘μ κ°μ΄ μμΌλ©΄ λΉμ λ‘λλ€. μ€νλ κ΄μ¬λλ₯Ό λνλ΄λ©° νμ§μ 보μ₯νμ§ μμ΅λλ€.
README.md
Originalopen-sesame π
AI penetration-testing skills for Claude β web apps and networks.
Say the magic words, and the target opens up β the authorized way.
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.shbackends. - 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
- Methodology based on the OWASP Web Security Testing Guide & Top 10, the PTES, NIST SP 800-115, and MITRE ATT&CK.
- Built as Claude Agent Skills.
κ΄λ ¨ νλ‘μ νΈ μ΄ν΄λ³΄κΈ°
λΆλ¬μ€λ μ€β¦