跳到正文
cccskills
免费在 GitHub 公开

omh-application-threat-model

Build a threat model, a structured analysis of possible attacks, from an application’s architecture and data flows. Identify valuable assets, trust boundaries, attack scenarios, control owners, and tests that would demonstrate whether each defense works.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

[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.

查看安装方法

适用场景

  • Reviewing threats to a payment service
  • Mapping authentication and external service boundaries
  • Defining security tests for proposed controls
  • Assigning risk decisions and owners

包含的文件(2)

  • SKILL.md10.5 KB
  • references/threat-model-method.md5.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 omh-security-safety-review, which maps that runtime surface.
  • The user wants defects found in a diff or a file; use omh-code-review.
  • The user asks whether a release is ready across rollout, rollback, and observability; use omh-production-audit.
  • The user asks which commands prove a merge is safe; use omh-verification-gate.
  • The user asks for a contractual or regulatory obligation rather than an attacker; use omh-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: skill_view(name='omh-routing', file_path='references/skill-common-rail.md').

When to Use

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: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

dag-ulw

免费

Coordinate a large job by splitting it into small tasks with explicit dependencies. Run ready tasks in parallel through Hermes, verify the combined result separately, and repair failures within defined limits before reporting completed work and remaining gaps.

中文简介正在准备中。当前显示英语简介。

  • Delivering a feature across multiple modules
  • Coordinating a migration with ordered steps
  • Managing a broad cleanup across separate work areas
rlaope/oh-my-hermes35712026年10月22日 更新

Guide the addition of a new model generation to oh-my-hermes. The workflow checks model recognition, official specifications, routing rules that select models for tasks, documented pricing, and live access, then validates changes with tests and comparative benchmarks.

中文简介正在准备中。当前显示英语简介。

  • Add a new model generation to oh-my-hermes
  • Check API model IDs and dated snapshot recognition
  • Update model selection chains and related documentation
rlaope/oh-my-hermes35712026年10月22日 更新

Prepare an accessibility audit for an interface using WCAG 2.2 AA, an accessibility standard. Organize evidence for keyboard use, screen readers, contrast, target size, and zoom behavior, then document findings, missing checks, and remediation handoffs.

中文简介正在准备中。当前显示英语简介。

  • Reviewing checkout accessibility against WCAG 2.2 AA
  • Checking keyboard access and focus order
  • Organizing screen-reader labels and announcement evidence
rlaope/oh-my-hermes35712026年10月22日 更新

Summarize earned badges, recent unlocks, achievement tiers, and progress using local files from the hermes-achievements plugin. Prepare a badge list or report section while making missing information and the limits of the recorded snapshot clear.

中文简介正在准备中。当前显示英语简介。

  • Checking earned badges
  • Reviewing recently unlocked achievements
  • Finding progress toward the next achievement tier
rlaope/oh-my-hermes35712026年10月22日 更新

Examine a technical proposal through independent perspectives, challenge their findings, and resolve objections. The result is a structured set of constraints, decisions, risks, and open questions for a separate planning workflow.

中文简介正在准备中。当前显示英语简介。

  • Reviewing a technical proposal before planning
  • Challenging assumptions behind a migration
  • Organizing risks and unresolved questions
rlaope/oh-my-hermes35712026年10月22日 更新

Coordinate multiple Hermes agents or profiles through a shared task board. Organize assignments, handoffs, activity updates, blockers, and completion states, while distinguishing planned actions from work supported by observed results.

中文简介正在准备中。当前显示英语简介。

  • Coordinate agent roles for a launch checklist
  • Track task handoffs and blockers
  • Prepare work for pickup across profiles or after a restart
rlaope/oh-my-hermes35712026年10月22日 更新

查看 rlaope 的全部技能

报告此技能的问题