playwright-security-runner

Execute XSS and SQL injection payloads against web forms with Playwright.

3|1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/naporin0624/claude-web-audit-plugins --skill playwright-security-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-security-runner
Source: https://github.com/naporin0624/claude-web-audit-plugins/tree/main/skills/playwright-security-runner
Command: npx skills add https://github.com/naporin0624/claude-web-audit-plugins --skill playwright-security-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables dynamic security testing of web forms using Playwright browser automation, sending real payloads to assess vulnerabilities. Execution is gated by explicit user confirmation to prevent unintended actions.

Core Features & Use Cases

  • Dynamic payload testing: Execute XSS, SQLi, and other payload types against real forms.
  • Consent-first workflow: Prompts and safety checks ensure authorization before testing.
  • Evidence-backed reporting: Generates vulnerability findings with evidence and optional screenshots.

Quick Start

  • Dry-run plan (safe): npm run dev -- --url "http://target/login" --dry-run
  • Full test (requires confirmation): npm run dev -- --url "http://target/login" --test xss,sqli

Frequently Asked Questions about playwright-security-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test web forms for security vulnerabilities like XSS and SQL injection?

Dynamic security testing with Playwright executes real payloads against web forms to identify XSS, SQL injection, authentication weaknesses, and other input-based vulnerabilities. This Skill automates payload delivery, requires user confirmation before execution, and generates structured vulnerability reports with severity and evidence.

Can I run a safe dry-run before executing actual security tests on my web application?

Yes, the dry-run mode lets you plan and preview security tests without sending payloads. This allows you to review target forms and input fields before committing to full testing, ensuring you test only intended endpoints.

What does consent-based dynamic testing mean for web security testing?

Consent-based testing requires explicit user confirmation before executing payloads against your application. This safety mechanism prevents accidental or unauthorized security tests and ensures you control when and where testing occurs in development and QA environments.

How do I discover and enumerate all input fields in a web form for security testing?

The Skill automatically discovers forms and enumerates input fields on target pages using Playwright browser automation. It then maps these fields for payload delivery, generating a complete inventory of testable surfaces before execution begins.

What evidence does the security testing report include?

Vulnerability reports include structured findings with severity levels, target forms and fields, optional screenshots as evidence, and bounty estimates. This evidence-backed approach helps you understand and prioritize remediation of discovered vulnerabilities.

Does this tool work with authentication-protected web forms?

Yes, the Skill can test authentication weaknesses and secured forms by executing payloads through Playwright's browser automation. You can test protected endpoints in development and QA environments where you control access credentials.