Skip to content

Latest commit

 

History

368 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

open-isms: the free, open-source ISMS for the EU NIS 2 Directive

Latest version npm Container image CI Release License: AGPL-3.0 nisd2.eu


The platform behind nisd2.eu: a self-hostable Information Security Management System built for the EU NIS 2 Directive, with GDPR, the EU AI Act, and the CRA alongside it.

Most compliance tooling treats evidence as a folder of PDFs you assemble the week before an audit. open-isms inverts that. Every requirement carries an owner, a deadline, and a sign-off, so assignments, approvals, and an append-only audit trail become your evidence as you operate, not something you reconstruct after the fact.

Free and open source. AGPL-3.0. Mission: halve Europe's NIS 2 compliance bill.

What's in here

apps/
  reference/                      # minimal docker-compose demo (Postgres + Next.js)
                                  # boot stack, gates routes behind email magic links

packages/
  grc-data-model/                 # framework data + entity model (NIS 2, GDPR, EU AI Act, CRA)
  incident-notification-schema/   # NIS 2 §23(4) incident notification format
  isms-schema/                    # operational ISMS schema (audit-log, sign-off, evidence, policies, training)
  isms-ui/                        # shadcn-based UI primitives
  isms-pages/                     # pre-translated page components
  isms-lib/                       # compliance helpers (deadlines, format)
  isms-trpc/                      # tRPC setup + audit middleware
  isms-messages/                  # i18n catalogs

app/                              # the production SaaS — marketing + portal + supplier + training
components/  lib/  schema/  server/  drizzle/  messages/  i18n/   # SaaS app code
courses/                          # NIS 2 CEO course content + tabletop exercises + CRA SBOM
data/  docs/                      # public reference data + deployment docs
public/                           # static assets

scripts/                          # operational + release tooling
.github/workflows/                # CI + release pipeline

grc-data-model and incident-notification-schema are published to npm. The other packages are workspace-only (consumed via bun workspaces; not on npm yet).

Quick start (local dev)

git clone https://github.com/NISD2/open-isms.git
cd open-isms
bun install
bun run dev               # http://localhost:3026

Quick start (self-host the whole platform)

Three files and a published image. No clone, no fork, nothing compiled on your machine.

mkdir open-isms && cd open-isms
curl -o compose.yaml https://raw.githubusercontent.com/NISD2/open-isms/main/compose.self-host.yml
curl -o .env         https://raw.githubusercontent.com/NISD2/open-isms/main/.env.self-host.example
curl -o Caddyfile    https://raw.githubusercontent.com/NISD2/open-isms/main/Caddyfile.self-host.example
# fill in the required values in .env, then:
docker compose up -d                        # http://localhost:3026

docs/self-hosting.md is the walkthrough: which values to fill in, what each of the 32 environment variables does, which third-party services you can do without, and what to check when something is wrong. docs/updating.md covers updates and rollback, docs/backup.md backup and restore.

For the minimal workspace demo instead of the full platform:

cd apps/reference
cp .env.example .env      # set AUTH_SECRET via `openssl rand -base64 32`
docker compose up --build # http://localhost:3000

Quick start (just the schema packages)

The framework data and schemas are published to npm on their own, so you can build against them without running any of this. There is no npm package for the platform itself: open-isms ships as a container image, see above.

bun add @nisd2/grc-data-model @nisd2/incident-notification-schema @nisd2/nis2-supply-chain-questionnaire-schema
package what it gives you
@nisd2/grc-data-model 219 requirements across NIS 2, GDPR, the EU AI Act, the CRA and ISO 27001:2022, with 125 cross-framework satisfaction pairs and Drizzle-compatible Postgres schemas
@nisd2/incident-notification-schema the NIS 2 Article 23 incident notification format as a typed Zod schema
@nisd2/nis2-supply-chain-questionnaire-schema the questions a regulated entity asks its suppliers, as Zod plus JSON Schema
import { nis2Categories, getNis2RequirementsForCategory } from "@nisd2/grc-data-model/frameworks";
import { complianceFramework, requirement } from "@nisd2/grc-data-model/schema";

Per framework: NIS 2 12 categories / 49 requirements, GDPR 6 / 9, EU AI Act 10 / 24, CRA 10 / 21, ISO 27001:2022 5 / 116.

Legal scope

  • EU Directive: 2022/2555 (NIS 2)
  • German transposition: NIS2UmsuCG → revised BSIG (2025)
  • Implementing Regulation: Commission Implementing Regulation (EU) 2024/2690
  • Effective: 6 December 2025
  • Registration deadline: 6 March 2026

Tech stack

Layer Tech
Framework Next.js 16 + React 19 (App Router, SSR-first)
Language TypeScript 5.7 strict mode
Styling Tailwind CSS 4 + shadcn
Validation Zod 4
ORM Drizzle 0.45 (Postgres)
API tRPC 11
Auth Auth.js v5 (email magic links + Google OAuth)
i18n next-intl (DE/EN/NL)
AI Vercel AI SDK + xAI Grok for form prefill
Runtime Bun 1.3+
Hosting Coolify (self-hosted)

Contributing

See CONTRIBUTING.md. External PRs welcome — particularly:

  • New framework articles / mappings (packages/grc-data-model/src/frameworks/)
  • Translation work (messages/, packages/isms-messages/)
  • Schema improvements (packages/isms-schema/src/tables/)
  • Documentation and examples

For security disclosures, see SECURITY.md.

License

AGPL-3.0-or-later for the app, scripts, and workspace-only packages.

Published npm packages have their own licenses:

Package License
@nisd2/grc-data-model MIT
@nisd2/incident-notification-schema Dual: AGPL-3.0 + commercial
@nisd2/isms-* (workspace-only) AGPL-3.0-or-later

About

Open-source NIS 2 / GRC ISMS platform. Self-hostable. Mirror of the OSS slice of the nisd2.eu monorepo.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages