threat-modeling-expert – skill Bảo mật cho agent AI
Chuyên gia về các phương pháp mô hình hóa mối đe dọa, rà soát kiến trúc bảo mật và đánh giá rủi ro. Thành thạo STRIDE, PASTA, attack trees và trích xuất yêu cầu bảo mật. Dùng PROACTIVELY khi rà soát kiến trúc bảo mật, xác định mối đe dọa hoặc xây dựng hệ thống secure-by-design.
Cài skill threat-modeling-expert bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/threat-modeling-expert-7abc2.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /threat-modeling-expert – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/threat-modeling-expert-7abc2.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $threat-modeling-expert – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/threat-modeling-expert-7abc2.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /threat-modeling-expert – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/threat-modeling-expert-7abc2.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /threat-modeling-expert – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Threat Modeling Expert
Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use PROACTIVELY for security architecture reviews, threat identification, or building secure-by-design systems.
Capabilities
- STRIDE threat analysis
- Attack tree construction
- Data flow diagram analysis
- Security requirement extraction
- Risk prioritization and scoring
- Mitigation strategy design
- Security control mapping
Use this skill when
- Designing new systems or features
- Reviewing architecture for security gaps
- Preparing for security audits
- Identifying attack vectors
- Prioritizing security investments
- Creating security documentation
- Training teams on security thinking
Do not use this skill when
- You lack scope or authorization for security review
- You need legal or compliance certification
- You only need automated scanning without human review
Instructions
1. Define system scope and trust boundaries
2. Create data flow diagrams
3. Identify assets and entry points
4. Apply STRIDE to each component
5. Build attack trees for critical paths
6. Score and prioritize threats
7. Design mitigations
8. Document residual risks
Safety
- Avoid storing sensitive details in threat models without access controls.
- Keep threat models updated after architecture changes.
Best Practices
- Involve developers in threat modeling sessions
- Focus on data flows, not just components
- Consider insider threats
- Update threat models with architecture changes
- Link threats to security requirements
- Track mitigations to implementation
- Review regularly, not just at design time
Example
User request:
> Design new systems or features.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- top-web-vulnerabilities – Tài liệu tham khảo minh họa, có thể chồng lấp, về các mẫu lỗ hổng ứng dụng web phổ biến…
- usage-engineer – Cắt giảm token lãng phí trong phiên coding agent: nén log dài, dừng việc thử lại giống…
- vendor-management – Triển khai chương trình quản lý rủi ro nhà cung cấp. Đánh giá bảo mật bên thứ ba và duy…
- vercel-optimize – Kiểm tra ứng dụng Vercel đã triển khai về chi phí và hiệu năng bằng số liệu, cấu hình…
- vulnerability-scanner – Nguyên tắc phân tích lỗ hổng nâng cao. OWASP 2025, bảo mật chuỗi cung ứng, lập bản đồ bề…
- vulnerability-scanning – Quét hệ thống và dependency để tìm CVE và lỗ hổng bảo mật.
- waf-setup – Triển khai và tinh chỉnh Web Application Firewall. Cấu hình rule bảo vệ theo OWASP Top…
- wcag-audit-patterns – Hướng dẫn toàn diện kiểm tra nội dung web theo chuẩn WCAG 2.2, kèm các chiến lược khắc…