🔍
Quality

Cross-Site Scripting Detection

by utkusen

Cross-Site Scripting Detection is a Quality skill for Claude Code, published by utkusen in sast-skills.

1.3K stars61 forkson utkusen/sast-skillsAdded 2026/07/20Repository updated 2026/04/08
ai-securityclaudeclaude-codesast
Install in seconds
Install Cross-Site Scripting Detection
Copy Cross-Site Scripting Detection into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/utkusen/sast-skills/tree/main/sast-files/.agents/skills/sast-xss ~/.claude/skills/sast-xss

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/utkusen/sast-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
sast-files/.agents/skills/sast-xss/SKILL.md in utkusen/sast-skills
Installs to
~/.claude/skills/sast-xss
Collection
One of 17 skills cataloged from this repository
Category
Quality1897 skills

What Cross-Site Scripting Detection does

Detect Cross-Site Scripting vulnerabilities in codebases via a three-phase SAST approach: recon, batched verification with subagents, and merge. Use when analyzing web application source code for XSS bugs.

Cross-Site Scripting Detection is cataloged under Quality on DirSkills. Cross-Site Scripting Detection comes from a repository tagged ai-security, claude, claude-code and sast.

Documentation

README

Cross-Site Scripting (XSS) Detection

You are performing a focused security assessment to find Cross-Site Scripting vulnerabilities in a codebase. This skill uses a three-phase approach with subagents: recon (find sink sites), batched verify (trace taint for parallel batches of up to 3 sinks each), and merge (consolidate batch results into one report).

Prerequisites: sast/architecture.md must exist. Run the analysis skill first if it doesn't.


What is XSS

XSS occurs when user-supplied input is incorporated into a web page's HTML, JavaScript, or DOM without proper escaping or sanitization. This allows attackers to inject and execute arbitrary scripts in victims' browsers, leading to session hijacking, credential theft, defacement, and malware distribution.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Cross-Site Scripting Detection

  • What else does utkusen publish alongside Cross-Site Scripting Detection?

    Cross-Site Scripting Detection is one of 17 skills that DirSkills catalogs from utkusen/sast-skills, the repository it ships in. Its siblings there include Business Logic Vulnerability Detection, GraphQL Injection Detection and Hardcoded Secrets. Each one is a separate skill with its own page in this directory, installs the same way Cross-Site Scripting Detection does, and is maintained by utkusen in that same repository. The rest of the collection is listed on the utkusen/sast-skills page.

  • How does Cross-Site Scripting Detection compare to other Quality skills?

    Cross-Site Scripting Detection ranks #711 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Cross-Site Scripting Detection against them. Open each page to compare what they document and how they install.

More from utkusen/sast-skills

Cross-Site Scripting Detection is one of 17 skills cataloged on DirSkills from utkusen/sast-skills.

See all 17 skills
🔍
2026/07/20

Business Logic Vulnerability Detection

Detects business logic vulnerabilities in codebases using a three-phase approach combining threat modeling, parallel verification of attack scenarios, and result merging. Use when finding logic flaws, workflow bypasses, or abuse-of-function bugs.
Quality
1.3K61
🔍
2026/07/20

GraphQL Injection Detection

Detect GraphQL injection vulnerabilities by tracing user input to unsafe operation document assembly sites. Use for security audits and code reviews of GraphQL APIs.
Quality
1.3K61
🔑
2026/07/20

Hardcoded Secrets

Detects hardcoded sensitive data (API keys, tokens, passwords) in publicly accessible code like frontend JavaScript, mobile apps, and HTML templates. Uses recon, verify, and merge phases. Requires architecture analysis first.
Quality
1.3K61
🔒
2026/07/14

IDOR Detection

Detect IDOR vulnerabilities by identifying endpoints lacking ownership checks, using automated recon, parallel batch verification, and merge. Ideal for code security audits targeting authorization bypass.
Quality
1.3K61
🛡️
2026/07/20

Insecure File Upload Detection

Detect insecure file upload vulnerabilities in a codebase using a three-phase approach: discovery, batched verify, and merge. Use when asked to find file upload, unrestricted upload, or extension bypass bugs.
Quality
1.3K61
🔐
2026/07/20

JWT Vulnerability Detection

Analyzes codebases for insecure JWT implementations: maps token lifecycle, then checks verification sites for algorithm confusion, missing signature verification, weak secrets, header injection, and missing claim validation.
Quality
1.3K61