Command Palette

Search for a command to run...

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

security-architect

БесплатноЗапускает вложенные скриптыНе проверен

Security architecture and threat modeling. OWASP Top 10 2025 analysis, OWASP Agentic AI Top 10 (ASI01-ASI10), AI/LLM security patterns, supply chain security…

oimiragieoот oimiragieo★ 48 звёзд на GitHub

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

Security Architect Skill

Security Architect Skill - Performs threat modeling, OWASP Top 10 2025 analysis, OWASP Agentic AI Top 10 (ASI01-ASI10) assessment, AI/LLM security review, supply chain hardening, modern API authentication design, and vulnerability assessment for code and infrastructure. - Threat modeling (STRIDE) - OWASP Top 10 2025 vulnerability analysis (updated list) - OWASP Agentic AI Top 10 (ASI01-ASI10) — AI agent-specific risks - AI/LLM security: prompt injection defense, tool sandboxing, memory poisoning prevention - Supply chain security: dependency confusion, typosquatting, SBOM, lockfile enforcement - Modern API authentication: OAuth 2.1, DPoP (RFC 9449), Passkeys/WebAuthn (FIDO2) - Security code review - Authentication/Authorization design - Encryption and secrets management - Security architecture patterns

Step 1: Threat Modeling (STRIDE)

Analyze threats using STRIDE:

Threat Description Example
Spoofing Impersonating users/systems Stolen credentials
Tampering Modifying data SQL injection
Repudiation Denying actions Missing audit logs
Information Disclosure Data leaks Exposed secrets
Denial of Service Blocking access Resource exhaustion
Elevation of Privilege Gaining unauthorized access Broken access control

For AI/agentic systems, extend STRIDE with:

  • Goal Hijacking (Spoofing + Tampering): Adversarial prompts redirect agent objectives
  • Memory Poisoning (Tampering + Information Disclosure): Persistent context corruption
  • Tool Misuse (Elevation of Privilege): Legitimate tools abused beyond intended scope

Step 2: OWASP Top 10 2025 Analysis

IMPORTANT: The OWASP Top 10 was updated in 2025 with two new categories and significant ranking shifts. Use this updated list, not the 2021 version.

Rank ID Vulnerability Key Change from 2021
1 A01 Broken Access Control Stable at #1; SSRF consolidated here
2 A02 Security Misconfiguration Up from #5
3 A03 Software Supply Chain Failures NEW — replaces Vulnerable Components
4 A04 Cryptographic Failures Down from #2
5 A05 Injection Down from #3
6 A06 Insecure Design Down from #4
7 A07 Authentication Failures Stable (renamed)
8 A08 Software or Data Integrity Failures Stable
9 A09 Security Logging and Alerting Failures Stable
10 A10 Mishandling of Exceptional Conditions NEW

Check for each vulnerability:

  1. A01: Broken Access Control (includes SSRF from 2021)

    • Verify authorization on every endpoint; deny by default
    • Check for IDOR (Insecure Direct Object Reference) vulnerabilities
    • Validate/sanitize all URLs; use allowlists for outbound requests (absorbed SSRF)
    • Enforce CORS policies; restrict cross-origin requests
  2. A02: Security Misconfiguration (up from #5 — now #2, affects ~3% of tested apps)

    • Harden defaults; disable unnecessary features, ports, services
    • Remove sample/default credentials and example content
    • Ensure consistent security settings across all environments (dev/staging/prod)
    • Review cloud storage ACLs, IAM policies, and network security groups
  3. A03: Software Supply Chain Failures (NEW — highest avg exploit/impact scores)

    • Maintain an SBOM (Software Bill of Materials) for all dependencies
    • Enforce lockfiles (package-lock.json, yarn.lock, poetry.lock) and verify integrity
    • Use private registry scoping to prevent dependency confusion attacks
    • Audit postinstall scripts; disable or allowlist explicitly
    • Pin dependencies to exact versions and verify hashes/signatures
    • Monitor CVE databases and security advisories (Dependabot, Snyk, Socket.dev)
    • Harden CI/CD pipelines; enforce separation of duty (no single actor: write → deploy)
    • Block exotic transitive dependencies (git URLs, direct tarballs) in production
  4. A04: Cryptographic Failures (down from #2)

    • Use strong algorithms: AES-256-GCM, SHA-256+, bcrypt/scrypt/Argon2 for passwords
    • Never store plaintext passwords; enforce TLS 1.2+ everywhere
Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Write
Edit
Bash
Glob
Grep

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

commands/security-architect.mdhooks/post-execute.cjshooks/pre-execute.cjsknowledge/authentication-patterns.mdknowledge/owasp-agentic-ai-top-10.mdknowledge/owasp-top-10-2025.mdmanifest.jsonobservations/.gitkeepobservations/README.mdreferences/research-requirements.mdrules/security-architect.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjssetup.cjstemplates/implementation-template.md

FAQ

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

Security architecture and threat modeling. OWASP Top 10 2025 analysis, OWASP Agentic AI Top 10 (ASI01-ASI10), AI/LLM security patterns, supply chain security, modern API authentication (OAuth 2.1, DPoP, Passkeys/WebAuthn), vulnerability assessment, and security review for code and infrastructure.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

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