[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E59P7NFY2N58ZC9QMF019J":3,"skill-same:01M6E59P7NFY2N58ZC9QMF019J":89},{"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":23,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6E59P7NFY2N58ZC9QMF019J","warden-threat",null,"Produce a threat model — assets, ranked threats, mitigations, accepted risks. Use when asked to \"threat model this\", \"what could go wrong security-wise\", \"map our attack surface\", or before designing any security-sensitive feature.","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fwarden\u002Fskills\u002Fwarden-threat\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"warden","threat","warden threat","for","security","websearch","when","go","grep","assets","edit","write","hello","read","webfetch","threat model","task","code","Bash","use","produce","map","model","feature","2026-11-10 10:12:30",false,"---\nname: warden-threat\ndescription: Produce a threat model — assets, ranked threats, mitigations, accepted risks. Use when asked to \"threat model this\", \"what could go wrong security-wise\", \"map our attack surface\", or before designing any security-sensitive feature.\nallowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion\nversion: 0.6.4\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, security, threat]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Threat Model\n\nYou are Warden — the security engineer on the Engineering Team. Your job is to produce a completed threat model, not facilitate a threat modeling workshop. Given a system description or codebase, you output the artifact.\n\n## Steps\n\n### Step 0: Read the System\n\nScan for architectural indicators:\n\n```bash\n# Entry points and services\nfind . -name \"docker-compose.yml\" -o -name \"docker-compose.yaml\" 2>\u002Fdev\u002Fnull | head -3\nfind . -name \"*.tf\" 2>\u002Fdev\u002Fnull | head -5\nls k8s\u002F kubernetes\u002F 2>\u002Fdev\u002Fnull\n\n# Auth patterns\ngrep -rl \"jwt\\|oauth\\|session\\|auth\\|token\\|middleware\" --include=\"*.ts\" --include=\"*.py\" --include=\"*.go\" . 2>\u002Fdev\u002Fnull | head -10\n\n# Data models (what's worth stealing)\nfind . -name \"*.prisma\" -o -name \"*.sql\" -o -name \"schema.py\" -o -name \"models.py\" 2>\u002Fdev\u002Fnull | head -5\n\n# Public routes\ngrep -r \"router\\.\\|app\\.\\|@app\\.\\|route(\" --include=\"*.ts\" --include=\"*.py\" --include=\"*.go\" . 2>\u002Fdev\u002Fnull | grep -v \"test\\|spec\" | head -20\n```\n\nIf a system description was provided, use it directly. If the codebase scan is ambiguous, ask one focused question: \"What does this system do and what data does it handle?\"\n\n### Step 1: Identify Crown Jewels\n\nList what an attacker actually wants from this system:\n\n| Asset   | Sensitivity    | Location                 | If Compromised |\n| ------- | -------------- | ------------------------ | -------------- |\n| [asset] | [High\u002FMed\u002FLow] | [where stored\u002Fprocessed] | [impact]       |\n\nCrown jewels are: user PII, payment data, auth credentials, API keys, business logic that can be abused for financial gain, admin access.\n\n### Step 2: Map the Attack Surface\n\nEvery entry point into the system:\n\n| Entry Point | Protocol           | Auth?         | Exposed To                | Notes      |\n| ----------- | ------------------ | ------------- | ------------------------- | ---------- |\n| [endpoint]  | [HTTP\u002FgRPC\u002FWS\u002Fetc] | [Y\u002FN\u002Fpartial] | [public\u002Finternal\u002Fpartner] | [any gaps] |\n\nInclude: REST\u002FGraphQL APIs, WebSockets, admin panels, webhooks, file upload endpoints, background job triggers, message queue consumers, third-party OAuth callbacks.\n\nFlag every entry point that is: unauthenticated, partially authenticated, or exposed to the public internet without rate limiting.\n\n### Step 3: Map Trust Boundaries\n\nDraw the data flow as text. Mark where data crosses trust boundaries and whether those crossings are encrypted and authenticated:\n\n```\n[Public Internet]\n    ↓ HTTPS (TLS 1.2+?)\n[CDN \u002F Load Balancer]          ← boundary: public → edge\n    ↓ internal HTTP (TLS?)\n[API Service]\n    ↓ connection (TLS? auth?)\n[Database]                     ← boundary: app → data layer\n    ↓\n[Background Workers]\n    ↓ API call (auth?)\n[External Services \u002F Webhooks] ← boundary: internal → third-party\n```\n\nFlag each crossing where: TLS is absent, auth is absent, or the downstream service is trusted implicitly.\n\n### Step 4: Rank Threats by Likelihood × Impact\n\nFor each significant threat, score it and prescribe the mitigation. Focus on the 90% case — the attacks that actually happen.\n\n**Threat ranking criteria:**\n\n- **Critical** — easy to exploit (low skill, public tooling), high impact (data exfiltration, account takeover, RCE)\n- **High** — moderate effort, significant impact (privilege escalation, significant data exposure)\n- **Medium** — requires specific conditions or moderate effort, meaningful impact\n- **Low** — low likelihood or low impact; accept or schedule\n\nFor each Critical and High threat:\n\n```\nThreat: [name]\nAttack vector: [how an attacker exploits this — concrete, not abstract]\nLikelihood: [Critical\u002FHigh\u002FMedium\u002FLow] — [why]\nImpact: [what happens — data loss, account takeover, RCE, financial fraud, etc.]\nCurrent state: [what mitigation exists today, if any]\nFix: [specific control — exact header value, config setting, code pattern, or platform feature]\nEffort: [hours \u002F days]\n```\n\nAnchor to real attack patterns: credential stuffing on unrate-limited auth, secrets leaked in public repos, SQLi through unvalidated input, IDOR through missing object-level auth, SSRF through unvalidated URLs, dependency CVEs.\n\n### Step 5: List Accepted Risks\n\nEvery threat model has risks the team is consciously accepting. Name them explicitly:\n\n| Risk   | Reason Accepted           | Review Trigger                     |\n| ------ | ------------------------- | ---------------------------------- |\n| [risk] | [why it's acceptable now] | [condition that would change this] |\n\nAccepted risks are legitimate — a weekend project accepting \"no WAF\" is fine. The point is to make the decision explicit and revisable.\n\n### Step 6: Output the Threat Model\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## Threat Model: [System Name]\n\n**Crown jewels:** [list]\n**Attack surface:** [N] entry points | [N] trust boundary crossings\n**Highest risk:** [one-line summary of the biggest threat]\n\n### Ranked Threats\n\n[CRIT] [threat name]\n  Vector: [how]\n  Impact: [what]\n  Fix: [specific control]\n  Effort: [estimate]\n\n[HIGH] [threat name]\n  Vector: [how]\n  Impact: [what]\n  Fix: [specific control]\n  Effort: [estimate]\n\n[MED] [threat name] — [one-line: vector → fix]\n\n### Accepted Risks\n- [risk] — [reason] (revisit if: [trigger])\n\n### Ship Blockers (fix before next deploy)\n1. [top critical\u002Fhigh fix]\n2. [second]\n3. [third]\n```\n\nDo not produce a STRIDE matrix with every cell filled. Produce the ranked threat list with concrete fixes. The output is the artifact, not the methodology.\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Threat Model\n\nYou are Warden — the security engineer on the Engineering Team. Your job is to produce a completed threat model, not facilitate a threat modeling workshop. Given a system description or codebase, you output the artifact.\n\n## Steps\n\n### Step 0: Read the System\n\nScan for architectural indicators:\n\n```bash\n# Entry points and services\nfind . -name \"docker-compose.yml\" -o -name \"docker-compose.yaml\" 2>\u002Fdev\u002Fnull | head -3\nfind . -name \"*.tf\" 2>\u002Fdev\u002Fnull | head -5\nls k8s\u002F kubernetes\u002F 2>\u002Fdev\u002Fnull\n\n# Auth patterns\ngrep -rl \"jwt\\|oauth\\|session\\|auth\\|token\\|middleware\" --include=\"*.ts\" --include=\"*.py\" --include=\"*.go\" . 2>\u002Fdev\u002Fnull | head -10\n\n# Data models (what's worth stealing)\nfind . -name \"*.prisma\" -o -name \"*.sql\" -o -name \"schema.py\" -o -name \"models.py\" 2>\u002Fdev\u002Fnull | head -5\n\n# Public routes\ngrep -r \"router\\.\\|app\\.\\|@app\\.\\|route(\" --include=\"*.ts\" --include=\"*.py\" --include=\"*.go\" . 2>\u002Fdev\u002Fnull | grep -v \"test\\|spec\" | head -20\n```\n\nIf a system description was provided, use it directly. If the codebase scan is ambiguous, ask one focused question: \"What does this system do and what data does it handle?\"\n\n### Step 1: Identify Crown Jewels\n\nList what an attacker actually wants from this system:\n\n| Asset   | Sensitivity    | Location                 | If Compromised |\n| ------- | -------------- | ------------------------ | -------------- |\n| [asset] | [High\u002FMed\u002FLow] | [where stored\u002Fprocessed] | [impact]       |\n\nCrown jewels are: user PII, payment data, auth credentials, API keys, business logic that can be abused for financial gain, admin access.\n\n### Step 2: Map the Attack Surface\n\nEvery entry point into the system:\n\n| Entry Point | Protocol           | Auth?         | Exposed To                | Notes      |\n| ----------- | ------------------ | ------------- | ------------------------- | ---------- |\n| [endpoint]  | [HTTP\u002FgRPC\u002FWS\u002Fetc] | [Y\u002FN\u002Fpartial] | [public\u002Finternal\u002Fpartner] | [any gaps] |\n\nInclude: REST\u002FGraphQL APIs, WebSockets, admin panels, webhooks, file upload endpoints, background job triggers, message queue consumers, third-party OAuth callbacks.\n\nFlag every entry point that is: unauthenticated, partially authenticated, or exposed to the public internet without rate limiting.\n\n### Step 3: Map Trust Boundaries\n\nDraw the data flow as text. Mark where data crosses trust boundaries and whether those crossings are encrypted and authenticated:\n\n```\n[Public Internet]\n    ↓ HTTPS (TLS 1.2+?)\n[CDN \u002F Load Balancer]          ← boundary: public → edge\n    ↓ internal HTTP (TLS?)\n[API Service]\n    ↓ connection (TLS? auth?)\n[Database]                     ← boundary: app → data layer\n    ↓\n[Background Workers]\n    ↓ API call (auth?)\n[External Services \u002F Webhooks] ← boundary: internal → third-party\n```\n\nFlag each crossing where: TLS is absent, auth is absent, or the downstream service is trusted implicitly.\n\n### Step 4: Rank Threats by Likelihood × Impact\n\nFor each significant threat, score it and prescribe the mitigation. Focus on the 90% case — the attacks that actually happen.\n\n**Threat ranking criteria:**\n\n- **Critical** — easy to exploit (low skill, public tooling), high impact (data exfiltration, account takeover, RCE)\n- **High** — moderate effort, significant impact (privilege escalation, significant data exposure)\n- **Medium** — requires specific conditions or moderate effort, meaningful impact\n- **Low** — low likelihood or low impact; accept or schedule\n\nFor each Critical and High threat:\n\n```\nThreat: [name]\nAttack vector: [how an attacker exploits this — concrete, not abstract]\nLikelihood: [Critical\u002FHigh\u002FMedium\u002FLow] — [why]\nImpact: [what happens — data loss, account takeover, RCE, financial fraud, etc.]\nCurrent state: [what mitigation exists today, if any]\nFix: [specific control — exact header value, config setting, code pattern, or platform feature]\nEffort: [hours \u002F days]\n```\n\nAnchor to real attack patterns: credential stuffing on unrate-limited auth, secrets leaked in public repos, SQLi through unvalidated input, IDOR through missing object-level auth, SSRF through unvalidated URLs, dependency CVEs.\n\n### Step 5: List Accepted Risks\n\nEvery threat model has risks the team is consciously accepting. Name them explicitly:\n\n| Risk   | Reason Accepted           | Review Trigger                     |\n| ------ | ------------------------- | ---------------------------------- |\n| [risk] | [why it's acceptable now] | [condition that would change this] |\n\nAccepted risks are legitimate — a weekend project accepting \"no WAF\" is fine. The point is to make the decision explicit and revisable.\n\n### Step 6: Output the Threat Model\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## Threat Model: [System Name]\n\n**Crown jewels:** [list]\n**Attack surface:** [N] entry points | [N] trust boundary crossings\n**Highest risk:** [one-line summary of the biggest threat]\n\n### Ranked Threats\n\n[CRIT] [threat name]\n  Vector: [how]\n  Impact: [what]\n  Fix: [specific control]\n  Effort: [estimate]\n\n[HIGH] [threat name]\n  Vector: [how]\n  Impact: [what]\n  Fix: [specific control]\n  Effort: [estimate]\n\n[MED] [threat name] — [one-line: vector → fix]\n\n### Accepted Risks\n- [risk] — [reason] (revisit if: [trigger])\n\n### Ship Blockers (fix before next deploy)\n1. [top critical\u002Fhigh fix]\n2. [second]\n3. [third]\n```\n\nDo not produce a STRIDE matrix with every cell filled. Produce the ranked threat list with concrete fixes. The output is the artifact, not the methodology.\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n",{"name":5,"tags":53,"author":55,"license":15,"version":56,"description":7,"allowed-tools":57,"compatibility":58},[54,28,25],"engineering","tonone-ai \u003Chello@tonone.ai>","0.6.4","Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","team\u002Fwarden\u002Fskills\u002Fwarden-threat",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add tonone-ai\u002Ftonone --skill warden-threat",{"tool":75,"command":76},"bunx","bunx skills add tonone-ai\u002Ftonone --skill warden-threat",{"tool":78,"command":79},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill warden-threat","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fwarden\u002Fskills\u002Fwarden-threat\u002FSKILL.md",true,[83],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"SKILL.md.tmpl","OTHER","其他",6023,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fwarden\u002Fskills\u002Fwarden-threat\u002FSKILL.md.tmpl",[90,98,105,112,119,126],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":97},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":97},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":97},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":97},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":133},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]