Borrowing it
Nothing to install: this file belongs to fb0sh/pentester. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fb0sh/pentester/main/.agents/skills/pentester-playwright/SKILL.mdgit clone --depth 1 https://github.com/fb0sh/pentesterWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fb0sh/pentester/pentester-playwright)<a href="https://agentmods.dev/skills/fb0sh/pentester/pentester-playwright"><img src="https://agentmods.dev/badge/skills/fb0sh/pentester/pentester-playwright/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fb0sh/pentester/pentester-playwright"><img src="https://agentmods.dev/badge/skills/fb0sh/pentester/pentester-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.02373 |
| Opus 5.5 | $0.00032 | $0.00949 |
| Sonnet 5.5 | $0.00016 | $0.00475 |
| Haiku 4.5 | $0.00008 | $0.00237 |
Grade A, and why
pentester-playwright scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
HTML you get from `curl` is an empty shell. How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pentester-playwright
For AUTHORIZED testing only. Use this skill only inside an engagement whose scope you can point to. Scope is enforced in code (out-of-scope requests are aborted), but the authorization is yours to hold.
Drives a real Chromium through an upstream intercepting proxy (Burp / ZAP / mitmproxy) with a hard-welded scope, and turns SPA reconnaissance into a report-ready JSON catalog + full HAR + screenshots, all landed as engagement Evidence.
When to trigger this skill
- The page is JS-rendered / an SPA (React / Vue / Angular / Svelte) — the
HTML you get from
curlis an empty shell. - You need a real browser — client-side routing, hydration, service workers.
- A multi-step form or auth flow must be driven (login, wizard, cart).
- You must capture XHR / fetch / WebSocket to build an API endpoint catalog.
- You want multi-role (admin / user / anon) captures to compare for authz / IDOR.
When NOT to use (open no browser)
- The response is static HTML and a plain HTTP request answers the question
→ use
curl/ an HTTP client, not a browser. - You already know the API and can query it directly → hit the API, don't drive a browser to click a button that calls it.
- You only need headers / a status code / a redirect chain → HTTP client.
A browser is heavy. Reach for it only when rendering or live traffic is the point.
Run it
cd .agents/skills/pentester-playwright
npm run setup # once: installs playwright + chromium (+ js-yaml)
# 1) Try the public demo (no real scope needed) — proves the wiring:
node scripts/todomvc-example.js # headless
PW_HEADFUL=1 node scripts/todomvc-example.js # watch it drive
# 2) Browser-free logic checks (scope / evidence fail-closed / rate limit / detectors):
npm run selftest
# 3) A real engagement run:
cp config/scope.yaml config/scope.mytarget.yaml # then edit in_scope / proxy / roles
eval "$(node ../../schema/env-render.js --scan-env docker --id $ID --host $SCAN_HOST --export)"
node scripts/recon.js --config config/scope.mytarget.yaml --url "$URL" --roles admin,user,anon
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- config/scope.yaml 5.1 KB
- lib/audit.js 2.2 KB runs code
- lib/auth.js 6.2 KB runs code
- lib/browser.js 9.0 KB runs code
- lib/config.js 8.0 KB runs code
- lib/evidence.js 3.6 KB runs code
- lib/locators.js 6.9 KB runs code
- lib/network.js 7.3 KB runs code
- lib/ratelimit.js 3.6 KB runs code
- lib/route-recon.js 6.8 KB runs code
- lib/safety.js 3.4 KB runs code
- lib/scope.js 6.3 KB runs code
- package-lock.json 2.7 KB
- package.json 737 B
- scripts/poc.js 2.9 KB runs code
- scripts/recon.js 14 KB runs code
- scripts/selftest.js 6.5 KB runs code
- scripts/todomvc-example.js 4.3 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 171 lines · 81 tokens per session scan A 8d775ddf05d3
pentester-playwright is a skill published in the GitHub repository fb0sh/pentester (24 stars, last pushed 2mo ago), licensed MIT. It adds 81 tokens to every session and 2,373 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
authenticated-session-acquisition
Acquire an authenticated session THROUGH MFA/OTP on an in-scope target and emit a reusable session artifact (Playwright storageState + Bearer) so executors can test the post-auth attack surface. Use when the highest-value authenticated classes (BOLA/IDOR/mass-assignment/injection on the real data APIs) are blocked…
essential-tools
Core pentesting tools and methodology - Burp Suite usage, Playwright automation, binary analysis, testing methodology, and professional reporting standards.
transilience-report-style
Threat Intelligence Report Design System — ReportLab-based PDF generation for A4 reports with Transilience branding, typography, and layout standards.
firewall-review
Evidence-safe firewall ruleset audit reference specification — 22 documented detector patterns (17 vendor-agnostic plus 5 FortiGate-specific), a 15-check semantic catalogue, CIS Fortinet FortiGate Benchmark guidance, a custom customer-policy benchmark, and consolidated network-team Excel profiles including grouped…
pentest-engagement
Run a professional penetration engagement OR a network vulnerability scan from a scope. WEB mode (apex domains / app URLs) — mandatory surface expansion, systematic OWASP attack-class coverage, reversible active exploitation, authoritative validation, Transilience PDF. NETWORK mode (a list of IPs/CIDRs, e.g. 1500…
coordination
Pentest coordination — orchestrates executor and validator agents with context-controlled spawning. Entry point for all engagements.