omh-application-threat-model
Skill này làm gì
Skill này biến các thành phần và luồng dữ liệu của một hệ thống thành mô hình mối đe dọa, gồm tài sản, đường tấn công, biện pháp kiểm soát và kiểm thử bảo mật. Skill dành cho lập trình viên và người rà soát bảo mật đang lên kế hoạch bảo vệ một ứng dụng.
Khi nào nên dùng
- ✓Khi bạn đang thiết kế một hệ thống mới và muốn tìm đường tấn công từ sớm.
- ✓Khi bạn cần mô hình mối đe dọa cho một kiến trúc có dữ liệu nhạy cảm.
- ✓Khi bạn muốn biết kiểm thử bảo mật nào chứng minh mỗi biện pháp kiểm soát hoạt động.
Liên kết skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-application-threat-model/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Xây dựng mô hình mối đe dọa cho dịch vụ thanh toán của chúng tôi, bắt đầu từ các thành phần và luồng dữ liệu của nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent yêu cầu bản đồ thành phần và luồng dữ liệu, rồi liệt kê tài sản, ranh giới tin cậy, kịch bản tấn công và biện pháp kiểm soát. Mỗi biện pháp kiểm soát được ghép với một kiểm thử cho thấy nó hoạt động.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có rà soát mã để tìm lỗi không?
Không. Các lỗi mã được bao phủ bởi một skill rà soát mã riêng.
Nó có dành cho bảo mật của agent AI không?
Không. Bảo mật của chính prompt và công cụ của agent được bao phủ bởi một skill rà soát an toàn riêng.
Nó cần gì từ tôi?
Các thành phần của hệ thống và cách dữ liệu di chuyển giữa chúng.
Chi tiết
Mô tả gốc của tác giả
[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
Độ phổ biến
- Sao GitHub
- 5.1k
- Vị trí xếp hạng
- #15076
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
omh-accessibility-audit
5.1kGiúp agent của bạn kiểm tra màn hình hoặc luồng có khoảng trống về khả năng truy cập không, như dùng bàn phím, nhãn trình đọc màn hình, tương phản và vùng chạm.
omh-adversarial-consensus
5.1kGiúp agent của bạn tấn công một đề xuất kỹ thuật từ nhiều góc độ độc lập trước khi bạn cam kết, rồi tổng hợp những gì còn đứng vững.
omh-agent-debug
5.1kGiúp agent của bạn tìm hiểu vì sao một agent AI khác bị kẹt, lặp vòng hoặc trôi khỏi nhiệm vụ, và gợi ý cách phục hồi nhỏ nhất an toàn.
omh-agent-instructions
5.1kGiúp agent của bạn viết hoặc cập nhật tệp hướng dẫn, như AGENTS.md hoặc CLAUDE.md, để nói cho các công cụ AI cách làm việc trong một dự án.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.