본문으로 건너뛰기
Skillpedia
보안48k · #5983

threat-modeling

하는 일

이 도구는 컴퓨터 시스템의 보안 약점을 찾아 고치도록 돕습니다. 데이터가 어떻게 이동하는지 분석하고, 공격이 발생할 수 있는 곳을 찾아 시스템을 보호하는 방법을 제안합니다.

사용하는 경우

  • ✓새 애플리케이션이나 서비스를 만들 때.
  • ✓기존 시스템에 큰 변경을 할 때.
  • ✓보안 감사 전에 필요한 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/threat-modeling/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/threat-modeling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 e-commerce 앱의 보안을 분석해 주세요. 사용자가 로그인하고 결제하는 방식에 중점을 두어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 STRIDE라는 방법을 사용해 여러 유형의 공격(다른 사람인 척하기, 데이터 변경 등)을 생각합니다. 시스템의 데이터 흐름을 지도로 그리고, 이러한 공격이 발생할 수 있는 곳과 막는 방법을 짚어 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Threat Modeling

Identify and mitigate security threats during system design.

When to Use This Skill

Use this skill when:

  • Designing a new system, service, or feature
  • Making significant architectural changes to existing systems
  • Onboarding a new third-party integration or dependency
  • Preparing for security audits or compliance reviews
  • Responding to a security incident to improve defenses
  • Reviewing infrastructure changes that affect trust boundaries

Prerequisites

  • System architecture documentation or design diagrams
  • Access to development and operations teams for context
  • Understanding of the system's data classification (PII, PHI, financial, etc.)
  • OWASP Threat Dragon or Microsoft Threat Modeling Tool (optional but helpful)
  • Whiteboard or diagramming tool for collaborative sessions

STRIDE Methodology

Threat Description Property Violated Mitigation Examples
Spoofing Pretending to be another user or system Authentication MFA, mTLS, API key validation, certificate pinning
Tampering Modifying data in transit or at rest Integrity HMAC, digital signatures, checksums, immutable logs
Repudiation Denying having performed an action Non-repudiation Audit logging, digital signatures, tamper-evident logs
Information Disclosure Exposing data to unauthorized parties Confidentiality Encryption (TLS, AES), access controls, data masking
Denial of Service Making service unavailable Availability Rate limiting, autoscaling, CDN, circuit breakers
Elevation of Privilege Gaining unauthorized higher access Authorization RBAC, principle of least privilege, input validation

STRIDE Worksheet Template

# stride-worksheet.yaml - Fill out one per component/trust boundary crossing
component:
  name: "API Gateway"
  owner: "Platform Team"
  data_classification: "Confidential"
  trust_boundary: "External -> Internal"

threats:
  - id: T001
    category: Spoofing
    description: "Attacker forges JWT tokens to impersonate users"
    attack_vector: "Stolen signing key or weak algorithm (HS256 with guessable secret)"
    likelihood: Medium
    impact: Critical
    risk_score: 15  # likelihood(3) x impact(5)
    existing_controls:
      - "JWT validation on every request"
      - "RS256 algorithm with rotated keys"
    gaps:
      - "No token binding to device/IP"
    recommended_mitigations:
      - "Add token binding claims"
      - "Implement short-lived tokens (15 min) with refresh"
      - "Monitor for token reuse from different IPs"
    status: "Mitigated (partial)"
    owner: "Auth Team"

  - id: T002
    category: Tampering
    description: "Man-in-the-middle modifies API requests"
    attack_vector: "Compromised network between client and gateway"
    likelihood: Low
    impact: High
    risk_score: 8
    existing_controls:
      - "TLS 1.3 enforced"
      - "HSTS enabled"
    gaps: []
    recommended_mitigations:
      - "Certificate pinning for mobile clients"
    status: "Mitigated"
    owner: "Platform Team"

  - id: T003
    category: Information Disclosure
    description: "Verbose error messages leak internal details"
    attack_vector: "Triggering errors returns stack traces, internal IPs, DB schema"
    likelihood: High
    impact: Medium
    risk_score: 12
    existing_controls:
      - "Generic error pages in production"
    gaps:
      - "Some microservices return raw exceptions"
    recommended_mitigations:
      - "Centralized error handling middleware"
      - "Error response schema validation"
    status: "Open"
    owner: "Backend Team"

  - id: T004
    category: Denial of Service
    description: "API rate limiting bypass through distributed requests"
    attack_vector: "Botnet sending requests below per-IP threshold"
    likelihood: Medium
    impact: High
    risk_score: 12
    existing_controls:
      - "Per-IP rate limiting at WAF"
    gaps:
      - "No aggregate rate limiting"
      - "No bot detection"
    recommended_mitigations:
      - "Add aggregate rate limiting per endpoint"
      - "Deploy bot detection (Cloudflare Bot Management)"
      - "Implement circuit breaker pattern"
    status: "Open"
    owner: "Platform Team"

  - id: T005
    category: Elevation of Privilege
    description: "IDOR allows accessing other users' data"
    attack_vector: "Manipulating resource IDs in API calls"
    likelihood: Medium

…
자주 묻는 질문

STRIDE란 무엇인가요?

여섯 가지 위협 범주의 약어입니다. Spoofing(스푸핑), Tampering(변조), Repudiation(부인), Information Disclosure(정보 노출), Denial of Service(서비스 거부), Elevation of Privilege(권한 상승)입니다.

이것을 쓰려면 보안 전문가여야 하나요?

아니요. 이 도구는 깊은 보안 지식이 없어도 시스템을 개발하거나 관리하는 누구나 쓸 수 있도록 설계되었습니다.

'신뢰 경계'란 무엇인가요?

인터넷과 서버 사이, 또는 시스템의 서로 다른 부분 사이처럼 신뢰가 바뀌는 지점입니다. 이 지점에서 보안을 분석하는 것이 중요합니다.

상세 정보

작성자의 원본 설명

Conduct threat modeling using STRIDE methodology. Identify threats, assess risks, and design security controls. Use when designing secure systems or assessing application security.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5983
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