Agent skill

Scanning For Xss Vulnerabilities

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code.

MITAuto-check passedSecurity

Install Scanning For Xss Vulnerabilities

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill scanning-for-xss-vulnerabilities -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace scanning-for-xss-vulnerabilities --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/scanning-for-xss-vulnerabilities .claude/skills/scanning-for-xss-vulnerabilities && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
scanning-for-xss-vulnerabilities
GitHub stars
2.8k
Token cost
~1.1k tokens
SKILL.md length
503 words
Files
4 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code.

  • Works in 4 steps: Activation: Claude recognizes the user's… → Code Analysis: The plugin analyzes the… → Vulnerability Detection: The plugin… → …
  • Requests to scan for xss vulnerabilities
  • SKILL.md covers Overview, How It Works, When to Use This Skill and Examples, plus 7 more sections
  • Uses the command /xss

What it does

Scanning For Xss Vulnerabilities is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code. it is triggered when the user requests to "scan for xss vulnerabilities", "check for xss", or uses the command "/xss". the skill identifies ref... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts, reference files and assets (for example `assets/README.md`, `references/README.md` and `scripts/README.md`). Compatibility notes: Designed for Claude Code

It sits in Security, covering Web application vulnerabilities. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Requests to scan for xss vulnerabilities
  • Uses the command /xss
  • Appropriate context detected
  • With relevant phrases based on skill purpose

Example prompts

  • “scan for xss vulnerabilities”
  • “check for xss”
  • “/scanning-for-xss-vulnerabilities”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, WebFetch, WebSearch, Grep

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Activation: Claude recognizes the user's intent to scan for XSS vulnerabilities through specific trigger phrases like "scan for XSS" or…
  2. Code Analysis: The plugin analyzes the codebase, identifying potential XSS vulnerabilities across different contexts (HTML, JavaScript…
  3. Vulnerability Detection: The plugin detects reflected, stored, and DOM-based XSS vulnerabilities by injecting various payloads and…
  4. Reporting: The plugin generates a report highlighting identified vulnerabilities, their location in the code, and recommended remediation…

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • WebFetch
    • WebSearch
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Scanning For Xss Vulnerabilities loads about 1.1k tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 98 tokens; SKILL.md has 503 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 503 words, ~1,103 tokens.

Download SKILL.mdSave it as .claude/skills/scanning-for-xss-vulnerabilities/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
scanning-for-xss-vulnerabilities
description
Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code. it is triggered when the user requests to "scan for xss vulnerabilities", "check for xss", or uses the command "/xss". the skill identifies ref... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
allowed-tools
Read, WebFetch, WebSearch, Grep
compatibility
Designed for Claude Code
version
1.24.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
security, scanning-xss

Xss Vulnerability Scanner

Detect reflected, stored, and DOM-based XSS vulnerabilities through context-aware analysis of HTML, JavaScript, CSS, and URL injection points, with WAF bypass testing and CSP evaluation.

Overview

This skill empowers Claude to proactively identify and report XSS vulnerabilities within your codebase. By leveraging advanced detection techniques, including context-aware analysis and WAF bypass testing, this skill ensures your web applications are resilient against common XSS attack vectors. It provides detailed insights into vulnerability types and offers guidance on remediation strategies.

How It Works

  1. Activation: Claude recognizes the user's intent to scan for XSS vulnerabilities through specific trigger phrases like "scan for XSS" or the shortcut "/xss".
  2. Code Analysis: The plugin analyzes the codebase, identifying potential XSS vulnerabilities across different contexts (HTML, JavaScript, CSS, URL).
  3. Vulnerability Detection: The plugin detects reflected, stored, and DOM-based XSS vulnerabilities by injecting various payloads and analyzing the responses.
  4. Reporting: The plugin generates a report highlighting identified vulnerabilities, their location in the code, and recommended remediation steps.

When to Use This Skill

This skill activates when you need to:

  • Perform a security audit of your web application.
  • Review code for potential XSS vulnerabilities.
  • Ensure compliance with security standards.
  • Test the effectiveness of your Content Security Policy (CSP).
  • Identify and mitigate XSS vulnerabilities before deploying to production.

Examples

Example 1: Detecting Reflected XSS

User request: "scan for XSS vulnerabilities in the search functionality"

The skill will:

  1. Analyze the code related to the search functionality.
  2. Identify a reflected XSS vulnerability in how search queries are displayed.
  3. Report the vulnerability, including the affected code snippet and a suggested fix using proper sanitization.
Show full SKILL.md (232 more words)Show less
Example 2: Identifying Stored XSS

User request: "/xss check the comment submission form"

The skill will:

  1. Analyze the comment submission form and its associated backend code.
  2. Detect a stored XSS vulnerability where user comments are saved to the database without sanitization.
  3. Report the vulnerability, highlighting the unsanitized comment storage and suggesting the use of a sanitization library like sanitizeHtml.

Best Practices

  • Sanitization: Always sanitize user input before displaying it on the page. Use appropriate escaping functions for the specific context (HTML, JavaScript, URL).
  • Content Security Policy (CSP): Implement a strong CSP to restrict the sources from which the browser can load resources, mitigating the impact of XSS vulnerabilities.
  • Regular Updates: Keep your web application framework and libraries up to date to patch known XSS vulnerabilities.

Integration

This skill complements other security-focused plugins by providing targeted XSS vulnerability detection. It can be integrated with code review tools to automate security checks and provide developers with immediate feedback on potential XSS issues.

Prerequisites

  • Appropriate file access permissions
  • Required dependencies installed

Instructions

  1. Invoke this skill when the trigger conditions are met
  2. Provide necessary context and parameters
  3. Review the generated output
  4. Apply modifications as needed

Output

The skill produces structured output relevant to the task.

Error Handling

  • Invalid input: Prompts for correction
  • Missing dependencies: Lists required components
  • Permission errors: Suggests remediation steps

Resources

  • Project documentation
  • Related skills and commands

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references, assets) in skills/.curated/scanning-for-xss-vulnerabilities of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • references/README.md
  • scripts/README.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Scanning For Xss Vulnerabilities next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Scanning For Xss Vulnerabilities compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scanning For Xss Vulnerabilities this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Security And Hardeningpenpot/penpot61k6 repos~4.7kAutomated safety check: NotesMPL-2.0
