[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F4728EKFDANX71H4WG237A":3,"skill-same:01M7F4728EKFDANX71H4WG237A":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7F4728EKFDANX71H4WG237A","trust-boundary-modeling",null,"Identify and classify architecture-level trust boundaries, determine what data crosses each one and who enforces it, and produce a ranked threat table proportional to a named adversary — used before proposing any specific security control.","cwik-tech\u002Foctopus","cwik-tech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54542292?v=4","01M7F42E123GEHVK6RWC5MSWJ9","Tomasz Cwik","01M7F42E1PD4P54MTG8PG32VCV",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fagents\u002Farchitect-security-privacy\u002Fskills\u002Ftrust-boundary-modeling\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: trust-boundary-modeling\ndescription: Identify and classify architecture-level trust boundaries, determine what data crosses each one and who enforces it, and produce a ranked threat table proportional to a named adversary — used before proposing any specific security control.\n---\n\n# Trust Boundary Modeling\n\n## Purpose\n\nProduce an architecture-level map of trust boundaries so that security discussion attaches to structure rather than to control shopping. This skill runs before any control is proposed. Its output is a boundary table, an egress ledger, and a ranked threat list scoped to a named adversary.\n\nThis is not a full STRIDE exercise or a compliance assessment. It is the minimum modeling needed to decide an architecture question correctly, at a level of detail an ADR can carry.\n\n## When to use\n\nUse on every architecture question that involves more than one process, more than one machine, more than one tenant, or any third-party service. In practice this is nearly every convening. Run it first, before applying any domain-specific security skill.\n\n## Definitions\n\nA **trust boundary** is any point where data or control passes between two zones with different trust assumptions. The common ones:\n\n- Process boundaries (main process ↔ renderer, host ↔ sandboxed child)\n- Machine boundaries (client ↔ server, device ↔ cloud)\n- Organizational boundaries (our infra ↔ third-party provider)\n- Tenancy boundaries (tenant A ↔ tenant B in shared storage or shared index)\n- Privilege boundaries (unprivileged UI ↔ privileged capability, model output ↔ tool execution)\n- Persistence boundaries (ephemeral memory ↔ durable storage that outlives the session)\n\nAn **egress event** is any point where data leaves the control domain the user believes it occupies. Embedding generation, third-party inference, telemetry, crash reporting, and auto-update check-ins are all egress events even when the team does not think of them that way.\n\n## Procedure\n\n### Step 1 — Enumerate boundaries\n\nWalk the proposed architecture and list every boundary from the categories above. For each, record:\n\n| Field | Meaning |\n|---|---|\n| Boundary | The two zones it separates |\n| Crosses | What data or control actually passes |\n| Direction | Inbound, outbound, or bidirectional |\n| Enforced by | Runtime, OS, provider, or our own code |\n\nThe **Enforced by** column carries most of the value. A boundary enforced only by our own code being correct is a boundary that will eventually fail; mark it explicitly so the board can decide whether that is acceptable.\n\n### Step 2 — Classify what crosses\n\nFor each boundary, classify crossing data:\n\n- **User content** — what the user authored or supplied\n- **Derived content** — embeddings, summaries, indexes, caches derived from user content (treat as user content for residency purposes; derivation is not anonymization)\n- **Credentials** — tokens, keys, session material\n- **Control** — commands, tool invocations, anything that causes an action\n\nControl crossing a boundary is more dangerous than content crossing it. Flag any boundary where model output becomes control.\n\n### Step 3 — Build the egress ledger\n\nExtract every outbound crossing that leaves the user's or organization's control domain. For each, record the destination, whether retention is documented or assumed, and whether deletion on request is actually possible. Mark assumed items as unverified rather than treating them as facts.\n\n### Step 4 — Name the adversary\n\nFor each boundary of concern, state the concrete adversary and the concrete asset. Acceptable adversaries include: a network attacker, a malicious or compromised third-party dependency, another tenant, a prompt-injecting document in the corpus, a local process on a shared machine, or a subpoena. If the honest answer is \"a bug\" or \"the user themselves,\" record it as a robustness concern and downgrade it out of the threat list.\n\n### Step 5 — Rank by reachable damage\n\nOrder findings by what a compromise reaches, not by how likely it is. Within equal reach, rank irreversible consequences above reversible ones. Probability is unknowable at design time; reachability is a decidable property of the architecture.\n\n### Step 6 — Split now vs later\n\nSeparate findings into those that the current architecture decision determines — and therefore must be settled in the decision record — and those that are implementation details. Being explicit about the second category is what keeps this skill from becoming scope creep.\n\n## Output format\n\n```markdown\n### Trust boundaries\n\n| Boundary | Crosses | Direction | Enforced by |\n|---|---|---|---|\n\n### Egress ledger\n\n| Data | Destination | Retention | Deletable | Verified? |\n|---|---|---|---|---|\n\n### Threats, ranked by reachable damage\n\n1. [Adversary] reaching [asset] via [boundary] — [reversible \u002F irreversible]\n\n### Must be settled in this decision\n\n- ...\n\n### Can be deferred to implementation\n\n- ...\n```\n\n## Failure modes to avoid\n\n- Producing controls before boundaries. If the output names a control without a boundary, the modeling was skipped.\n- Treating derived data as non-sensitive. Embeddings of a private corpus are the private corpus for residency purposes.\n- Uniform severity across a single-user local tool and a multi-tenant service. Proportionality is part of the analysis, not a softening applied afterward.\n- Accepting provider claims as verified facts. Mark unverified and state what would verify it.\n- Expanding into a full compliance review. Scope to what this architecture decision determines.\n","# Trust Boundary Modeling\n\n## Purpose\n\nProduce an architecture-level map of trust boundaries so that security discussion attaches to structure rather than to control shopping. This skill runs before any control is proposed. Its output is a boundary table, an egress ledger, and a ranked threat list scoped to a named adversary.\n\nThis is not a full STRIDE exercise or a compliance assessment. It is the minimum modeling needed to decide an architecture question correctly, at a level of detail an ADR can carry.\n\n## When to use\n\nUse on every architecture question that involves more than one process, more than one machine, more than one tenant, or any third-party service. In practice this is nearly every convening. Run it first, before applying any domain-specific security skill.\n\n## Definitions\n\nA **trust boundary** is any point where data or control passes between two zones with different trust assumptions. The common ones:\n\n- Process boundaries (main process ↔ renderer, host ↔ sandboxed child)\n- Machine boundaries (client ↔ server, device ↔ cloud)\n- Organizational boundaries (our infra ↔ third-party provider)\n- Tenancy boundaries (tenant A ↔ tenant B in shared storage or shared index)\n- Privilege boundaries (unprivileged UI ↔ privileged capability, model output ↔ tool execution)\n- Persistence boundaries (ephemeral memory ↔ durable storage that outlives the session)\n\nAn **egress event** is any point where data leaves the control domain the user believes it occupies. Embedding generation, third-party inference, telemetry, crash reporting, and auto-update check-ins are all egress events even when the team does not think of them that way.\n\n## Procedure\n\n### Step 1 — Enumerate boundaries\n\nWalk the proposed architecture and list every boundary from the categories above. For each, record:\n\n| Field | Meaning |\n|---|---|\n| Boundary | The two zones it separates |\n| Crosses | What data or control actually passes |\n| Direction | Inbound, outbound, or bidirectional |\n| Enforced by | Runtime, OS, provider, or our own code |\n\nThe **Enforced by** column carries most of the value. A boundary enforced only by our own code being correct is a boundary that will eventually fail; mark it explicitly so the board can decide whether that is acceptable.\n\n### Step 2 — Classify what crosses\n\nFor each boundary, classify crossing data:\n\n- **User content** — what the user authored or supplied\n- **Derived content** — embeddings, summaries, indexes, caches derived from user content (treat as user content for residency purposes; derivation is not anonymization)\n- **Credentials** — tokens, keys, session material\n- **Control** — commands, tool invocations, anything that causes an action\n\nControl crossing a boundary is more dangerous than content crossing it. Flag any boundary where model output becomes control.\n\n### Step 3 — Build the egress ledger\n\nExtract every outbound crossing that leaves the user's or organization's control domain. For each, record the destination, whether retention is documented or assumed, and whether deletion on request is actually possible. Mark assumed items as unverified rather than treating them as facts.\n\n### Step 4 — Name the adversary\n\nFor each boundary of concern, state the concrete adversary and the concrete asset. Acceptable adversaries include: a network attacker, a malicious or compromised third-party dependency, another tenant, a prompt-injecting document in the corpus, a local process on a shared machine, or a subpoena. If the honest answer is \"a bug\" or \"the user themselves,\" record it as a robustness concern and downgrade it out of the threat list.\n\n### Step 5 — Rank by reachable damage\n\nOrder findings by what a compromise reaches, not by how likely it is. Within equal reach, rank irreversible consequences above reversible ones. Probability is unknowable at design time; reachability is a decidable property of the architecture.\n\n### Step 6 — Split now vs later\n\nSeparate findings into those that the current architecture decision determines — and therefore must be settled in the decision record — and those that are implementation details. Being explicit about the second category is what keeps this skill from becoming scope creep.\n\n## Output format\n\n```markdown\n### Trust boundaries\n\n| Boundary | Crosses | Direction | Enforced by |\n|---|---|---|---|\n\n### Egress ledger\n\n| Data | Destination | Retention | Deletable | Verified? |\n|---|---|---|---|---|\n\n### Threats, ranked by reachable damage\n\n1. [Adversary] reaching [asset] via [boundary] — [reversible \u002F irreversible]\n\n### Must be settled in this decision\n\n- ...\n\n### Can be deferred to implementation\n\n- ...\n```\n\n## Failure modes to avoid\n\n- Producing controls before boundaries. If the output names a control without a boundary, the modeling was skipped.\n- Treating derived data as non-sensitive. Embeddings of a private corpus are the private corpus for residency purposes.\n- Uniform severity across a single-user local tool and a multi-tenant service. Proportionality is part of the analysis, not a softening applied afterward.\n- Accepting provider claims as verified facts. Mark unverified and state what would verify it.\n- Expanding into a full compliance review. Scope to what this architecture decision determines.\n",{"name":5,"description":7},"main","f0f0efe1d4c64b51a51f44427ad147750d29154e","agents\u002Farchitect-security-privacy\u002Fskills\u002Ftrust-boundary-modeling","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus","www.cuteoctopus.site","https:\u002F\u002Fgithub.com\u002Fcwik-tech","2026-10-27 06:12:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add cwik-tech\u002Foctopus --skill trust-boundary-modeling",{"tool":37,"command":38},"bunx","bunx skills add cwik-tech\u002Foctopus --skill trust-boundary-modeling",{"tool":40,"command":41},"pnpm","pnpm dlx skills add cwik-tech\u002Foctopus --skill trust-boundary-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fagents\u002Farchitect-security-privacy\u002Fskills\u002Ftrust-boundary-modeling\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7F5MQVQ3CHGM77Q51M4B1AC","twenty-year-land-plan","Apply the Bren discipline of evaluating every land and development decision on a twenty-year horizon, with a comprehensive plan for how the land, the community, and the surrounding public infrastructure evolve together. Deals optimized for a five-year exit are structurally different from deals that compound across generations; insist on knowing which kind you are making. Use when evaluating land, entitlements, master-planned development, or phasing decisions, and when separating five-year exit deals from generational holds.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Ftwenty-year-land-plan\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7F5MGQ8JSV27SFDQVVGFQE3","thematic-gut-check","Apply the Gray discipline of identifying the structural theme behind every real estate deal, testing where that theme sits in its capital-flow lifecycle, and insisting that deals without a named theme — or deals late in a crowded theme — clear a higher bar. A mediocre deal in a strong theme usually beats a clever deal in a weak one. Use when naming the structural thesis behind a deal, judging whether that theme is early or crowded, and setting the bar the deal must clear.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fthematic-gut-check\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7F5M8V64Y0ZD8PTPWEJQXJ9","supply-pipeline-gut-check","Apply the Zell discipline of grounding every real estate thesis in the local supply pipeline. Demand counts over adjectives — units under construction, units permitted, units proposed — and convert them into a forward absorption schedule. A deal that ignores the pipeline is a bet on a market you have not actually studied. Use when validating a market thesis, forecasting absorption and rent growth, or counting units under construction, permitted, and proposed.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fsupply-pipeline-gut-check\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7F5M3J2Q146BJC13TD3YCXF","ruin-scenario-mapping","Apply the Taleb discipline of identifying, for every real estate deal, the specific chain of events that produces ruin — permanent, unrecoverable capital loss — and verifying that no single such chain has non-trivial probability. Deals with any plausible ruin path must be restructured or abandoned. Use when sizing leverage, testing refinancing, covenant, and liquidity risk, or checking whether any single failure chain can permanently wipe out the position.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fruin-scenario-mapping\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7F5KZDS0DYD172P6HS0WXEM","revenue-cost-architecture","Design a venture's revenue streams, pricing logic, cost structure, and unit economics so the business model has a coherent theory of value capture, not just value creation. Use after the value proposition and customer segment are set and before financial projections, when choosing a pricing model, calculating contribution margin or CAC payback, or checking whether the unit economics hold at scale.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Frevenue-cost-architecture\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7F5KP1CNQMYAVCDTV4EEW3J","replacement-cost-stress-test","Apply the Buffett discipline of pricing every real estate asset against the cost to rebuild it from scratch. The ratio of purchase price to replacement cost sets a ceiling on long-run downside: below replacement cost, new supply cannot profitably undercut you; at or above it, you are buying a liability disguised as an asset. Use when setting a purchase price, judging downside protection, or testing how exposed an asset is to newly built competing supply.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Freplacement-cost-stress-test\u002FSKILL.md",[],[]]