hunt-xss
Fungsinya
Skill ini menguji apakah input pengguna ditampilkan di halaman tanpa encoding yang benar, sehingga skrip bisa berjalan di browser pengunjung. Skill ini untuk pengujian resmi kolom pencarian, komentar, dan profil.
Kapan dipakai
- βSaat kolom pencarian atau komentar memantulkan input Anda kembali ke halaman.
- βSaat input muncul di dalam tautan, atribut, atau konteks skrip.
- βKetika Anda ingin memastikan apakah skrip bisa berjalan di halaman yang dilihat pengguna lain.
Link skill
https://github.com/elementalsouls/Claude-BugHunter/blob/main/skills/hunt-xss/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βKotak komentar kami memantulkan teks kembali ke halaman. Bisakah Anda memeriksa cross-site scripting dalam pengujian resmi kami?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memasukkan penanda uji yang unik dan memeriksa apakah halaman mengembalikannya dengan tanda kurung yang tidak di-escape. Lalu agent mencoba konteks halaman yang berbeda dan memastikan skrip hanya berjalan dalam bukti yang aman.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Autonomous Testing Priority
Verify reflection before claiming XSS β encoding is everything.
Your payload must appear in the response body with angle brackets UNESCAPED. <script> is XSS. <script> is safe encoding β not vulnerable.
Use a UNIQUE NUMERIC CANARY in your proof payload β e.g. <script>alert(91234)</script> or "><img src=x onerror=alert(91234)>. Pick a distinctive 4+ digit number, not alert(1). Practice pages are full of example payloads like alert(1)/alert('XSS') in their hint text; a unique number is how you tell YOUR reflected payload apart from the page's decoy examples. Proof = your alert(<canary>) shows up in the response with raw, unescaped angle brackets.
Try these contexts in order:
Inline script injection (works when HTML context allows new tags):
<script>alert(CANARY)</script>Use whatever canary string your proof contract specifies. Confirmed when
<script>alert(CANARY)appears literally (not HTML-encoded) in the response.Attribute event injection (when
<is filtered but attributes are injectable):" onmouseover="alert(CANARY) " onerror="alert(CANARY) " onload="alert(CANARY)URL/href context:
javascript:alert(CANARY)
Distinguishing success from failure:
- Vulnerable: response contains
<script>alert(unescaped β browser would execute it - Filtered/safe: response contains
<script>or<script>β properly encoded - Blocked: response is an error, or the reflected value is absent entirely
For stored XSS: inject into a field that other pages display (comments, usernames, ticket titles). Then fetch the rendering page and check for unescaped payload. The payload executes when any user views that page β higher severity than reflected.
Crown Jewel Targets
XSS is high-value when it combines privileged context + persistent delivery + scope escalation. The highest payouts come from:
- Admin panels and authenticated dashboards (e.g.,
*/admin,*/settings) β attacker can hijack sessions with elevated privileges, exfiltrate tokens, or pivot to account takeover - Payment/financial flows (
paypal.com, checkout pages, currency converters) β XSS here enables credential harvesting and financial fraud at scale - Stored XSS in collaborative features (wikis, markdown renderers, issue trackers, RDoc, labels, tags) β one payload infects every viewer, multiplying impact
- SSO/signin pages (e.g.,
paypal.com/signin) β XSS here is critical because it can steal auth tokens across the entire platform - Shared SaaS tenant surfaces (
*.myshopify.com,api.collabs.*) β XSS in one tenant's context can bleed across tenant boundaries - Help/documentation sites (
help.shopify.com) β lower severity individually, but often have looser sanitization and trusted user perception - SVG/file upload endpoints β frequently bypasses CSP and sanitization simultaneously
Asset types that pay most: Main product domains > Admin subdomains > API endpoints > Marketing/help sites
OOB-Or-It-Didn't-Happen Gate (Blind / Stored XSS)
For blind and stored XSS β claims require an out-of-band confirmation, the same as blind SSRF. The OOB receiver fires when the payload actually executes in a browser somewhere (an admin reviewing logs, a SOC analyst opening a ticket, an email rendering a stored payload).
What is NOT confirmation
- ASP.NET request validator rejected your
<and returned a different status code β not XSS, that's WAF noise. - Your payload appears in the response body URL-encoded or HTML-encoded β not XSS, that's correct output encoding.
- The form action attribute contains your payload string as
%22onclick%3Dβ¦β not XSS, the browser does NOT decode URL encoding inside HTML attribute values; the%22stays as literal%22in the DOM. - Your
<script>tag appears in the response as<script>β not XSS, that's escaping.
What IS confirmation
- A request to your unique Collaborator subdomain (e.g.,
bxss-err-<random>.<collab>.oastify.com) arrives in the OOB listener after your payload was stored / reflected / queued. - For stored XSS: the request arrives hours or days later when an admin views the affected resource. Plant payloads early in the engagement and keep the listener open.
- The User-Agent of the firing request is a browser (Mozilla/Chrome), not the server's own backend HTTP clie
Pertanyaan umum
Apa bedanya XSS asli dengan teks aman?
Teks aman dikembalikan dalam bentuk ter-encode, dengan tanda kurung ditampilkan sebagai entitas. Teks yang tidak aman dikembalikan sebagai tanda kurung mentah.
Mengapa memakai angka unik?
Menurut skill ini, angka yang berbeda membedakan uji Anda dari contoh payload yang sudah ada di halaman.
Kapan HTML injection dibahas?
Menurut skill ini, markup yang tidak menjalankan skrip dicakup oleh skill HTML injection yang terpisah.
Detail
Deskripsi asli dari pembuat
Hunting skill for xss vulnerabilities. Built from 174 public bug bounty reports. Use when hunting xss on any target. For markup injection that reflects raw HTML but does NOT execute JavaScript (no `<script>`/event-handler execution), see hunt-html-injection β escalate here once script execution is possible.
Popularitas
- Bintang GitHub
- 5.4k
- Peringkat
- #14940
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
apk-redteam-pipeline
5.4kMembantu agent Anda menguji aplikasi Android untuk kelemahan keamanan, mulai dari mencari file APK dan melakukan dekompilasi hingga memeriksa rahasia yang terekspos.
bugcrowd-reporting
5.4kMembantu agent Anda menulis laporan kerentanan Bugcrowd yang lebih baik, dengan memilih kategori yang tepat dan menjawab keberatan out-of-scope.
cloud-iam-deep
5.4kMembantu agent Anda memeriksa apa yang bisa diakses oleh kredensial cloud yang ditemukan di AWS, Azure, atau Google Cloud, selama pengujian keamanan yang sudah diizinkan.
enterprise-vpn-attack
5.4kMembantu agent Anda memeriksa perangkat VPN dan akses jarak jauh dari Cisco, Fortinet, Citrix, dan lainnya untuk kelemahan yang diketahui selama pengujian yang sudah diizinkan.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.