TIP
← Initiatives / Security tools

PLAYWRIGHT / ZAP / LOCAL WEB ASSESSMENT

Turn user journeys into tests and assessments.

Follow authenticated pages and forms in a real browser. Bring Playwright exploration and scenarios, ZAP integration, and local source analysis together in one web interface.

  • Playwright + ZAP
  • DAST / SAST
  • Playwright spec / YAML / HTML
Web Security Hub character

Web Security Hub

Web Security Hub dynamic assessment interface with target URL, crawl scope, and ZAP settings
Actual assessment settings from the locally running application, rather than scan results.

01 /

Follow authenticated journeys

Explore SPAs and authenticated pages with Playwright. Review recorded interactions and reuse them for test generation, replay, and dynamic assessment.

02 /

Generate tests from rules

Generate valid, boundary, and invalid values from HTML form constraints, combine them pairwise, and export Playwright specs or YAML.

03 /

Evidence and remediation

Review dynamic and static findings alongside severity, OWASP categories, evidence, and remediation guidance.

01 / FEATURE TOUR

Explore what you can do.

WEB SECURITY HUB / 01

Assess the pages your browser can reach.

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 dynamic assessment settings
Actual settings screen. Start ZAP locally to enable integration.

WEB SECURITY HUB / 02

Turn a journey into repeatable tests.

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 test-case generation screen
Actual test-case generation screen. Value generation uses deterministic rules.

WEB SECURITY HUB / 03

Add a source-level perspective.

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 static analysis screen for selecting a source directory
Actual static analysis settings. Automated findings support human review.

02 / FROM INPUT TO ACTION

A path from inspection to action.

01

Record the user journey

Prepare authentication and a scenario describing how to reach the pages and forms you want to review.

02

Test and assess the same flow

Reuse that scenario for form test generation and dynamic assessment with Playwright and ZAP.

03

Review evidence and improve

Review HTML reports and generated specs, address findings, and reuse the saved scenario for regression tests.

03 / COVERAGE

Know the scope of your assessment.

Browser exploration & proven rules

Playwright handles authenticated exploration and scenario replay. ZAP applies its existing scan rules to collected traffic.

Control target and impact

Use owned or authorized environments. Form tests and active scans send requests; start with a small staging scope.

04 / GET STARTED

Get started in three steps.

01

Clone and install

Install Node.js 22 or later, clone the GitHub repository, and install its dependencies.

git clone https://github.com/masahiroid/web-security-hub.git
cd web-security-hub
npm install
02

Prepare the browser and launch

Install Chromium and start the local application. Open localhost:4173 in your browser.

npx playwright install chromium
npm start
03

Set up the target and scenario

Set an authorized target URL, authentication, and crawl limits. Start with the features you need and follow the guide for optional ZAP setup.

START WITH YOUR PROJECT

Make review part of your everyday work.

Web Security Hub

How data is handled

The application and source analysis run locally. Browser exploration communicates with the target; ZAP integration routes traffic through a local proxy. Optional Claude Code review passes the displayed SAST findings to the reviewer only with explicit authorization.

EXPLORE THE APPS / TIP

Three perspectives on your software.

Choose an app to explore its features and how to use it.