[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMZHARGPBRMQDRKGR668FJ":3,"skill-same:01M7EMZHARGPBRMQDRKGR668FJ":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7EMZHARGPBRMQDRKGR668FJ","infinity",null,"Enforces a strict input boundary protocol (detect, classify, filter, verify) to ensure untrusted data never reaches business logic raw.","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-安全渗透\u002Finfinity\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: infinity\ndescription: \"Enforces a strict input boundary protocol (detect, classify, filter, verify) to ensure untrusted data never reaches business logic raw.\"\nrisk: safe\nsource: community\ndate_added: \"2026-06-23\"\n---\n\n# infinity — Input Boundary & Validation Protocol\n\n## Core Philosophy\n\n> Nothing untrusted ever reaches the core — it is stopped before contact. No external data touches the codebase raw. Every boundary where data enters the system must have a filter.\n\nThe #1 source of silent bugs, crashes, and vulnerabilities is external data that arrives in an unexpected shape and gets used directly without checking. This skill enforces a filter layer at every entry point, every time.\n\n---\n\n## When to Use This Skill\n\n- Use when you need to handle an API response\n- Use when reading user input or adding a form handler\n- Use when working with environment variables or CLI arguments\n- Use when parsing webhooks or reading from the filesystem\n- Use when any code calls `.body`, `.params`, `.query`, `.env`, `fs.read`, or a third-party SDK response\n\n---\n\n## The Four Phases\n\n### PHASE 1 — Boundary Detection\n\nBefore writing or modifying any code that involves external data, the AI must identify and list every entry point in scope:\n\n- HTTP request bodies, headers, query params\n- User form inputs and UI-submitted data\n- Environment variables and config files\n- Third-party API responses\n- Webhook payloads\n- File reads from disk\n- CLI arguments\n- Database query results from external sources\n- WebSocket messages\n\n> **The AI must not write any data-handling logic until every entry point in scope is listed.**\n\n---\n\n### PHASE 2 — Classify Each Input\n\nFor every entry point identified, the AI classifies it into one of three trust levels:\n\n| Level | Definition | Examples |\n|---|---|---|\n| `TRUSTED` | Internal constants, hardcoded values, your own compile-time config | Enum values, hardcoded defaults, internal constants |\n| `SEMI-TRUSTED` | Your own internal services, internal APIs, controlled infrastructure | Internal microservice responses, your own database reads |\n| `UNTRUSTED` | Anything from users, the internet, third parties, or the filesystem | User input, external API responses, uploaded files, env vars, CLI args |\n\n> **Rule:** `TRUSTED` inputs may be used directly. `SEMI-TRUSTED` and `UNTRUSTED` inputs must pass through a filter layer before any use.\n\nThe AI outputs this classification before writing any handling code:\n\n```\nINFINITY — BOUNDARY MAP\n─────────────────────────────────────────\nEntry Point              | Trust Level  | Filter Required\n─────────────────────────────────────────\nreq.body.email           | UNTRUSTED    | ✓ format + sanitize\nprocess.env.API_KEY      | UNTRUSTED    | ✓ presence + non-empty\ninternalService.getData()| SEMI-TRUSTED | ✓ schema validate\nPAGINATION_LIMIT = 20    | TRUSTED      | ✗ none needed\n─────────────────────────────────────────\n```\n\n---\n\n### PHASE 3 — Mandatory Filter Layer\n\nEvery `UNTRUSTED` and `SEMI-TRUSTED` input must pass through validation before it reaches any business logic, storage, or rendering. The AI must apply the right filter type for the right context:\n\n**Type Checking**\n- Verify the input is the expected type before using it\n- Never assume a string is a string, a number is a number, or an array is an array\n\n**Schema Validation**\n- For objects and API responses, validate shape before accessing nested fields\n- If a required field is missing, reject — do not use a fallback that hides the problem\n\n**Sanitization**\n- Strip or escape content before rendering to UI (prevent XSS)\n- Normalize strings before storage (trim whitespace, consistent casing where appropriate)\n\n**Presence & Format Checks**\n- Env vars: must exist and be non-empty before use\n- IDs and tokens: must match expected format before use\n\n**Rejection Rule**\n- On invalid input: reject explicitly and return a clear error\n- Never silently use bad data with a fallback\n- Never let bad data pass through to fix itself \"downstream\"\n\n```\n\u002F\u002F WRONG — using raw input directly\nconst user = await db.find(req.params.id);\n\n\u002F\u002F RIGHT — validate before use\nconst id = req.params.id;\nif (!id || typeof id !== 'string' || !isValidUUID(id)) {\n  return res.status(400).json({ error: 'Invalid ID format' });\n}\nconst user = await db.find(id);\n```\n\n---\n\n### PHASE 4 — Self-Check Before Done\n\nBefore the AI declares any data-handling code complete, it traces each entry point and confirms:\n\n```\nINFINITY — VERIFICATION\n─────────────────────────────────────────\nEntry Point              | Filter Exists | Filter Type\n─────────────────────────────────────────\nreq.body.email           | ✓ YES         | format + sanitize\nprocess.env.API_KEY      | ✓ YES         | presence check\ninternalService.getData()| ✓ YES         | schema validation\n─────────────────────────────────────────\nUnfiltered inputs reaching logic: NONE ✓\n─────────────────────────────────────────\n```\n\nIf any `UNTRUSTED` or `SEMI-TRUSTED` input reaches logic, storage, or rendering without a filter — the AI flags it. It does not silently pass.\n\n---\n\n## Hard Rules (Never Violated)\n\n- **No raw external data in business logic.** Ever.\n- **No silent fallbacks on bad input.** Reject explicitly.\n- **No assuming shape.** Even if the API \"always\" returns a string — validate it.\n- **No skipping env var checks.** Missing env vars must fail loudly at startup, not silently at runtime.\n- **No partial filtering.** If you validate presence but not format, it is not filtered.\n- **No filtering in the wrong place.** Filters go at the entry point — not somewhere downstream after the data has already been used once.\n\n---\n\n## What This Skill Prevents\n\n- SQL injection via unvalidated query params\n- Crashes from unexpected API response shapes\n- XSS from unescaped user content rendered to UI\n- Silent failures from missing env variables discovered at runtime\n- Type errors from assuming external data matches expected shape\n- Security vulnerabilities from untrusted data reaching sensitive operations\n\n---\n\n## Quick Reference\n\n| Phase | Action | Writes Code? |\n|---|---|---|\n| 1 — Detect | List all entry points in scope | ❌ No |\n| 2 — Classify | Assign trust level to each input | ❌ No |\n| 3 — Filter | Write filter layer for all UNTRUSTED + SEMI-TRUSTED | ✅ Yes |\n| 4 — Verify | Trace each input, confirm filter exists | ❌ No |\n\n---\n\n## Limitations\n\n- Does not apply to purely internal logic with no external data involvement.\n- May add verbosity to trivial scripts where strict validation is not required.\n","# infinity — Input Boundary & Validation Protocol\n\n## Core Philosophy\n\n> Nothing untrusted ever reaches the core — it is stopped before contact. No external data touches the codebase raw. Every boundary where data enters the system must have a filter.\n\nThe #1 source of silent bugs, crashes, and vulnerabilities is external data that arrives in an unexpected shape and gets used directly without checking. This skill enforces a filter layer at every entry point, every time.\n\n---\n\n## When to Use This Skill\n\n- Use when you need to handle an API response\n- Use when reading user input or adding a form handler\n- Use when working with environment variables or CLI arguments\n- Use when parsing webhooks or reading from the filesystem\n- Use when any code calls `.body`, `.params`, `.query`, `.env`, `fs.read`, or a third-party SDK response\n\n---\n\n## The Four Phases\n\n### PHASE 1 — Boundary Detection\n\nBefore writing or modifying any code that involves external data, the AI must identify and list every entry point in scope:\n\n- HTTP request bodies, headers, query params\n- User form inputs and UI-submitted data\n- Environment variables and config files\n- Third-party API responses\n- Webhook payloads\n- File reads from disk\n- CLI arguments\n- Database query results from external sources\n- WebSocket messages\n\n> **The AI must not write any data-handling logic until every entry point in scope is listed.**\n\n---\n\n### PHASE 2 — Classify Each Input\n\nFor every entry point identified, the AI classifies it into one of three trust levels:\n\n| Level | Definition | Examples |\n|---|---|---|\n| `TRUSTED` | Internal constants, hardcoded values, your own compile-time config | Enum values, hardcoded defaults, internal constants |\n| `SEMI-TRUSTED` | Your own internal services, internal APIs, controlled infrastructure | Internal microservice responses, your own database reads |\n| `UNTRUSTED` | Anything from users, the internet, third parties, or the filesystem | User input, external API responses, uploaded files, env vars, CLI args |\n\n> **Rule:** `TRUSTED` inputs may be used directly. `SEMI-TRUSTED` and `UNTRUSTED` inputs must pass through a filter layer before any use.\n\nThe AI outputs this classification before writing any handling code:\n\n```\nINFINITY — BOUNDARY MAP\n─────────────────────────────────────────\nEntry Point              | Trust Level  | Filter Required\n─────────────────────────────────────────\nreq.body.email           | UNTRUSTED    | ✓ format + sanitize\nprocess.env.API_KEY      | UNTRUSTED    | ✓ presence + non-empty\ninternalService.getData()| SEMI-TRUSTED | ✓ schema validate\nPAGINATION_LIMIT = 20    | TRUSTED      | ✗ none needed\n─────────────────────────────────────────\n```\n\n---\n\n### PHASE 3 — Mandatory Filter Layer\n\nEvery `UNTRUSTED` and `SEMI-TRUSTED` input must pass through validation before it reaches any business logic, storage, or rendering. The AI must apply the right filter type for the right context:\n\n**Type Checking**\n- Verify the input is the expected type before using it\n- Never assume a string is a string, a number is a number, or an array is an array\n\n**Schema Validation**\n- For objects and API responses, validate shape before accessing nested fields\n- If a required field is missing, reject — do not use a fallback that hides the problem\n\n**Sanitization**\n- Strip or escape content before rendering to UI (prevent XSS)\n- Normalize strings before storage (trim whitespace, consistent casing where appropriate)\n\n**Presence & Format Checks**\n- Env vars: must exist and be non-empty before use\n- IDs and tokens: must match expected format before use\n\n**Rejection Rule**\n- On invalid input: reject explicitly and return a clear error\n- Never silently use bad data with a fallback\n- Never let bad data pass through to fix itself \"downstream\"\n\n```\n\u002F\u002F WRONG — using raw input directly\nconst user = await db.find(req.params.id);\n\n\u002F\u002F RIGHT — validate before use\nconst id = req.params.id;\nif (!id || typeof id !== 'string' || !isValidUUID(id)) {\n  return res.status(400).json({ error: 'Invalid ID format' });\n}\nconst user = await db.find(id);\n```\n\n---\n\n### PHASE 4 — Self-Check Before Done\n\nBefore the AI declares any data-handling code complete, it traces each entry point and confirms:\n\n```\nINFINITY — VERIFICATION\n─────────────────────────────────────────\nEntry Point              | Filter Exists | Filter Type\n─────────────────────────────────────────\nreq.body.email           | ✓ YES         | format + sanitize\nprocess.env.API_KEY      | ✓ YES         | presence check\ninternalService.getData()| ✓ YES         | schema validation\n─────────────────────────────────────────\nUnfiltered inputs reaching logic: NONE ✓\n─────────────────────────────────────────\n```\n\nIf any `UNTRUSTED` or `SEMI-TRUSTED` input reaches logic, storage, or rendering without a filter — the AI flags it. It does not silently pass.\n\n---\n\n## Hard Rules (Never Violated)\n\n- **No raw external data in business logic.** Ever.\n- **No silent fallbacks on bad input.** Reject explicitly.\n- **No assuming shape.** Even if the API \"always\" returns a string — validate it.\n- **No skipping env var checks.** Missing env vars must fail loudly at startup, not silently at runtime.\n- **No partial filtering.** If you validate presence but not format, it is not filtered.\n- **No filtering in the wrong place.** Filters go at the entry point — not somewhere downstream after the data has already been used once.\n\n---\n\n## What This Skill Prevents\n\n- SQL injection via unvalidated query params\n- Crashes from unexpected API response shapes\n- XSS from unescaped user content rendered to UI\n- Silent failures from missing env variables discovered at runtime\n- Type errors from assuming external data matches expected shape\n- Security vulnerabilities from untrusted data reaching sensitive operations\n\n---\n\n## Quick Reference\n\n| Phase | Action | Writes Code? |\n|---|---|---|\n| 1 — Detect | List all entry points in scope | ❌ No |\n| 2 — Classify | Assign trust level to each input | ❌ No |\n| 3 — Filter | Write filter layer for all UNTRUSTED + SEMI-TRUSTED | ✅ Yes |\n| 4 — Verify | Trace each input, confirm filter exists | ❌ No |\n\n---\n\n## Limitations\n\n- Does not apply to purely internal logic with no external data involvement.\n- May add verbosity to trivial scripts where strict validation is not required.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","community","2026-06-23","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Finfinity",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":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill infinity",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill infinity",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill infinity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Finfinity\u002FSKILL.md",true,[],[50,58,63,70,77,84],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":57},"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":59,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":57},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"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":57},"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":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":57},"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":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":57},"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":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":57},"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",[],[]]