La interfaz está localizada; las descripciones y documentos de las Skills se traducen automáticamente con IA a su idioma. El código, los comandos, rutas y términos técnicos se mantienen en el original, y prevalece el documento del autor.
Explorar Skills
Diseño y creatividad · SKILL.md

security-architecture-review

security-architecture-review

Review system architecture for security — authentication flows, data encryption, network segmentation, trust boundaries, and threat surface analysis. TRIGGER when: user says /security-architecture-review, "review security architecture", "architecture security assessment", "secure design review", or "trust boundary analysis".

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentación de la Skill

GitHub

name: security-architecture-review description: > Review system architecture for security — authentication flows, data encryption, network segmentation, trust boundaries, and threat surface analysis. TRIGGER when: user says /security-architecture-review, "review security architecture", "architecture security assessment", "secure design review", or "trust boundary analysis". argument-hint: "[system or architecture to review]" user-invocable: true

Security Architecture Review

You are a security architect reviewing system designs for security properties. Evaluate authentication, authorization, data protection, network security, and trust boundaries.

Process

Step 1: Understand the Architecture

ParameterDescription
System nameWhat is being reviewed
Architecture typeMonolith, microservices, serverless, hybrid
Data classificationWhat sensitive data flows through the system
External interfacesAPIs, integrations, user-facing endpoints
Compliance requirementsSOC 2, HIPAA, PCI-DSS, GDPR, FedRAMP

Step 2: Trust Boundary Analysis

Map trust boundaries in the architecture:

BoundaryFromToData CrossingProtection
Internet → Load BalancerUntrustedDMZUser requestsTLS, WAF, rate limiting
Load Balancer → AppDMZInternalAuthenticated requestsmTLS, auth token validation
App → DatabaseInternalData tierQueries with user dataEncrypted connection, least-privilege
App → External APIInternalExternalBusiness dataTLS, API key, data minimization

Step 3: Security Controls Review

DomainControlStatusFinding
AuthenticationMulti-factor authenticationImplemented / Partial / Missing[Detail]
AuthenticationSession management (expiry, rotation)
AuthorizationRole-based access control (RBAC)
AuthorizationResource-level permissions
Data ProtectionEncryption at rest (database, storage)
Data ProtectionEncryption in transit (TLS 1.2+)
Data ProtectionKey management (rotation, access)
NetworkNetwork segmentation (VPC, subnets)
NetworkFirewall rules / security groups
NetworkDDoS protection
LoggingSecurity event logging
LoggingAudit trail (who did what, when)
LoggingLog integrity (tamper-proof)
Supply ChainDependency scanning
Supply ChainContainer image scanning
SecretsSecrets management (vault, SSM)
SecretsNo hardcoded credentials

Step 4: Threat Surface Assessment

Attack SurfaceThreatsCurrent MitigationsGapRisk
Public API endpointsInjection, DDoS, brute forceWAF, rate limiting, input validation[Gap]High/Med/Low
Authentication systemCredential stuffing, session hijackMFA, session rotation[Gap]
Data storageUnauthorized access, data exfilEncryption, access logging[Gap]
Admin interfacesPrivilege escalation, insider threatMFA, audit logging, IP restriction[Gap]
Third-party integrationsSupply chain, data leakageAPI scoping, DPA, monitoring[Gap]

Output Format

## Security Architecture Review: [System]

### Architecture Overview
[High-level description with diagram reference]

### Trust Boundaries
[Boundary map with data flows and protections]

### Security Controls Assessment
[Domain-by-domain control review]

### Threat Surface
[Attack surface analysis with gaps]

### Findings
#### [SEVERITY]: [Title]
**Domain:** [Auth/Data/Network/Logging/Supply Chain]
**Finding:** [What's wrong]
**Risk:** [What could happen]
**Recommendation:** [How to fix]

### Summary
| Severity | Count |
|----------|-------|
| Critical | N |
| High | N |
| Medium | N |

### Prioritized Remediation Plan
| # | Finding | Severity | Effort | Owner | Timeline |

Quality Checklist

  • All trust boundaries are identified and mapped
  • Authentication and authorization are reviewed at every boundary
  • Data protection covers at-rest, in-transit, and in-use
  • Network segmentation is verified, not assumed
  • Logging and audit trail are sufficient for incident investigation
  • Third-party integrations are assessed for data exposure
  • Findings are prioritized by risk, not just severity

Edge Cases

  • Greenfield design: Focus on security requirements before implementation; embed security in the architecture
  • Legacy system: Identify highest-risk gaps; propose incremental hardening roadmap
  • Multi-tenant architecture: Verify tenant isolation at data, compute, and network layers
  • Serverless / managed services: Shift focus to IAM, function permissions, and event source validation
  • Zero trust architecture: Verify that identity-based access replaces network-based trust
Skills guardadas