Skip to content

Latest commit

 

History

History
114 lines (90 loc) · 7.72 KB

File metadata and controls

114 lines (90 loc) · 7.72 KB

🛡️ ISMS Compliance Skill

Purpose

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.

Rules

MUST (Critical)

  1. MUST align all changes with ISMS policies
  2. MUST update SECURITY_ARCHITECTURE.md when security controls change
  3. MUST update THREAT_MODEL.md when new threats are identified
  4. MUST maintain security evidence for audits
  5. MUST follow classification requirements for all data handling
  6. MUST apply the CIA triad as the primary decision lens for every design and code change
  7. MUST document risk acceptance (by product owner) for any knowingly unmitigated residual risk

Information Security Policy — Core Directives

The Information Security Policy is the root of the ISMS. Every other policy derives from it. Every agent applies these directives:

  1. Security is everyone's responsibility — no feature ships without passing its SSDLC gates
  2. Risk-based decisions — evaluate likelihood × impact, prefer prevention over detection
  3. Defense in depth — layered controls (sandbox → gateway → firewall → app → CSP)
  4. Principle of least privilege — tokens, permissions, tools, workflow scopes all scoped minimally
  5. Segregation of duties — author cannot self-merge security-sensitive changes
  6. Continuous improvement — policies, threat model, and architecture reviewed at least quarterly
  7. Accountability — every control has an owner; every incident has a post-mortem

CIA Triad for EU Parliament Monitor

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

ISMS Policy References

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

Classification Levels

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

EU Parliament Monitor Classification

  • 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)

Evidence Requirements

For each security control, maintain:

  1. Policy: Link to ISMS policy document
  2. Implementation: Code/config demonstrating compliance
  3. Testing: Test results validating control effectiveness
  4. Review: Date of last review and next scheduled review
  5. Ownership: Named role responsible for the control

Compliance Framework Mapping

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

Security Architecture References

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 -

Related Resources