AI Xss Check

XSS Scanner

LXGIC-Studios Updated

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.

LXGIC-Studios/ai-xss-check/tree/main/ commit 6fb41e0d43

Frequently asked questions

npx skillmds@latest add lxgic-studios/ai-xss-check