Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

threat-modeling威胁建模

Agent Skill

threat-modeling 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

31,147

周安装

1,260

GitHub Stars

公开资料未说明

下载量

9,778
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:threat-modeling(威胁建模)
来源仓库:https://github.com/brandonwise/threat-modeling
安装命令:
openclaw skills install threat-modeling
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install threat-modeling

简介

使用 STRIDE 模型进行结构化威胁识别与风险评估。

  • 提供攻击树分析与风险评分,辅助系统设计优化。
  • 适合架构师与安全工程师在开发前期介入使用。
  • 使用时需明确系统边界与数据流路径。threat-modeling 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前请核实权限范围及是否会触发外部工具调用。

SKILL.md

Threat Modeling Expert

Expert in threat modeling methodologies, security architecture review, and risk assessment using STRIDE, PASTA, attack trees, and security requirement extraction.

Description

USE WHEN:

  • Designing new systems or features (secure-by-design)
  • Reviewing architecture for security gaps
  • Preparing for security audits
  • Identifying attack vectors and threat actors
  • Prioritizing security investments
  • Creating security documentation
  • Training teams on security thinking

DON'T USE WHEN:

  • Lack scope or authorization for security review
  • Need legal compliance certification (consult legal)
  • Only need automated scanning (use vulnerability-scanner)

Core Process

1. Define Scope

  • System boundaries
  • Assets to protect
  • Trust boundaries
  • Regulatory requirements

2. Create Data Flow Diagram

[User] → [Web App] → [API Gateway] → [Backend] → [Database]
                ↓
          [External API]

3. Identify Assets & Entry Points

  • Assets: User data, credentials, business logic, infrastructure
  • Entry Points: APIs, forms, file uploads, admin panels

4. Apply STRIDE

  • Spoofing: Can someone impersonate?
  • Tampering: Can data be modified?
  • Repudiation: Can actions be denied?
  • Information Disclosure: Can data leak?
  • Denial of Service: Can availability be affected?
  • Elevation of Privilege: Can access be escalated?

5. Build Attack Trees

Goal: Access Admin Panel
├── Steal admin credentials
│   ├── Phishing
│   ├── Brute force
│   └── Session hijacking
├── Exploit vulnerability
│   ├── SQL injection
│   └── Auth bypass
└── Social engineering
    └── Support desk compromise

6. Score & Prioritize

Use DREAD or CVSS:

  • Damage potential
  • Reproducibility
  • Exploitability
  • Affected users
  • Discoverability

7. Design Mitigations

Map threats to controls and validate coverage.

8. Document Residual Risks

What's accepted vs. mitigated.


STRIDE Analysis Template

ComponentSpoofingTamperingRepudiationInfo DisclosureDoSEoP
Web AppAuth bypassXSS, CSRFMissing logsError messagesRate limitBroken access
APIToken theftInput manipNo auditData exposureResource exhaustPrivilege escalation
DatabaseCredential theftSQL injectionNo audit trailBackup exposureConnection floodDirect access

Threat Categories by Layer

Application Layer

  • Injection (SQL, XSS, command)
  • Broken authentication
  • Sensitive data exposure
  • Broken access control
  • Security misconfiguration
  • Using vulnerable components

Network Layer

  • Man-in-the-middle
  • Eavesdropping
  • Replay attacks
  • DNS spoofing
  • DDoS

Infrastructure Layer

  • Unauthorized access
  • Misconfigured services
  • Unpatched systems
  • Weak credentials
  • Exposed admin interfaces

Human Layer

  • Phishing
  • Social engineering
  • Insider threats
  • Credential sharing

Data Flow Diagram Elements

ElementSymbolDescription
External EntityRectangleUsers, external systems
ProcessCircleApplication logic
Data StoreParallel linesDatabase, cache, files
Data FlowArrowData movement
Trust BoundaryDashed lineSecurity perimeter

Risk Prioritization Matrix

              LOW IMPACT    HIGH IMPACT
HIGH LIKELIHOOD   MEDIUM        HIGH
LOW LIKELIHOOD    LOW           MEDIUM

DREAD Scoring (1-10 each)

FactorQuestion
DamageHow bad if exploited?
ReproducibilityHow easy to reproduce?
ExploitabilityHow easy to attack?
Affected UsersHow many impacted?
DiscoverabilityHow easy to find?

Score: Sum / 5 = Risk Level


Mitigation Strategies

Input Validation

  • Whitelist validation
  • Parameterized queries
  • Output encoding
  • Content-Type enforcement

Authentication

  • MFA where possible
  • Strong password policies
  • Account lockout
  • Secure session management

Authorization

  • Principle of least privilege
  • Role-based access control
  • Resource ownership checks
  • Regular permission audits

Cryptography

  • TLS 1.2+ everywhere
  • Strong key management
  • Secure password hashing
  • Encrypted data at rest

Monitoring

  • Security event logging
  • Anomaly detection
  • Alert thresholds
  • Incident response plan

Best Practices

  1. Involve developers in threat modeling sessions
  2. Focus on data flows, not just components
  3. Consider insider threats
  4. Update models with architecture changes
  5. Link threats to security requirements
  6. Track mitigations to implementation
  7. Review regularly, not just at design time
  8. Keep models living documents

Output Template

# Threat Model: [System Name]

## Scope
- Components in scope
- Out of scope

## Assets
- Critical assets list

## Trust Boundaries
- Internal vs external
- Admin vs user

## Data Flow Diagram
[DFD here]

## STRIDE Analysis
[Table here]

## Prioritized Threats
1. [High] Description - Mitigation
2. [Medium] Description - Mitigation

## Residual Risks
- Accepted risks with justification

## Review Schedule
- Next review date

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.84%
按下载量换算8,393

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills