01 /
Follow authenticated journeys
Explore SPAs and authenticated pages with Playwright. Review recorded interactions and reuse them for test generation, replay, and dynamic assessment.
DESKTOP v5.0.0 / PLAYWRIGHT / ZAP / VERIFICATION
Turn user journeys into tests and assessments.
Follow authenticated pages and forms in a real browser. Desktop v5.0.0 brings Playwright, ZAP, and source analysis together with MCP access to verification results, human-approved OpenVEX exports, and genetic search.

01 /
Explore SPAs and authenticated pages with Playwright. Review recorded interactions and reuse them for test generation, replay, and dynamic assessment.
02 /
Generate valid, boundary, and invalid values from HTML form constraints, combine them pairwise, and export Playwright specs or YAML.
03 /
Review dynamic and static findings alongside severity, OWASP categories, evidence, and remediation guidance.
01 / FEATURE TOUR
WEB SECURITY HUB / 01
Set a start URL and crawl scope to collect same-origin traffic. Enable ZAP to use its established passive and active scan rules. Run active scans in a staging environment with explicit authorization.
Read the guide on this page ↓
WEB SECURITY HUB / 02
Use saved scenarios to reach forms that ordinary link crawling cannot access. Generate test cases from discovered forms, then replay them and review HTML reports.
Read the guide on this page ↓
WEB SECURITY HUB / 03
Inspect a local source tree for command execution, SQL string concatenation, and possible secrets, then review the evidence. Optional Claude Code review runs only when you authorize sending the displayed findings.
Read the guide on this page ↓
WEB SECURITY HUB / PRACTICAL GUIDE
Start with the included fixtures to learn the controls and read the results, then move to your own login flow, forms, and source. The dedicated sample covers boundaries, ownership, and skipped confirmation steps discussed in the TIP article.
Background: Playwright × ZAP × source analysis (TIP, Japanese) ↗DESKTOP v5.0.0 / NEW CAPABILITIES
Let an MCP assistant read results, run permitted verifications, and prepare OpenVEX drafts. Choose capabilities at startup; a person retains approval.
MCP guide ↗Build a draft from verification evidence, then have a named reviewer decide with a justification. Export only approved drafts as OpenVEX v0.2.0. Zero findings never automatically means not affected.
OpenVEX guide ↗Search a synthetic three-condition fixture using selection, crossover, and mutation. Compare fixed rules, genetic search, and optional LLM assistance under shared trial limits and fixed seeds. Confirm results in an independent session. LLM use is optional and off by default.
Genetic search guide ↗Use variables, shared steps, CSV data sets, branches, loops, uploads, and downloads. Saved authentication sessions and logged locator healing support repeatable journeys.
Use Chromium, Firefox, WebKit, and device emulation. iOS/Android use a separate Appium and WebdriverIO pipeline and require Xcode or Android SDK plus a simulator, emulator, or device.
Check natural-language expectations against a text-only page snapshot. Enable it explicitly per site; page text may be sent to the configured AI service. Ordinary test-value generation remains rule based.
01 / SET UP
Download the macOS Apple Silicon DMG or Windows x64 installer from GitHub Releases. Node.js is included. Install the required browser from the first-run screen, then open the app.
Download the app ↗The macOS app is Developer ID signed and Apple notarized. The Windows installer is unsigned. Intel Mac and Linux users can run the source edition.
Install Node.js 24 or later and npm, run the following, then open http://localhost:4173.
git clone https://github.com/masahiroid/web-security-hub.git
cd web-security-hub
npm install
npx playwright install chromium
npm startSample verification needs no external target, real credentials, AI model, or ZAP setup. Initial browser and optional tool downloads need internet access.
02 / BASELINE → CHANGED → FIXED
Open Sample verification in the left navigation. It uses an included fixture, independent of the site selected in site management. Select all checks, then change only the fixture mode and run each assessment.
| Mode | Candidates / reproduced | What to review |
|---|---|---|
| Baseline | 22 / 0 | With the default settings, no violations are reproduced. |
| Changed | 22 / 4 | Reproduce four known fixture violations; select each row to inspect its evidence. |
| Fixed | 22 / 0 | Repeat with the same settings and confirm the reproduced count returns to zero. |
Defaults cover 22 candidates and 44 trials including normal controls. Changing candidate, trial, or time limits changes the counts.

