security-architecture
FreeNo executable scriptsNot checkedSecurity architecture documentation requirements including threat models, security controls, and defense-in-depth patterns
by Hack23★ 15 GitHub starsAbout this skill
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 architectureFUTURE_SECURITY_ARCHITECTURE.md- Planned security improvementsTHREAT_MODEL.md- Threat analysis and mitigations- Security section in main
README.md - Security policy (
.github/SECURITY.md)
SECURITY_ARCHITECTURE.md Requirements
MUST INCLUDE:
- Overview - System security posture summary
- Security Controls - Implemented controls mapped to frameworks (ISO 27001, NIST CSF, CIS Controls)
- Authentication & Authorization - Identity management approach
- Data Protection - Encryption at rest and in transit
- Network Security - Firewall rules, network segmentation, DMZ architecture
- Monitoring & Logging - Security event logging and SIEM integration
- Incident Response - Security incident handling procedures
- Compliance Mapping - How architecture meets compliance requirements
- 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:
- Security Roadmap - Planned security enhancements with timeline
- Gap Analysis - Current vs. desired state
- Security Initiatives - Planned projects to improve security
- Technology Evolution - Future security technologies to adopt
- Risk Mitigation Plans - How future changes will reduce risks
- Compliance Improvements - Plans to meet future compliance requirements
THREAT_MODEL.md Requirements
MUST INCLUDE:
- System Overview - What is being protected
- Assets - Critical data and systems
- Threat Actors - Who might attack and their motivations
- Attack Vectors - How attacks might occur
- Threats - Specific threats using STRIDE or similar methodology:
- Spoofing
- Tampering
- Repudiation
- Information Disclosure
- Denial of Service
- Elevation of Privilege
- Risk Assessment - Likelihood and impact of each threat
- Mitigations - Controls to prevent or reduce each threat
- 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:
Perimeter Security
- Web Application Firewall (WAF)
- DDoS protection
- Rate limiting
- Geo-blocking (if applicable)
Network Security
- Network segmentation (DMZ, application tier, data tier)
- VPN for remote access
- Zero-trust networking
- Private subnets for sensitive resources
Application Security
- Input validation
- Output encoding
- Authentication & authorization
- Session management
- CSRF protection
- Secure headers (CSP, HSTS, X-Frame-Options)
Data Security
- Encryption at rest (AES-256)
- Encryption in transit (TLS 1.2+)
- Data classification and handling
- Secure key management
- Database access controls
Monitoring & Detection
- Security event logging
- Intrusion detection/prevention (IDS/IPS)
- Anomaly detection
- Security alerts and incident response
- Audit logging
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
Install security-architecture in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the security-architecture skill do?
Security architecture documentation requirements including threat models, security controls, and defense-in-depth patterns
How do I install the security-architecture skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the security-architecture skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic