omh-application-threat-model
O que ela faz
Ele transforma as partes de um sistema e seus fluxos de dados em um modelo de ameaças, com ativos, caminhos de ataque, controles e testes de segurança. É para desenvolvedores e revisores de segurança que planejam como proteger uma aplicação.
Quando usar
- ✓Quando você está projetando um sistema novo e quer encontrar caminhos de ataque cedo.
- ✓Quando você precisa de um modelo de ameaças para uma arquitetura com dados sensíveis.
- ✓Quando você quer saber qual teste de segurança comprova que cada controle funciona.
Link da skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-application-threat-model/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Monte um modelo de ameaças para nosso serviço de pagamentos, começando pelos componentes e fluxos de dados.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente pede o mapa de componentes e os fluxos de dados, e depois lista ativos, limites de confiança, cenários de ataque e controles. Cada controle é associado a um teste que mostra que ele se mantém.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Application Threat Model
This is an OMH application-threat-model workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
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.
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
Quality tier: security-safety-gated
Reasoning demand: standard
Quality bar:
- Name every component, data store, and external dependency of the real system
Perguntas frequentes
Ele revisa o código em busca de bugs?
Não. Defeitos de código são cobertos por uma skill separada de revisão de código.
Serve para segurança de agentes de IA?
Não. A segurança dos próprios prompts e ferramentas de um agente é coberta por uma skill separada de revisão de segurança.
O que ele precisa de mim?
Os componentes do sistema e como os dados se movem entre eles.
Detalhes
Descrição original do autor
[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.
repo: rlaope/oh-my-hermes
Popularidade
- Estrelas no GitHub
- 5,1 mil
- Posição no ranking
- #15076
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
omh-accessibility-audit
5,1 milAjuda seu agente a verificar uma tela ou um fluxo em busca de lacunas de acessibilidade, como uso pelo teclado, rótulos para leitores de tela, contraste e tamanho dos alvos de toque.
omh-adversarial-consensus
5,1 milAjuda seu agente a atacar uma proposta técnica por vários ângulos independentes antes de você se comprometer com ela, e depois resume o que sobrevive.
omh-agent-debug
5,1 milAjuda seu agente a descobrir por que outro agente de IA está travado, em loop ou se desviando, e sugere a forma mais segura e pequena de recuperá-lo.
omh-agent-instructions
5,1 milAjuda seu agente a escrever ou atualizar o arquivo de instruções, como AGENTS.md ou CLAUDE.md, que diz às ferramentas de IA como trabalhar em um projeto.
Skills parecidas
reverse-engineer-anything
422 milAjuda seu agente a analisar apps e pacotes já publicados para explicar recursos, comparar versões ou orientar uma reconstrução, usando a ferramenta REA.
1password
394 milAjuda seu agente a configurar a CLI do 1Password, fazer login e ler ou injetar segredos sem imprimir seus valores no chat.
healthcheck
394 milAjuda seu agente a auditar o computador ou servidor que roda o OpenClaw em busca de riscos como SSH, firewall, atualizações e backups, com correções seguras.