Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

security-architecture

БесплатноБез исполняемых скриптовНе проверен

Security architecture documentation requirements including threat models, security controls, and defense-in-depth patterns

Hack23от Hack23★ 15 звёзд на GitHub

Об этом скилле

Security Architecture Skill

Purpose

This skill defines requirements for security architecture documentation following Hack23 ISMS policies. It ensures that security controls, threat models, and defense-in-depth strategies are properly documented and maintained for all systems.

Rules

Required Documentation

MUST CREATE:

  • SECURITY_ARCHITECTURE.md - Current security controls and architecture
  • FUTURE_SECURITY_ARCHITECTURE.md - Planned security improvements
  • THREAT_MODEL.md - Threat analysis and mitigations
  • Security section in main README.md
  • Security policy (.github/SECURITY.md)

SECURITY_ARCHITECTURE.md Requirements

MUST INCLUDE:

  1. Overview - System security posture summary
  2. Security Controls - Implemented controls mapped to frameworks (ISO 27001, NIST CSF, CIS Controls)
  3. Authentication & Authorization - Identity management approach
  4. Data Protection - Encryption at rest and in transit
  5. Network Security - Firewall rules, network segmentation, DMZ architecture
  6. Monitoring & Logging - Security event logging and SIEM integration
  7. Incident Response - Security incident handling procedures
  8. Compliance Mapping - How architecture meets compliance requirements
  9. Security Diagrams - C4 diagrams showing trust boundaries and security zones

MUST NOT:

  • Expose sensitive security details (specific firewall rules, vulnerability details)
  • Include credentials or secrets
  • Document security through obscurity approaches

FUTURE_SECURITY_ARCHITECTURE.md Requirements

MUST INCLUDE:

  1. Security Roadmap - Planned security enhancements with timeline
  2. Gap Analysis - Current vs. desired state
  3. Security Initiatives - Planned projects to improve security
  4. Technology Evolution - Future security technologies to adopt
  5. Risk Mitigation Plans - How future changes will reduce risks
  6. Compliance Improvements - Plans to meet future compliance requirements

THREAT_MODEL.md Requirements

MUST INCLUDE:

  1. System Overview - What is being protected
  2. Assets - Critical data and systems
  3. Threat Actors - Who might attack and their motivations
  4. Attack Vectors - How attacks might occur
  5. Threats - Specific threats using STRIDE or similar methodology:
    • Spoofing
    • Tampering
    • Repudiation
    • Information Disclosure
    • Denial of Service
    • Elevation of Privilege
  6. Risk Assessment - Likelihood and impact of each threat
  7. Mitigations - Controls to prevent or reduce each threat
  8. Residual Risks - Accepted risks after mitigations

Threat Prioritization:

  • Critical: Immediate action required
  • High: Remediate within 30 days
  • Medium: Remediate within 90 days
  • Low: Accept or remediate opportunistically

Defense-in-Depth Layers

MUST IMPLEMENT:

  1. Perimeter Security

    • Web Application Firewall (WAF)
    • DDoS protection
    • Rate limiting
    • Geo-blocking (if applicable)
  2. Network Security

    • Network segmentation (DMZ, application tier, data tier)
    • VPN for remote access
    • Zero-trust networking
    • Private subnets for sensitive resources
  3. Application Security

    • Input validation
    • Output encoding
    • Authentication & authorization
    • Session management
    • CSRF protection
    • Secure headers (CSP, HSTS, X-Frame-Options)
  4. Data Security

    • Encryption at rest (AES-256)
    • Encryption in transit (TLS 1.2+)
    • Data classification and handling
    • Secure key management
    • Database access controls
  5. Monitoring & Detection

    • Security event logging
    • Intrusion detection/prevention (IDS/IPS)
    • Anomaly detection
    • Security alerts and incident response
    • Audit logging
  6. Physical Security

    • Secure data center (for on-premise)
    • Access controls
    • Environmental controls
    • Asset management

Security Control Categories

Preventive Controls:

  • Access controls
  • Encryption
  • Input validation
  • Firewall rules
  • Secure configuration

Detective Controls:

  • Logging
  • Monitoring
  • Intrusion detection
  • Vulnerability scanning
  • Audit reviews

Corrective Controls:

  • Incident response
  • Patch management
  • Backup and recovery
  • Business continuity

Deterrent Controls:

  • Security awareness training
  • Legal agreements (NDAs)
  • Security policies
  • Audit reports

Security Zones

Public Zone (Untrusted):

  • Static website content
  • Public APIs (read-only, rate-limited)
  • CDN distribution

DMZ (Semi-trusted):

  • Web servers
  • API gateways
  • Load balancers
  • WAF

Application Zone (Trusted):

  • Application servers
  • Business logic
  • Internal APIs
  • Background workers

Data Zone (Highly Trusted):

  • Databases
  • File storage with sensitive data
  • Key management systems
  • Backup systems

Examples

Example 1: SECURITY_ARCHITECTURE.md Template

# Security Architecture - Hack23 Homepage

## Overview

The Hac
Полный SKILL.md на GitHub

Установить security-architecture в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл security-architecture?

Security architecture documentation requirements including threat models, security controls, and defense-in-depth patterns

Как установить скилл security-architecture?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-architecture запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить security-architecture с