XSS Scanner

Detect cross-site scripting vulnerabilities in your frontend code before they ship.

modbender 48cdbc6 7 files · 52.0 KB Updated 12 repo stars

File contents

XSS Scanner

Detect cross-site scripting vulnerabilities in your frontend code before they ship.

Quick Start

npx ai-xss-check

What It Does

  • Scans JavaScript/TypeScript for XSS vulnerabilities
  • Detects unsafe innerHTML, eval, and DOM manipulation
  • Identifies unescaped user input in templates
  • Checks React dangerouslySetInnerHTML usage
  • Provides fix suggestions for each finding

Usage

# Scan current directory
npx ai-xss-check

# Scan specific files
npx ai-xss-check ./src/components

When to Use

  • Before security audits
  • Reviewing third-party code
  • Setting up CI security gates
  • Training junior devs on XSS prevention

Part of the LXGIC Dev Toolkit

One of 110+ free developer tools from LXGIC Studios. No paywalls, no sign-ups.

Find more:

License

MIT. Free forever.

modbender/skill-library-mcp/tree/main/data/xss-scanner commit 48cdbc65ee

Frequently asked questions

npx skillmds add modbender/xss-scanner