agentleFS
rlaoperlaope/oh-my-hermes/skills/omh-application-threat-model/SKILL.md

omh-application-threat-model

Skill3.1k starsChanged 3 months agoMITView on GitHub

[omh] Attack paths into an operated system: turn a system's components and data flows into assets, trust boundaries, attack scenarios, controls, and the security test that proves each control holds. Use when the user says: application-threat-model, application threat model, threat model, threat modeling, threat modelling, threat modeling session, threat modeling workshop, security threat model.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 6 mentionsAug 2026: 3 mentionsSep 2026: 6 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the rlaope/oh-my-hermes repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about rlaope/oh-my-hermes

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub and Bluesky (16 times).

On GitHub · 15

10 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every asset carries a data class and one named loss.

    line 45
  2. Distinctive:

    Every scenario resolves to mitigate, transfer, accept, or eliminate, with an owner.

    line 46
  3. Distinctive:

    Every mitigating control carries a security test and the observable that fails without it.

    line 47
  4. Distinctive:

    If the architecture is not described, ask for the component map and the data flows before modeling.

    line 53
  5. Distinctive:

    If a scenario has no boundary and no asset, drop it with the reason rather than carrying an unreachable threat.

    line 54
  6. Distinctive:

    If the user asks for exploit code, give the precondition and the detection signal instead, then hand remediation to an executor.

    line 55
  7. Very specific:

    If the request turns out to be about the agent's own prompts, tools, or credentials, stop and hand it to security-safety-review.

    line 56
  8. Very specific:

    If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.

    line 61
  9. Very specific:

    Run all six STRIDE prompts from omh-application-threat-model/references/threat-model-method.md per boundary.

    line 83
  10. Distinctive:

    every control marked deployed, planned, or unverified.

    line 118
  11. Distinctive:

    Never write working exploit code, a payload, or a runnable attack script.

    line 122
  12. Very specific:

    Do not record a control as deployed because the architecture describes it.

    line 123
  13. Very specific:

    Do not model the agent's own prompts, tools, credentials, or dependencies here.

    line 124
  14. Distinctive:

    Never print secrets, tokens, keys, connection strings, or live customer records pulled in as examples.

    line 125
  15. Distinctive:

    Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.

    line 132
  16. Distinctive:

    Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential …

    line 136

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Application Threat Model

This is a Hermes-native application-threat-model workflow skill.

Why This Exists

application-threat-model exists because the nearest neighbour does not merely miss this request. security-safety-review maps the agent's own prompt, tool, credential, and dependency surface, so an application threat-model request came back as an agent tool inventory under a near-identical name — a confident wrong artifact rather than a miss, in the one domain where that costs most.

Do Not Use When

  • The subject is the agent's own prompts, tools, files, credentials, dependencies, or destructive actions; use security-safety-review, which maps that runtime surface.
  • The user wants defects found in a diff or a file; use code-review.
  • The user asks whether a release is ready across rollout, rollback, and observability; use production-audit.
  • The user asks which commands prove a merge is safe; use verification-gate.
  • The user asks for a contractual or regulatory obligation rather than an attacker; use legal-compliance-review.

Examples

Good example:

  • Prompt: build a threat model for our payment service architecture
  • Expected behavior: Prepare application_threat_model/v1: ask for the component map and data flows, register card data and settlement records as assets, mark the merchant API edge and the PSP callback as trust boundaries, derive scenarios per boundary, decide a control for each, and name the test that fails when the control is removed.
  • Why: The subject is an application the user operates, and the goal needs assets, boundaries, scenarios, controls, and tests.

Bad example:

  • Prompt: application-threat-model check whether this agent can be prompt-injected through its file tool
  • Expected behavior: Route to security-safety-review: prompts, tools, and credentials are the agent's runtime surface, not an application this workflow models.
  • Why: The two surfaces share vocabulary and nothing else; modeling the agent's runtime here is how the artifacts get confused.

Completion Checklist

  • Every asset carries a data class and one named loss; every boundary names what crosses it and what authenticates the crossing.
  • Every scenario resolves to mitigate, transfer, accept, or eliminate, with an owner.
  • Every mitigating control carries a security test and the observable that fails without it.
  • Controls read deployed, planned, or unverified; none is inferred from the architecture description.
  • Residual risk is listed, and the model is not offered as a scan, a penetration test, or an attestation.

Recovery Notes

  • If the architecture is not described, ask for the component map and the data flows before modeling; never substitute a generic checklist for the real system.
  • If a scenario has no boundary and no asset, drop it with the reason rather than carrying an unreachable threat.
  • If the user asks for exploit code, give the precondition and the detection signal instead, then hand remediation to an executor.
  • If the request turns out to be about the agent's own prompts, tools, or credentials, stop and hand it to security-safety-review.

