sc-xss

Trace user input from sources to unsafe sinks to detect XSS vulnerabilities.

56|5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ersinkoc/security-check --skill sc-xss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-xss
Source: https://github.com/ersinkoc/security-check/tree/main/skills/sc-xss
Command: npx skills add https://github.com/ersinkoc/security-check --skill sc-xss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-Site Scripting vulnerabilities affect web applications across Reflected, Stored, and DOM-based contexts. This Skill identifies unsafe output patterns, helps map sources to sinks, and guides remediation to reduce attack surfaces across modern frontend frameworks.

Core Features & Use Cases

  • Multi-context XSS detection across Reflected, Stored, and DOM-based XSS.
  • Data-flow tracing to connect user inputs from sources to dangerous sinks in templates and client-side code.
  • Remediation guidance including recommended sanitization, CSP considerations, and auto-escaping best practices.
  • Use Case: Security teams can run scans over large codebases to prioritize fixes in templates and frontend logic.

Quick Start

Scan your project to identify Reflected, Stored, and DOM-based XSS across templates and client-side code.

Frequently Asked Questions about sc-xss

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

FAQPage Schema
How do I detect XSS vulnerabilities in frontend template engines?

Find Cross-Site Scripting vulnerabilities by tracing data flows from user input sources to unsafe sinks within frontend template engines. This maps Reflected, Stored, and DOM-based XSS contexts to guide precise remediation and auto-escaping improvements.

What is the difference between Reflected, Stored, and DOM-based XSS detection?

Reflected, Stored, and DOM-based XSS differ by their execution vectors. This Skill detects all three by tracing user inputs to unsafe sinks across server templates and client-side DOM operations, providing context-aware sanitization checks for each.

How do I trace user input to unsafe sinks for DOM-based XSS?

Trace user input to unsafe sinks for DOM-based XSS by mapping client-side data flows from entry points to dangerous DOM operations. This Skill evaluates context-aware sanitization checks to identify unescaped execution paths in frontend logic.

Does this XSS detection work with large codebases and modern frameworks?

XSS detection works with large codebases and modern frontend frameworks by scanning templates and client-side logic. Security teams can run comprehensive scans across frontend-heavy projects to prioritize fixes in common template engines.

What is the best way to remediate XSS and improve Content Security Policy?

Remediate XSS and improve Content Security Policy by applying recommended sanitization, auto-escaping best practices, and targeted CSP improvements. This Skill provides guidance to reduce attack surfaces across modern frontend frameworks after identifying unsafe sinks.