[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79R3NN0HH5YC0R9MA8AEJH7":3,"skill-same:01M79R3NN0HH5YC0R9MA8AEJH7":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M79R3NN0HH5YC0R9MA8AEJH7","hostile-repository-auditor",null,"Run a maximum-paranoia, attacker-input-first repository security and correctness audit with independent specialist passes, evidence artifacts, cross-review, fixes, and coverage reconciliation.","dylmarriner\u002Fscos-memory","dylmarriner","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F298747229?v=4","01M79R084TPMV4KRR4MK4Q17AD","01M79R085GJDMB005265SBFJ4J",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-repository-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hostile-repository-auditor\ndescription: \"Run a maximum-paranoia, attacker-input-first repository security and correctness audit with independent specialist passes, evidence artifacts, cross-review, fixes, and coverage reconciliation.\"\n---\n\n# Hostile Repository Auditor\n\n## Purpose\nCoordinate a repository-wide adversarial audit and leave a reproducible evidence trail. This is an execution skill: inspect the real repository, invoke every specialist named in `specialists\u002F`, and write one artifact per specialist under `audit-results\u002F`.\n\n## Threat model and adversarial philosophy\nAssume an external user, tenant member, webhook sender, queue producer, compromised integration, operator, or malicious local input can reach every exposed or “internal” boundary. Start from attacker-controlled inputs and trace to authorization, persistence, filesystem, network, templates, queues, secrets, subprocesses, and destructive effects. Trust behavior, not names, comments, tests, or intended reachability. Prefer valid-input abuse, second-order effects, replay, races, stale state, partial failure, and exploit chains.\n\n## Audit phases\n1. Inventory all tracked files, languages, services, entry points, schemas, migrations, configuration, deployment, tooling, tests, generated\u002Fvendor boundaries, and external integrations.\n2. Reconstruct actors, trust boundaries, meaningful workflows, state machines, invariants, assumptions, and input-to-sink paths.\n3. Invoke all specialists in `specialists\u002F` with distinct scopes; require their compact artifacts using `references\u002Fartifact-template.md`.\n4. Reconcile artifacts into `audit-results\u002Fcoverage-ledger.md`, `workflow-matrix.md`, `invariant-register.md`, and `assumption-register.md`.\n5. Independently run three passes: inputs-to-sinks, state\u002Fbusiness logic, and darkest corners. Do not reuse clean labels as evidence.\n6. Validate every candidate: exact location, reachability, preconditions, violated invariant, impact, mitigation search, falsification, reproduction, confidence. Never report speculation as confirmed.\n7. Independently cross-review every Critical\u002FHigh candidate with an appropriate specialist; record disagreement and resolution.\n8. For confirmed issues, make the smallest safe root-cause fix, add regression tests, search equivalent patterns, run targeted and broader checks, retry the proof, and document residual risk.\n9. Invoke the blind-spot specialist last, reconcile its artifact, update skills with generalized successful techniques, and verify persistence.\n\n## Delegation rules\nUse independent agents when available, with separate raw scopes and no leaked conclusions. Minimum scopes are architecture\u002Fattack surface, authentication, authorization, data flow, workflows\u002Fbusiness logic, concurrency, persistence, API behavior, queues\u002Fworkers, integrations, configuration\u002Fdeployment, dependencies, errors\u002Frecovery, tests, dead corners, and exploit chains. If delegation is unavailable, execute each specialist sequentially yourself and label Agent accordingly; do not claim parallel independence.\n\n## Input inventory and coverage\nEnumerate HTTP\u002FRPC\u002FGraphQL\u002FCLI\u002Fevents\u002Fwebhooks\u002Fqueues\u002Fworkers\u002Ffiles\u002Fconfig\u002Fenvironment\u002Fdatabase\u002Fserialized\u002Fexternal inputs. For each meaningful component record entry points, callers, callees, inputs, side effects, privilege, state, dependencies, tests, auditor, status, findings. A file opened is not coverage: mark complete only after inputs, outputs, callers\u002Fcallees, auth, state, failure, retry, concurrency, configuration, and external effects are considered.\n\n## Evidence and finding standards\nEvery claim needs exact paths and line ranges where practical, commands or tests, and a trace from attacker capability to impact. Use Confirmed, High-confidence, Plausible\u002Frequires validation, Hardening opportunity, or Non-issue. Severity weighs impact, likelihood, reach, detectability, and recoverability; do not inflate. Search for protections on every alternate path and treat clean claims without sufficient artifact evidence as gaps.\n\n## Exploit chains\nAfter individual validation, build a graph of realistic chains. For each chain record initial capability, steps, findings, intermediate privilege\u002Fdata, final impact, conditions, reliability, detection likelihood, and chain-breaking mitigations. Do not combine merely theoretical issues.\n\n## Completeness and cross-review\nThe three passes must state what each found that earlier work missed. Critical\u002FHigh review must attempt to disprove reachability, attacker prerequisites, mitigations, alternate paths, impact, and severity. Record unresolved disagreements, unreviewed components, and evidence limitations explicitly.\n\n## Fix workflow\nDo not change production behavior for unconfirmed suspicions. For confirmed findings fix the root cause minimally, add regression coverage, search equivalent vulnerable patterns, run focused then relevant broad checks, attempt bypass variants, and preserve unrelated work. Existing dirty changes are user-owned.\n\n## Required artifacts and reporting\nWrite every specialist artifact from `references\u002Fartifact-template.md`, a master matrix, coverage ledger, workflow matrix, invariant and assumption registers, findings, exploit chains, fix log, three-pass results, cross-review record, blind-spot result, and skill improvement log under `audit-results\u002F`. The final report must include honest metrics and exact persistent skill paths.\n\n## Skill-artifact requirements\nEach specialist invocation must leave a compact persistent artifact even when clean, including inspected files\u002Fcomponents, entry points, callers\u002Fcallees, workflows, trust boundaries, inputs, invariants, findings, suspicions, commands, gaps, exclusions, and follow-up. The coordinator must read and reconcile each artifact.\n\n## Self-improvement procedure\nAfter the blind-spot pass, identify techniques that found issues or eliminated false positives, generalize them beyond this repository, update the owning persistent skill, and append a dated entry to `audit-results\u002Fskill-improvement-log.md`. Never embed secrets or repository-only trivia. Re-run skill validation after edits.\n\n## Stopping criteria\nStop only after all specialists have artifacts, three independent passes and blind-spot review are recorded, all Critical\u002FHigh candidates are cross-reviewed, confirmed fixes are verified or explicitly blocked, coverage gaps are named, and persistence is checked. If environment limits execution, report the exact limitation and downgrade claims rather than assuming success.\n","# Hostile Repository Auditor\n\n## Purpose\nCoordinate a repository-wide adversarial audit and leave a reproducible evidence trail. This is an execution skill: inspect the real repository, invoke every specialist named in `specialists\u002F`, and write one artifact per specialist under `audit-results\u002F`.\n\n## Threat model and adversarial philosophy\nAssume an external user, tenant member, webhook sender, queue producer, compromised integration, operator, or malicious local input can reach every exposed or “internal” boundary. Start from attacker-controlled inputs and trace to authorization, persistence, filesystem, network, templates, queues, secrets, subprocesses, and destructive effects. Trust behavior, not names, comments, tests, or intended reachability. Prefer valid-input abuse, second-order effects, replay, races, stale state, partial failure, and exploit chains.\n\n## Audit phases\n1. Inventory all tracked files, languages, services, entry points, schemas, migrations, configuration, deployment, tooling, tests, generated\u002Fvendor boundaries, and external integrations.\n2. Reconstruct actors, trust boundaries, meaningful workflows, state machines, invariants, assumptions, and input-to-sink paths.\n3. Invoke all specialists in `specialists\u002F` with distinct scopes; require their compact artifacts using `references\u002Fartifact-template.md`.\n4. Reconcile artifacts into `audit-results\u002Fcoverage-ledger.md`, `workflow-matrix.md`, `invariant-register.md`, and `assumption-register.md`.\n5. Independently run three passes: inputs-to-sinks, state\u002Fbusiness logic, and darkest corners. Do not reuse clean labels as evidence.\n6. Validate every candidate: exact location, reachability, preconditions, violated invariant, impact, mitigation search, falsification, reproduction, confidence. Never report speculation as confirmed.\n7. Independently cross-review every Critical\u002FHigh candidate with an appropriate specialist; record disagreement and resolution.\n8. For confirmed issues, make the smallest safe root-cause fix, add regression tests, search equivalent patterns, run targeted and broader checks, retry the proof, and document residual risk.\n9. Invoke the blind-spot specialist last, reconcile its artifact, update skills with generalized successful techniques, and verify persistence.\n\n## Delegation rules\nUse independent agents when available, with separate raw scopes and no leaked conclusions. Minimum scopes are architecture\u002Fattack surface, authentication, authorization, data flow, workflows\u002Fbusiness logic, concurrency, persistence, API behavior, queues\u002Fworkers, integrations, configuration\u002Fdeployment, dependencies, errors\u002Frecovery, tests, dead corners, and exploit chains. If delegation is unavailable, execute each specialist sequentially yourself and label Agent accordingly; do not claim parallel independence.\n\n## Input inventory and coverage\nEnumerate HTTP\u002FRPC\u002FGraphQL\u002FCLI\u002Fevents\u002Fwebhooks\u002Fqueues\u002Fworkers\u002Ffiles\u002Fconfig\u002Fenvironment\u002Fdatabase\u002Fserialized\u002Fexternal inputs. For each meaningful component record entry points, callers, callees, inputs, side effects, privilege, state, dependencies, tests, auditor, status, findings. A file opened is not coverage: mark complete only after inputs, outputs, callers\u002Fcallees, auth, state, failure, retry, concurrency, configuration, and external effects are considered.\n\n## Evidence and finding standards\nEvery claim needs exact paths and line ranges where practical, commands or tests, and a trace from attacker capability to impact. Use Confirmed, High-confidence, Plausible\u002Frequires validation, Hardening opportunity, or Non-issue. Severity weighs impact, likelihood, reach, detectability, and recoverability; do not inflate. Search for protections on every alternate path and treat clean claims without sufficient artifact evidence as gaps.\n\n## Exploit chains\nAfter individual validation, build a graph of realistic chains. For each chain record initial capability, steps, findings, intermediate privilege\u002Fdata, final impact, conditions, reliability, detection likelihood, and chain-breaking mitigations. Do not combine merely theoretical issues.\n\n## Completeness and cross-review\nThe three passes must state what each found that earlier work missed. Critical\u002FHigh review must attempt to disprove reachability, attacker prerequisites, mitigations, alternate paths, impact, and severity. Record unresolved disagreements, unreviewed components, and evidence limitations explicitly.\n\n## Fix workflow\nDo not change production behavior for unconfirmed suspicions. For confirmed findings fix the root cause minimally, add regression coverage, search equivalent vulnerable patterns, run focused then relevant broad checks, attempt bypass variants, and preserve unrelated work. Existing dirty changes are user-owned.\n\n## Required artifacts and reporting\nWrite every specialist artifact from `references\u002Fartifact-template.md`, a master matrix, coverage ledger, workflow matrix, invariant and assumption registers, findings, exploit chains, fix log, three-pass results, cross-review record, blind-spot result, and skill improvement log under `audit-results\u002F`. The final report must include honest metrics and exact persistent skill paths.\n\n## Skill-artifact requirements\nEach specialist invocation must leave a compact persistent artifact even when clean, including inspected files\u002Fcomponents, entry points, callers\u002Fcallees, workflows, trust boundaries, inputs, invariants, findings, suspicions, commands, gaps, exclusions, and follow-up. The coordinator must read and reconcile each artifact.\n\n## Self-improvement procedure\nAfter the blind-spot pass, identify techniques that found issues or eliminated false positives, generalize them beyond this repository, update the owning persistent skill, and append a dated entry to `audit-results\u002Fskill-improvement-log.md`. Never embed secrets or repository-only trivia. Re-run skill validation after edits.\n\n## Stopping criteria\nStop only after all specialists have artifacts, three independent passes and blind-spot review are recorded, all Critical\u002FHigh candidates are cross-reviewed, confirmed fixes are verified or explicitly blocked, coverage gaps are named, and persistence is checked. If environment limits execution, report the exact limitation and downgrade claims rather than assuming success.\n",{"name":5,"description":7},"main","9fe81e1e4bf688b122dd91909327607a8900ebe0","skills\u002Fhostile-repository-auditor","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory","https:\u002F\u002Fgithub.com\u002Fdylmarriner","2026-11-13 14:34:37",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add dylmarriner\u002Fscos-memory --skill hostile-repository-auditor",{"tool":35,"command":36},"bunx","bunx skills add dylmarriner\u002Fscos-memory --skill hostile-repository-auditor",{"tool":38,"command":39},"pnpm","pnpm dlx skills add dylmarriner\u002Fscos-memory --skill hostile-repository-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-repository-auditor\u002FSKILL.md",true,[43,49],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fartifact-template.md","REFERENCE","参考文档",361,"https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-repository-auditor\u002Freferences\u002Fartifact-template.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcoverage-ledger-template.md",232,"https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-repository-auditor\u002Freferences\u002Fcoverage-ledger-template.md",[54,60,67,74,81,88],{"skillNo":55,"name":56,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M79R47F6YN5SSZ6HC9GM1DDX","memory-search","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fmemory-search\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M79R3W6EN962K853EC98P6MF","hostile-workflow-state-machine-auditor","Reconstruct states, transitions, prerequisites, forbidden transitions, retries, cancellation, rollback, recovery, partial completion, duplicate, stale, deletion, and restoration behavior.","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-workflow-state-machine-auditor\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M79R3SHP0A648T8R0CF5MFB8","hostile-test-gap-auditor","Use tests as a map of assumptions and find missing negative, authorization, tenant, failure, race, retry, state, configuration, boundary, and recovery tests.","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-test-gap-auditor\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M79R3JPGG4WWNHASB38R5B0X","hostile-persistence-auditor","Audit schemas, models, migrations, constraints, indexes, cascades, ORM\u002Fraw SQL, transaction boundaries, soft deletion\u002Frestoration, tenancy, auth fields, and historical states.","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-persistence-auditor\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M79R3EW501YVAKJY8DJ9BYVP","hostile-integration-auditor","Audit APIs, webhooks, callbacks, brokers, queues, signatures, replay protection, retries, parsing, trust assumptions, delayed\u002Fduplicate responses, and external failure.","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-integration-auditor\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M79R3BFYSDYWV13XV6NNMBTC","hostile-exploit-chain-auditor","Combine validated weaknesses into realistic end-to-end abuse paths, prioritizing low-impact primitives that cross trust boundaries or amplify privilege\u002Fdata access.","https:\u002F\u002Fgithub.com\u002Fdylmarriner\u002Fscos-memory\u002Fblob\u002Fmain\u002Fskills\u002Fhostile-exploit-chain-auditor\u002FSKILL.md",[],[]]