Workflow Lane

  • Current lane: Coding handoff (idea-to-deploy, llm-app-dev, cto-loop, deploy-and-monitor, code-review, build-failure-triage, verification-gate, security-safety-review, +28 more) - coding owners, handoffs, review, CI, and merge evidence.
  • If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: omh-routing/references/skill-common-rail.md.

Use When

Use when Hermes must model the security of an application, service, or deployed system the user operates: which assets are worth taking, where trust changes hands, how an attacker reaches each asset, which control stops them, and which security test fails when that control is removed. The subject is the modeled system, never the agent's own runtime.

Strong routing signals: `application-threat-model`, `application threat model`, `threat model`, `threat modeling`, `threat modelling`, `threat modeling session`, `threat modeling workshop`, `security threat model`, `build a threat model`, `model the threats`, `threat scenarios`, `stride analysis`, `stride model`, `trust boundary`, `trust boundaries`, `attack scenario`, `attack scenarios`, `attack tree`, `attack trees`, `abuse case`, `abuse cases`, `security design review`, `security architecture review`, `architecture security review`, `how would an attacker`, `how could an attacker`, `what could an attacker do`, `attacker perspective`

Catalog Metadata

Category: review Phase: application-threat-model Hermes role: reviewer Quality tier: security-safety-gated Reasoning demand: standard

Quality bar:

  • Name every component, data store, and external dependency of the real system before naming one threat; a model of a system nobody described is a checklist.
  • Give each asset a data class and exactly one loss: disclosure, corruption, unavailability, or fraud.
  • For each trust boundary, state what crosses it, what authenticates the crossing, and what the receiver assumes without checking.
  • Run all six STRIDE prompts from omh-application-threat-model/references/threat-model-method.md per boundary; drop an unreachable scenario with its reason instead of carrying it.
  • Resolve every scenario to one decision (mitigate, transfer, accept, eliminate) with an owner, and give every mitigating control a test whose observable fails when the control is removed.

Handoff policy:

Keep the model in Hermes: assets, boundaries, scenarios, control decisions, and test definitions are analysis over architecture the user supplies. Writing the tests, running a scanner, changing an IAM policy, or patching a component is executor work and needs observed evidence before a control counts as deployed.

Required inputs:

  • the system under review: components, which component calls which, and where each is deployed
  • data flows and data classes: what every store, queue, and message carries
  • known trust boundaries: authentication points, network edges, tenant separation, third parties
  • controls already deployed, and who owns each
  • scope exclusions and the threat actors in scope

Expert clarification questions:

  • the system under review: components, which component calls which, and where each is deployed
    • English: Which components make up the system, which of them call each other, and where does each one run?
    • Korean: 이 시스템은 어떤 컴포넌트로 구성되고, 서로 어떤 호출 관계이며, 각각 어디에서 실행되나요?
  • scope exclusions and the threat actors in scope
    • English: Which attackers are in scope — external, authenticated tenant, insider, compromised dependency — and what is out of scope?
    • Korean: 어떤 공격자를 범위에 포함하나요 — 외부, 인증된 테넌트, 내부자, 침해된 의존성 — 그리고 제외 범위는 무엇인가요?

Expected outputs:

  • application_threat_model/v1
  • asset register: data class plus the one loss that makes each asset worth defending
  • trust boundaries: what crosses, what authenticates the crossing, what the receiver assumes unchecked
  • attack scenarios: entry point, path, precondition, impact
  • one decision per scenario (mitigate, transfer, accept, eliminate) with an owner
  • per-control security test naming the observable that fails without it, plus residual risk

Artifact expectations:

  • application_threat_model/v1 with asset register, trust boundaries, attack scenarios, control decisions, and per-control tests
  • every control marked deployed, planned, or unverified; a scenario with no boundary and no asset is dropped, never carried

Safety rules:

  • Never write working exploit code, a payload, or a runnable attack script; a scenario names the entry point, the path, and the precondition, not the weapon.
  • Do not record a control as deployed because the architecture describes it; an unobserved control is unverified until configuration or a passing test says otherwise.
  • Do not model the agent's own prompts, tools, credentials, or dependencies here; that surface belongs to security-safety-review.
  • Never print secrets, tokens, keys, connection strings, or live customer records pulled in as examples.
  • A model is not a penetration test, a scan, or a compliance attestation; name which of the three the user still needs.

Runtime Evidence

Record observed delegation results; otherwise return not_available or not_observed. Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

  • Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. Preserve workflow intent and stop conditions; verify before claiming completion. Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a stop condition or a decision the user owns ends the turn, offer the next action as a question rather than declaring what will not be done.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.