Check participant limits, text length, normalization, and missing fields.
Compare access to the same fictional record as its owner, another user, an administrator, and an anonymous user.
Compare a valid confirmed operation with an attempt to skip confirmation.
Select a result row to inspect the trial ID, authentication profile, reached state, and source digest. Compare the normal control with the candidate and review server evidence and actual changes alongside HTTP responses. Open the HTML report to review the results in either language.
HTTP 200 alone does not establish a vulnerability. “No issue observed in scope” describes the tested conditions. The tool does not automatically finalize formal VEX affected / not_affected decisions.
npm run verifier:run -- --mode baseline
npm run verifier:run -- --mode changed
npm run verifier:run -- --mode fixed03 / FORM REGRESSION
Next, use the fictional workshop application. This is separate from Sample verification: it covers site registration, login, scenarios, generated tests, and visual comparisons. In the desktop Home screen, start the hands-on environment. With the source edition, run the following in another terminal and leave the sample server running.
npm run training:setup
npm run training:start http://127.0.0.1:4180/en/login — Sign in with learner@example.test / training-only and inspect the form accepting 1–5 participants.
Select training-en in Hub. Review login settings and the saved scenario in site management. The scenario should reach the application form; do not submit the form while recording it.
{
"steps": [
{
"action": "goto",
"url": "http://127.0.0.1:4180/en/apply"
}
]
}Run the test-generation pipeline. Then open Replay → Case editor, keep just the first row, set name=Demo Learner, contact=learner@example.test, participants=5, and save/regenerate.
Record a baseline in the baseline mode. Switch to the changed mode, which lowers the limit to three, and replay the comparison: the five-person case no longer reaches the completion page. Switch to fixed and confirm the same session returns to PASS.

Recording a new baseline after finding a difference makes the changed version the new reference. Keep the original baseline while investigating the change.
npm run training:mode -- baseline
npm run training:mode -- changed
npm run training:mode -- fixedThe desktop Home screen provides buttons for these mode changes.
04 / DYNAMIC ASSESSMENT & ZAP
Open Dynamic assessment for the workshop sample. Review the start URL, use of the saved scenario, and authorization. Start with one page and ZAP/active checks off. Compare changed and fixed modes to see changes in CSP and MIME-sniffing protection findings.
For regular dynamic assessment and replay, configure a running ZAP API and proxy. Its existing rules assess traffic reached through Playwright. Active scanning sends additional requests and requires explicit authorization and scope.
The source workspace’s ZAP environment tab can install a dedicated ZAP and Java runtime. Each verification owns a fresh session for passive evidence. This path does not run active scans or a spider.
First check whether findings match the headers you changed and disappear after fixing them. Review remaining findings and incomplete execution, rather than using a zero count as the only goal.
05 / SOURCE → REQUEST → EVIDENCE
Select a local source folder. The training/sast/routes fixtures illustrate unique, ambiguous, and unsupported mappings. A unique candidate is a bounded file-local Express route mapping, not proof of execution.
Run the dedicated source sample. Expected statuses are 200 for the normal control and 422 for the candidate; both assessments remain under investigation. Detecting an unused TLS setting does not show it was applied to traffic.
Current source verification targets uniquely mapped literal GET/POST JSON APIs on numeric loopback HTTP origins with an explicit port. Start your app separately, select the source, finding, and origin, define normal/candidate JSON and the expected normal response, then authorize dispatch. If the normal control fails, the candidate is not sent.

Source verification remains under investigation. It does not establish that the running process loaded the analyzed bytes or executed the finding. Passive alerts are separate evidence, not confirmation of a SAST finding.
02 / FROM INPUT TO ACTION
Prepare authentication and a scenario describing how to reach the pages and forms you want to review.
Reuse that scenario for form test generation and dynamic assessment with Playwright and ZAP.
Review HTML reports and generated specs, address findings, and reuse the saved scenario for regression tests.
03 / COVERAGE
Playwright handles authenticated exploration and scenario replay. ZAP applies its existing scan rules to collected traffic.
Use owned or authorized environments. Form tests and active scans send requests; start with a small staging scope.
04 / GET STARTED
Choose the macOS/Windows desktop app or the source edition with Node.js 24 or later. Follow the setup section in the guide above.
Compare baseline, changed, and fixed modes in Sample verification. Select result rows to inspect controls and trial evidence.
Prepare login settings and a scenario for an authorized target. Apply form regression tests, dynamic assessment, and source analysis as needed.
START WITH YOUR PROJECT
Web Security Hub
The application and source analysis run locally. Browser exploration communicates with the target; ZAP integration routes traffic through a local proxy. Optional AI review sends authorized SAST findings; opt-in AI assertions may send page text to the configured AI service. Desktop genetic search uses local models only; remote CLI use requires explicit permission, an API key, and a cost ceiling.
EXPLORE THE APPS / TIP
Choose an app to explore its features and how to use it.

Assess SBOM vulnerabilities and license policy with evidence.
Explore the app
Turn browser journeys into web assessments and regression tests.
Explore the app
Check model distribution files and conversion consistency.
Explore the app