[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CTBAJF500BQ4C7RQB06R7D":3,"skill-same:01M6CTBAJF500BQ4C7RQB06R7D":79},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":56},"01M6CTBAJF500BQ4C7RQB06R7D","threat-modeling",null,"Analyzes data flows for security threats and proposes mitigations. Use when assessing a new feature, an architecture change or a compliance review.","vibbs\u002Fcompany-os","vibbs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7379149?v=4","01M6CT6M03CAS1H7RA89F3965B","Vibbs Dod","01M6CT6M4MY60C9FFQ3AAR2RSK",6,"MIT","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fthreat-modeling\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"threat modeling","threat","review","security","change","architecture","compliance","data","new feature","use","2026-11-10 10:12:30",false,"---\nname: threat-modeling\ndescription: Analyzes data flows for security threats and proposes mitigations. Use when assessing a new feature, an architecture change or a compliance review.\nuser-invocable: true\nargument-hint: \"[--quick]\"\n---\n\n# Threat Modeling\n\n## Reference\n- **ID**: S-RISK-01\n- **Category**: Risk\n- **Inputs**: system architecture, data flow diagrams, trust boundaries, asset inventory\n- **Outputs**: threat model document → artifacts\u002Frisk\u002F\n- **Used by**: Ops & Risk Agent\n- **Tool scripts**: .\u002Ftools\u002Fartifact\u002Fvalidate.sh\n\n## Purpose\nProduces a structured threat model that identifies attack surfaces, enumerates threats using a systematic methodology (STRIDE), and maps each threat to concrete mitigations, ensuring security is considered proactively rather than reactively.\n\n## Procedure\n\n### Step 0: Stage-Aware Mode Selection\n\nRead `company.stage` from `company.config.yaml`. If `idea` or `mvp`:\n\n**MVP Security Checklist** (use instead of full STRIDE):\n1. Auth provider (not roll-your-own)\n2. HTTPS enforced\n3. Input sanitization on all user-supplied fields\n4. Payment webhook signature verification (if applicable)\n5. No secrets in code (run `.\u002Ftools\u002Fsecurity\u002Fsecrets-scan.sh`)\n6. Dependency scanning configured\n\nReserve full STRIDE analysis for `growth`\u002F`scale` stages or features touching financial data\u002FPII at scale. If user passes `--quick`, always use MVP mode regardless of stage.\n\n1. Define the scope: which system, feature, or data flow is being modeled.\n2. Draw or review the data flow diagram (DFD): external entities, processes, data stores, data flows. Use the **excalidraw skill** (S-ENG-17) to produce the DFD — Mermaid `flowchart LR` with trust boundary subgraphs inline, and optionally an Excalidraw file for richer documentation.\n3. Identify trust boundaries: where data crosses between trust zones.\n4. Enumerate threats using STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) for each element.\n5. Rate each threat: likelihood (1-5) and impact (1-5), calculate risk score.\n6. For each threat, define a mitigation: preventive control, detective control, or accepted risk.\n7. Prioritize mitigations by risk score.\n8. Document residual risks: threats accepted without full mitigation.\n9. Define review triggers: when this threat model should be revisited.\n10. Save the threat model to `artifacts\u002Frisk\u002F`.\n11. Validate the artifact using `.\u002Ftools\u002Fartifact\u002Fvalidate.sh`.\n\n## Cross-References\n- **security-posture** (S-RISK-04) — aggregate view of all threat model findings across features; run `\u002Fsecurity-posture` for cross-cutting risk inventory\n- **release-readiness-gate** (S-QA-03) — consumes threat model as a required artifact for Bar 3 (Security & Risk)\n\n## Quality Checklist\n- [ ] Scope is clearly defined and bounded\n- [ ] Data flow diagram is complete with all trust boundaries\n- [ ] STRIDE analysis covers all DFD elements\n- [ ] Each threat has likelihood and impact ratings\n- [ ] Every high-risk threat has a defined mitigation\n- [ ] Residual risks are explicitly documented and accepted\n- [ ] Review triggers are specified\n- [ ] Artifact passes validation\n","# Threat Modeling\n\n## Reference\n- **ID**: S-RISK-01\n- **Category**: Risk\n- **Inputs**: system architecture, data flow diagrams, trust boundaries, asset inventory\n- **Outputs**: threat model document → artifacts\u002Frisk\u002F\n- **Used by**: Ops & Risk Agent\n- **Tool scripts**: .\u002Ftools\u002Fartifact\u002Fvalidate.sh\n\n## Purpose\nProduces a structured threat model that identifies attack surfaces, enumerates threats using a systematic methodology (STRIDE), and maps each threat to concrete mitigations, ensuring security is considered proactively rather than reactively.\n\n## Procedure\n\n### Step 0: Stage-Aware Mode Selection\n\nRead `company.stage` from `company.config.yaml`. If `idea` or `mvp`:\n\n**MVP Security Checklist** (use instead of full STRIDE):\n1. Auth provider (not roll-your-own)\n2. HTTPS enforced\n3. Input sanitization on all user-supplied fields\n4. Payment webhook signature verification (if applicable)\n5. No secrets in code (run `.\u002Ftools\u002Fsecurity\u002Fsecrets-scan.sh`)\n6. Dependency scanning configured\n\nReserve full STRIDE analysis for `growth`\u002F`scale` stages or features touching financial data\u002FPII at scale. If user passes `--quick`, always use MVP mode regardless of stage.\n\n1. Define the scope: which system, feature, or data flow is being modeled.\n2. Draw or review the data flow diagram (DFD): external entities, processes, data stores, data flows. Use the **excalidraw skill** (S-ENG-17) to produce the DFD — Mermaid `flowchart LR` with trust boundary subgraphs inline, and optionally an Excalidraw file for richer documentation.\n3. Identify trust boundaries: where data crosses between trust zones.\n4. Enumerate threats using STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) for each element.\n5. Rate each threat: likelihood (1-5) and impact (1-5), calculate risk score.\n6. For each threat, define a mitigation: preventive control, detective control, or accepted risk.\n7. Prioritize mitigations by risk score.\n8. Document residual risks: threats accepted without full mitigation.\n9. Define review triggers: when this threat model should be revisited.\n10. Save the threat model to `artifacts\u002Frisk\u002F`.\n11. Validate the artifact using `.\u002Ftools\u002Fartifact\u002Fvalidate.sh`.\n\n## Cross-References\n- **security-posture** (S-RISK-04) — aggregate view of all threat model findings across features; run `\u002Fsecurity-posture` for cross-cutting risk inventory\n- **release-readiness-gate** (S-QA-03) — consumes threat model as a required artifact for Bar 3 (Security & Risk)\n\n## Quality Checklist\n- [ ] Scope is clearly defined and bounded\n- [ ] Data flow diagram is complete with all trust boundaries\n- [ ] STRIDE analysis covers all DFD elements\n- [ ] Each threat has likelihood and impact ratings\n- [ ] Every high-risk threat has a defined mitigation\n- [ ] Residual risks are explicitly documented and accepted\n- [ ] Review triggers are specified\n- [ ] Artifact passes validation\n",{"name":5,"description":7,"argument-hint":34,"user-invocable":35},"[--quick]",true,"main","e842fb6d0e04360c47db78bc2e2e2987314d64d4",".claude\u002Fskills\u002Fthreat-modeling",2,"https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os","https:\u002F\u002Fgithub.com\u002Fvibbs","Principal Engineer · Applied AI · building ArcAI @ GrowthArc","2026-10-21 02:08:08",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":35},[46,49,52],{"tool":47,"command":48},"npx","npx skills add vibbs\u002Fcompany-os --skill threat-modeling",{"tool":50,"command":51},"bunx","bunx skills add vibbs\u002Fcompany-os --skill threat-modeling",{"tool":53,"command":54},"pnpm","pnpm dlx skills add vibbs\u002Fcompany-os --skill threat-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fthreat-modeling\u002FSKILL.md",[57,63,67,71,75],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fbest_practices.md","REFERENCE","参考文档",12107,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fanndata\u002Freferences\u002Fbest_practices.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fconcatenation.md",10505,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fanndata\u002Freferences\u002Fconcatenation.md",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fdata_structure.md",8745,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fanndata\u002Freferences\u002Fdata_structure.md",{"path":72,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fio_operations.md",9457,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fanndata\u002Freferences\u002Fio_operations.md",{"path":76,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fmanipulation.md",11867,"https:\u002F\u002Fgithub.com\u002FMishit18\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fanndata\u002Freferences\u002Fmanipulation.md",[80,89,97,107,123,136],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":29},"01M6CTHBW1E64ECYGD105N4S5E","typo-field","Fixture skill with a misspelled top-level field.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftypo-field\u002FSKILL.md",[],[87,88],"typo field","fixture skill",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":29},"01M6CTHABTV8FKVDHFMMKPAV51","spaced-comments","Fixture skill with comments and spaces after block keys.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fspaced-comments\u002FSKILL.md",[],[96,88],"spaced comments",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":29},"01M6CTH8MHC14KB65ZDHYBJW1N","crlf-comments","Fixture skill with Windows line endings.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fcrlf-comments\u002FSKILL.md",[],[104,105,106,88],"crlf comments","CRLF","windows",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":29},"01M6CTH6TBKTDP9G8QB1Z2K0TY","claude-fields","Fixture skill using top-level fields Claude Code documents.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fclaude-fields\u002FSKILL.md",[],[114,115,116,117,118,119,88,120,121,122],"claude fields","explore","documents","src","grep","read","Bash","code","testing",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":29},"01M6CTH46BGKXH80RWS876Y2CW","workflow-router","Maps an objective to the artifacts, stages and agents it needs. Use when deciding what happens next or which agents to involve.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[130,131,132,133,134,28,135],"workflow","router","workflow router","next","maps","artifacts",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":29},"01M6CTH27653SRVP2FMEQN3J5B","weekly-review","Summarizes your week: what shipped, AI spend, support themes, security health and next priorities. Use at the end of each week.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[143,21,144,133,28,145,146,147,22],"weekly review","priorities","health","save","support"]