[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79M7XNB44WSSVWMHQVA0PHP":3,"skill-same:01M79M7XNB44WSSVWMHQVA0PHP":52},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79M7XNB44WSSVWMHQVA0PHP","security-sensitive-change",null,"Use when touching authentication, authorization, sessions, uploads, exports, import parsing, secrets, database access, dependencies, or a deployment\u002Ftrust boundary.","DrewBrunning\u002Fmycorrhizal-crm","DrewBrunning","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6752526?v=4","01M79M5Q84HEMNMKVCSH7RXV78","Drew Brunning","01M79M5Q90WKHZRQC3MEBRYB4Y",4,"MIT","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-sensitive-change\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: security-sensitive-change\ndescription: Use when touching authentication, authorization, sessions, uploads, exports, import parsing, secrets, database access, dependencies, or a deployment\u002Ftrust boundary.\nlicense: MIT\n---\n\n# Security-sensitive change\n\nOutcome: the change has a negative test, its ASVS\u002FMASVS row is current, and any\nmoved trust boundary is written down. Read `docs\u002Fsecurity\u002Fasvs-l2.md`,\n`docs\u002Fsecurity\u002Fmasvs-l1.md` and the [trust-boundaries reference](references\u002Ftrust-boundaries.md)\nbefore editing.\n\nPrerequisites: the security checklist is a living contract — a security-sensitive\nPR updates every row it touches in the same commit. If the change cannot point at\na row, it does not yet know what it is changing.\n\n## Steps\n\n1. Identify the attacker-controlled input and the boundary it crosses (HTTP,\n   upload, import, outbound sync, template, log, secret store).\n2. Write the negative test first: missing\u002Fforeign `user_id`, bad token, expired\n   session, path traversal, SSRF target, formula injection, oversized input.\n3. Enforce ownership at the data-access boundary (query-scoped by `user_id` or\n   `Contact.VCardUID`), not only in the handler.\n4. Keep sensitivity filtering in the query for every leaving copy; the three\n   full-fidelity exceptions are policy, not leaks.\n5. Update the ASVS\u002FMASVS row and citation. If the trust boundary moved, update\n   the threat model; if a new persistent copy of user data exists, update the\n   retention lifecycle and PII inventory.\n6. Run `citecheck` (citations) and `docscheck` (links\u002Fstructure) when docs moved.\n7. Never add `os\u002Fexec` to a server or request path; tooling is the scoped\n   exception in `docs\u002Fsecurity\u002Fasvs-l2.md` P12.\n\n## DoD\n\n```bash\ncd backend && go test .\u002Fmiddleware\u002F... .\u002Froutes\u002F...\ncd backend && go run .\u002Fcmd\u002Fcitecheck\ncd backend && go run .\u002Fcmd\u002Fdocscheck\n```\n\nReport any check you could not run; never imply it passed.\n\n## Stop and ask\n\n- The change weakens an ownership check, a sensitivity filter or a CSRF\u002Fauth\n  control without a corresponding reviewed row.\n- A secret would be logged, exported, committed or passed to an untrusted host.\n- A new dependency or executable path crosses the supply-chain boundary.\n- The threat model would need a new trust boundary and no ADR covers it.\n\nCanonical detail: `docs\u002Fsecurity\u002Fasvs-l2.md`, `docs\u002Fsecurity\u002Fmasvs-l1.md`,\n`docs\u002Fsecurity\u002Fthreat-model.md`, `docs\u002Fsecurity\u002Fdata-retention-lifecycle.md`.\n","# Security-sensitive change\n\nOutcome: the change has a negative test, its ASVS\u002FMASVS row is current, and any\nmoved trust boundary is written down. Read `docs\u002Fsecurity\u002Fasvs-l2.md`,\n`docs\u002Fsecurity\u002Fmasvs-l1.md` and the [trust-boundaries reference](references\u002Ftrust-boundaries.md)\nbefore editing.\n\nPrerequisites: the security checklist is a living contract — a security-sensitive\nPR updates every row it touches in the same commit. If the change cannot point at\na row, it does not yet know what it is changing.\n\n## Steps\n\n1. Identify the attacker-controlled input and the boundary it crosses (HTTP,\n   upload, import, outbound sync, template, log, secret store).\n2. Write the negative test first: missing\u002Fforeign `user_id`, bad token, expired\n   session, path traversal, SSRF target, formula injection, oversized input.\n3. Enforce ownership at the data-access boundary (query-scoped by `user_id` or\n   `Contact.VCardUID`), not only in the handler.\n4. Keep sensitivity filtering in the query for every leaving copy; the three\n   full-fidelity exceptions are policy, not leaks.\n5. Update the ASVS\u002FMASVS row and citation. If the trust boundary moved, update\n   the threat model; if a new persistent copy of user data exists, update the\n   retention lifecycle and PII inventory.\n6. Run `citecheck` (citations) and `docscheck` (links\u002Fstructure) when docs moved.\n7. Never add `os\u002Fexec` to a server or request path; tooling is the scoped\n   exception in `docs\u002Fsecurity\u002Fasvs-l2.md` P12.\n\n## DoD\n\n```bash\ncd backend && go test .\u002Fmiddleware\u002F... .\u002Froutes\u002F...\ncd backend && go run .\u002Fcmd\u002Fcitecheck\ncd backend && go run .\u002Fcmd\u002Fdocscheck\n```\n\nReport any check you could not run; never imply it passed.\n\n## Stop and ask\n\n- The change weakens an ownership check, a sensitivity filter or a CSRF\u002Fauth\n  control without a corresponding reviewed row.\n- A secret would be logged, exported, committed or passed to an untrusted host.\n- A new dependency or executable path crosses the supply-chain boundary.\n- The threat model would need a new trust boundary and no ADR covers it.\n\nCanonical detail: `docs\u002Fsecurity\u002Fasvs-l2.md`, `docs\u002Fsecurity\u002Fmasvs-l1.md`,\n`docs\u002Fsecurity\u002Fthreat-model.md`, `docs\u002Fsecurity\u002Fdata-retention-lifecycle.md`.\n",{"name":5,"license":15,"description":7},"main","9536dc2059e7970271680a546c4beef69e191b1b",".agents\u002Fskills\u002Fsecurity-sensitive-change",2,"https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm","https:\u002F\u002Fdrewbrunning.github.io\u002Fmycorrhizal-crm\u002F","https:\u002F\u002Fgithub.com\u002FDrewBrunning","2026-11-14 11:31:00",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add DrewBrunning\u002Fmycorrhizal-crm --skill security-sensitive-change",{"tool":38,"command":39},"bunx","bunx skills add DrewBrunning\u002Fmycorrhizal-crm --skill security-sensitive-change",{"tool":41,"command":42},"pnpm","pnpm dlx skills add DrewBrunning\u002Fmycorrhizal-crm --skill security-sensitive-change","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-sensitive-change\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Ftrust-boundaries.md","REFERENCE","参考文档",2758,"https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-sensitive-change\u002Freferences\u002Ftrust-boundaries.md",[53,60,67,74,81,87],{"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},"01M79M8PCVKS3QREKY3QXJEBR9","valid","Use when exercising a well-formed skill fixture in the agent-context tests.","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Fvalid\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},"01M79M8KBDD3M00TXB79N8794H","unregistered-dod","Use when a fixture must carry a DoD command no Suite registers.","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Funregistered-dod\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},"01M79M8H040AE9HFB8P8J394G9","orphan-reference","Use when a fixture must exercise an unlinked reference file.","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Forphan-reference\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},"01M79M8FHJVP35DG9MAGFV6P2W","missing-reference","Use when a fixture must link to a reference file that does not exist.","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Fmissing-reference\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":6,"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":19},"01M79M8D1PNZ7JA7N8MCGXQ5JH","missing-description","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Fmissing-description\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79M8AT8A2GD6CJPEJXW21C4","long-reference","Use when a fixture must exceed the reference line maximum.","https:\u002F\u002Fgithub.com\u002FDrewBrunning\u002Fmycorrhizal-crm\u002Fblob\u002Fmain\u002Fbackend\u002Finternal\u002Fagentcontext\u002Ftestdata\u002Fskills\u002Flong-reference\u002FSKILL.md",[],[]]