一键导入
isms-compliance
// Hack23 ISMS alignment — ISO 27001:2022, NIST CSF 2.0, CIS Controls v8.1, GDPR, NIS2, EU CRA — with policy citations
// Hack23 ISMS alignment — ISO 27001:2022, NIST CSF 2.0, CIS Controls v8.1, GDPR, NIS2, EU CRA — with policy citations
AI-assisted development governance — Copilot custom agents, MCP servers, change control, audit trail — per Hack23 ISMS AI Policy
Clear technical documentation — JSDoc, Mermaid, READMEs, ADRs, C4 diagrams, ISMS policy citations
React re-render optimization, Three.js rendering performance, useMemo/useCallback, bundle size, 60 fps profiling, Lighthouse budgets
Three.js game development with React using @react-three/fiber and @react-three/drei — strict TypeScript, 60 fps, accessible
Defense-in-depth security principles — OWASP Top 10 prevention, input validation, secure error handling, encryption, least privilege
Vitest + Cypress + RTL — deterministic tests, ≥80% line / ≥70% branch coverage, ≥95% on security code, Three.js component testing
| name | isms-compliance |
| description | Hack23 ISMS alignment — ISO 27001:2022, NIST CSF 2.0, CIS Controls v8.1, GDPR, NIS2, EU CRA — with policy citations |
| license | MIT |
Applies when adding features, dependencies, or security controls; editing security code; documenting architecture; touching CI/CD; or handling any sensitive data.
All practices align with Hack23 AB's ISMS-PUBLIC, implementing ISO 27001:2022, NIST CSF 2.0, CIS Controls v8.1, GDPR, NIS2, and EU CRA readiness.
| Concern | Policy |
|---|---|
| Overarching governance / incident / transparency | Information Security Policy |
| SDLC / CI / testing / deployment / threat modeling | Secure Development Policy |
| Dependencies / licenses / SBOM / supply chain | Open Source Policy |
| Auth / identity / access | Access Control Policy |
| Encryption / keys / hashing | Cryptography Policy |
| Data handling / classification | Data Classification Policy |
| Personal data / GDPR | Privacy Policy |
| STRIDE / abuse cases / MITRE ATT&CK | Threat Modeling |
| Vulnerability triage + patch SLAs | Vulnerability Management |
| Copilot / LLM / MCP governance | AI Policy |
| Agent / MCP / workflow edits | Change Management |
| BCP / DR / backup | Business Continuity / Disaster Recovery / Backup Recovery |
npm audit + npm run test:licenses + GitHub Advisory DB before addingSECURITY_HEADERS.md)| Phase | Gate |
|---|---|
| Plan & Design | Classification (CIA triad) + threat model + policy links |
| Develop | OWASP-aligned, typed, no hardcoded secrets, least-privilege tokens |
| Test | CodeQL clean, npm audit clean, coverage ≥ 80 / 70 (≥ 95 % security) |
| Deploy | SHA-pinned Actions, SLSA L3 attestations, SBOM + SBOMQS ≥ 7.0 |
| Operate | Scorecard ≥ 8.0, Dependabot green, patch SLAs honored, incident drills |
ISO 27001:2022 — A.5.23, A.5.30, A.8.25, A.8.28, A.8.29, A.8.30, A.8.31, A.8.32
NIST CSF 2.0 — GV (govern), ID.AM, PR.DS, PR.IR, DE.CM, RS.AN, RC.RP
CIS Controls v8.1 — 2, 3, 4, 6, 7, 8, 11, 16, 18
EU CRA — SBOM, CVE handling, security updates, conformity self-assessment
/**
* Persist the high score.
* ISMS: Secure Development Policy §Phase 2 — Secure Coding (input validation)
* ISMS: Data Classification Policy — local-only, non-PII
* Compliance: ISO 27001:2022 A.8.28, NIST CSF PR.DS-1
*/
export function saveHighScore(score: number): void {
if (!Number.isFinite(score) || score < 0) {
throw new RangeError('Invalid score value');
}
localStorage.setItem('highScore', String(Math.floor(score)));
}
ISMS_POLICY_MAPPING.md / SECURITY.md as applicable)