Security Auditoreigent-ai/eigent15k—~1.8kAutomated safety check: NotesApache-2.0
Security Reviewjewbetcha/opentrace11618 repos~3.1kAutomated safety check: NotesMIT
Strix Code Vulnerability Scanusestrix/strix68k—~1.1kAutomated safety check: PassApache-2.0
Code Audit3stoneBrother/code-audit8921 repos~2.7kAutomated safety check: PassNone

Similar skills

  • Hardens code against vulnerabilities. An agent skill from penpot/penpot.

    61k GitHub starsUsed in 6 repos~4.7k tokens
    SecurityAuto-check: notes
  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated yesterday
    SecurityAuto-check: notes
  • Security Review

    jewbetcha/opentrace

    A skill your agent uses when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features.

    116 GitHub starsUsed in 18 repos~3.1k tokens
    SecurityAuto-check: notes
  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    68k GitHub stars~1.1k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    892 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.

    68k GitHub stars~1.5k tokensUpdated today
    SecurityAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Scanning For Xss Vulnerabilities

What does Scanning For Xss Vulnerabilities do?

Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code. Scanning For Xss Vulnerabilities is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute this skill enables AI assistant to automatically scan for xss (cross-site scripting) vulnerabilities in code.

When should I use Scanning For Xss Vulnerabilities?

Scanning For Xss Vulnerabilities fits situations like: requests to scan for xss vulnerabilities; uses the command /xss; appropriate context detected; with relevant phrases based on skill purpose.

How do I install Scanning For Xss Vulnerabilities in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill scanning-for-xss-vulnerabilities -a claude-code`. Or copy the skill folder (skills/.curated/scanning-for-xss-vulnerabilities in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/scanning-for-xss-vulnerabilities in your project. Claude Code loads it when a task matches its description.

How do I install Scanning For Xss Vulnerabilities in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill scanning-for-xss-vulnerabilities -a codex`. Or copy the skill folder (skills/.curated/scanning-for-xss-vulnerabilities in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/scanning-for-xss-vulnerabilities in your project. Codex loads it when a task matches its description.

Can I use Scanning For Xss Vulnerabilities in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill scanning-for-xss-vulnerabilities -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scanning-for-xss-vulnerabilities, .gemini/skills/scanning-for-xss-vulnerabilities, .github/skills/scanning-for-xss-vulnerabilities and .opencode/skills/scanning-for-xss-vulnerabilities in your project.

What does Scanning For Xss Vulnerabilities need to run?

SKILL.md names no scripts, command-line tools or credentials: Scanning For Xss Vulnerabilities is instructions for the agent only. Its frontmatter pre-approves these tools: Read, WebFetch, WebSearch, Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Scanning For Xss Vulnerabilities access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Scanning For Xss Vulnerabilities safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Scanning For Xss Vulnerabilities use?

Scanning For Xss Vulnerabilities is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Scanning For Xss Vulnerabilities use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17 tokens, read only when the agent opens those files.

What are the alternatives to Scanning For Xss Vulnerabilities?

Skills that share tags, products or a category with Scanning For Xss Vulnerabilities: Security And Hardening (penpot/penpot, 61k stars), Security Auditor (eigent-ai/eigent, 15k stars), Security Review (jewbetcha/opentrace, 116 stars) and Strix Code Vulnerability Scan (usestrix/strix, 68k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scanning For Xss Vulnerabilities?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.