Ensure all development activities comply with Hack23's Information Security Management System (ISMS) based on ISO 27001:2022, with mappings to NIST CSF 2.0, CIS Controls v8.1, GDPR, NIS2, and EU CRA.
See also: sdlc-security-integration for actionable per-phase checklists that consolidate Information Security Policy + Secure Development Policy + Open Source Policy.
- MUST align all changes with ISMS policies
- MUST update SECURITY_ARCHITECTURE.md when security controls change
- MUST update THREAT_MODEL.md when new threats are identified
- MUST maintain security evidence for audits
- MUST follow classification requirements for all data handling
- MUST apply the CIA triad as the primary decision lens for every design and code change
- MUST document risk acceptance (by product owner) for any knowingly unmitigated residual risk
The Information Security Policy is the root of the ISMS. Every other policy derives from it. Every agent applies these directives:
- Security is everyone's responsibility — no feature ships without passing its SSDLC gates
- Risk-based decisions — evaluate likelihood × impact, prefer prevention over detection
- Defense in depth — layered controls (sandbox → gateway → firewall → app → CSP)
- Principle of least privilege — tokens, permissions, tools, workflow scopes all scoped minimally
- Segregation of duties — author cannot self-merge security-sensitive changes
- Continuous improvement — policies, threat model, and architecture reviewed at least quarterly
- Accountability — every control has an owner; every incident has a post-mortem
| Property | Target | Primary Controls |
|---|---|---|
| Confidentiality | Data is PUBLIC; build secrets CONFIDENTIAL | Environment secrets, GDPR-safe journalism, CSP, HTTPS-only, no reader tracking |
| Integrity | Medium-High — data accuracy is mission-critical | Input validation on MCP responses, SRI for CDN, signed commits, SLSA L3 provenance |
| Availability | Medium — 24h RTO for static site | GitHub Pages + CloudFront, workflow retries, multi-run fallback |
| Policy | Purpose | Link |
|---|---|---|
| Information Security | Overall security strategy, CIA triad, risk management | Link |
| Secure Development | SDLC security requirements, SSDLC gates | Link |
| Open Source | OSS governance, licensing, supply chain | Link |
| Classification | Data classification levels | Link |
| AI Policy | AI usage governance | Link |
| Access Control | Identity and access management | Link |
| Cryptography | Encryption and key management | Link |
| Incident Response | Security incident handling | Link |
| Business Continuity | Continuity and recovery | Link |
| Third Party Management | Vendor security assessment | Link |
| Level | Description | Handling |
|---|---|---|
| PUBLIC | Open to public | No restrictions |
| INTERNAL | Organization use only | Access control required |
| CONFIDENTIAL | Limited distribution | Encryption required |
| RESTRICTED | Highly sensitive | MFA + encryption required |
- Data Classification: PUBLIC (open parliamentary data)
- Build/CI Secrets Classification: CONFIDENTIAL (GitHub secrets, MCP API keys)
- Confidentiality: Public data, confidential build pipeline
- Integrity: Medium-High (data accuracy important)
- Availability: Medium (24hr RTO)
For each security control, maintain:
- Policy: Link to ISMS policy document
- Implementation: Code/config demonstrating compliance
- Testing: Test results validating control effectiveness
- Review: Date of last review and next scheduled review
- Ownership: Named role responsible for the control
| ISO 27001 Control | NIST CSF | CIS Control | Implementation |
|---|---|---|---|
| A.5.1 Information security policies | GV.PO | CIS-14 | ISMS-PUBLIC repository |
| A.5.7 Threat intelligence | ID.RA | CIS-13 | Dependabot, GHSA, CodeQL |
| A.5.19 Supplier relationships | ID.SC | CIS-15 | Third_Party_Management.md |
| A.5.23 Cloud services | PR.DS | CIS-12 | GitHub, AWS S3/CloudFront |
| A.8.8 Vuln management | DE.CM-8 | CIS-7 | Dependabot, npm audit |
| A.8.9 Config management | PR.IP-1 | CIS-4 | Security headers, CSP |
| A.8.16 Monitoring | DE.CM | CIS-8 | CI logs, GitHub audit log |
| A.8.24 Cryptography | PR.DS-2 | CIS-3.10 | TLS 1.3, HTTPS-only |
| A.8.25 Secure SDLC | PR.IP-2 | CIS-16 | CodeQL, ESLint, Vitest, gates |
| A.8.26 Application security requirements | PR.IP-2 | CIS-16 | Threat model in issues |
| A.8.28 Secure coding | PR.DS-6 | CIS-16.12 | Input validation, output encoding |
| A.8.32 Change management | PR.IP-3 | CIS-4.7 | PR review, protected branches |
All Hack23 repositories maintain security architecture documentation:
| Repository | Security Architecture | Future Architecture |
|---|---|---|
| cia | Current | Future |
| blacktrigram | Current | Future |
| cia-compliance-manager | Current | Future |
| European-Parliament-MCP-Server | Current | Future |
| riksdagsmonitor | Current | Future |
| ISMS-PUBLIC | Current | - |
- SDLC Security Integration skill — phase-by-phase gates & checklists
- Compliance Checklist
- Risk Register