Command Palette

Search for a command to run...

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

Security Architect

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

Comprehensive security architecture combining threat modeling, security-first design, secure coding review, and compliance validation. Consolidated from…

daffy0208от daffy0208★ 39 звёзд на GitHub16 установок в других каталогах

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

Security Architect

Overview

Security Architect is a consolidated skill that covers the complete security lifecycle: threat modeling, secure design principles, secure coding practices, and regulatory compliance. It ensures security is integrated from the start, not bolted on at the end.

Consolidated from:

  • threat-modeling - STRIDE threat analysis and risk assessment
  • security-first-design - Security principles and secure design patterns
  • secure-coding-review - OWASP Top 10 and vulnerability detection
  • compliance-validator - GDPR, HIPAA, SOC2, PCI-DSS compliance

When to Use This Skill

Use Security Architect when:

  • Starting a new project (design phase)
  • Conducting security architecture review
  • Reviewing code for security vulnerabilities
  • Ensuring regulatory compliance
  • Responding to security incidents
  • Planning for security certifications (SOC2, ISO 27001)
  • Designing authentication and authorization systems

Key Capabilities

Threat Modeling (from threat-modeling)

  • Apply STRIDE methodology for threat identification
  • Assess risk levels (Likelihood × Impact)
  • Create threat models and mitigation plans
  • Identify attack surfaces and trust boundaries

Security Design (from security-first-design)

  • Apply security principles (Defense in Depth, Least Privilege, Zero Trust)
  • Design secure authentication and authorization
  • Implement encryption and key management
  • Design secure APIs and data protection

Secure Coding (from secure-coding-review)

  • Review code against OWASP Top 10
  • Detect injection vulnerabilities (SQL, XSS, command)
  • Identify broken authentication and access control
  • Ensure secure data handling and validation

Compliance (from compliance-validator)

  • Ensure GDPR, HIPAA, CCPA, SOC2, PCI-DSS compliance
  • Implement data subject rights (access, erasure, portability)
  • Design audit logging and retention policies
  • Configure encryption and access controls

Workflow

Part 1: Threat Modeling (STRIDE)

STRIDE Framework

S - Spoofing (Authentication)

  • Threat: Attacker impersonates a user or system
  • Examples:
    • Stolen credentials
    • Session hijacking
    • Weak or no authentication
  • Mitigations:
    • Multi-factor authentication (MFA)
    • Strong password policies
    • JWT with short expiration
    • Secure session management

T - Tampering (Integrity)

  • Threat: Attacker modifies data or code
  • Examples:
    • SQL injection
    • Man-in-the-middle attacks
    • Parameter manipulation
    • Code injection
  • Mitigations:
    • Input validation and sanitization
    • HTTPS/TLS everywhere
    • Signed tokens (JWT)
    • Integrity checks (hashing)

R - Repudiation (Accountability)

  • Threat: User denies performing an action
  • Examples:
    • No audit logs
    • Unsigned transactions
    • Anonymous actions
  • Mitigations:
    • Comprehensive audit logging
    • Digital signatures for transactions
    • Immutable log storage
    • User action tracking

I - Information Disclosure (Confidentiality)

  • Threat: Sensitive data exposed to unauthorized parties
  • Examples:
    • Exposed API keys
    • Database dumps
    • Verbose error messages
    • Insufficient access controls
  • Mitigations:
    • Encryption at rest and in transit
    • Principle of least privilege
    • Secure secret management (AWS Secrets Manager, Vault)
    • Role-based access control (RBAC)

D - Denial of Service (Availability)

  • Threat: System becomes unavailable to legitimate users
  • Examples:
    • DDoS attacks
    • Resource exhaustion
    • Unhandled exceptions
  • Mitigations:
    • Rate limiting and throttling
    • Input validation (reject massive payloads)
    • Auto-scaling infrastructure
    • CDN and DDoS protection (Cloudflare)

E - Elevation of Privilege (Authorization)

  • Threat: User gains unauthorized access to higher privileges
  • Examples:
    • Broken access control
    • Insecure direct object references (IDOR)
    • Missing authorization checks
  • Mitigations:
    • Authorization checks on every request
    • Principle of least privilege
    • Attribute-based access control (ABAC)
    • Regular permission audits

Threat Modeling Process

Step 1: Identify Assets

  • User data (PII, passwords, financial info)
  • Business data (IP, customer lists, transactions)
  • System credentials (API keys, certificates)
  • Infrastructure (servers, databases, APIs)

Step 2: Identify Trust Boundaries

  • User ↔ Web App
  • Web App ↔ API
  • API ↔ Database
  • Internal services ↔ External APIs
  • Admin ↔ Production systems

Step 3: Apply STRIDE to Each Boundary For each boundary, ask:

  • S: Can an attacker spoof identity?
  • T: Can data be tampered with?
  • R: Can actions be repudiated?
  • I: Can information be disclosed?
  • D: Can service be denied?
  • E: Can privileges be elevated?

Step 4: Assess Risk

Risk = Likelihood × Impact

Likelihood:
- High (likely to occur)
- Medium (may occur)
- Low (unlikely to oc
Полный SKILL.md на GitHub

Установить Security Architect в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

manifest.yaml

FAQ

Что делает скилл Security Architect?

Comprehensive security architecture combining threat modeling, security-first design, secure coding review, and compliance validation. Consolidated from threat-modeling, security-first-design, secure-coding-review, and compliance-validator.

Как установить скилл Security Architect?

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

Скилл Security Architect запускает скрипты?

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

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

Сравнить Security Architect с