Skip to content
frousseletPublic

About

Open-source Governance, Risk and Compliance (GRC) platform. Manage your organisation's security posture, track compliance with regulatory frameworks (ISO 27001, GDPR, NIS2, ...), and run structured risk assessments (ISO 27005, EBIOS RM) - all from a single, self-hosted application.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,168 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cairn

Governance, Risk and Compliance, self-hosted.

Track your compliance with ISO 27001, GDPR, NIS2 and the rest, run structured risk assessments, and handle security incidents with the evidence trail a regulator will ask for. One application, one container, your own infrastructure.

Tests Docker Licence

Cairn dashboard

Quick start

cp .env.example .env
docker compose up --build

Open localhost:8000. A first-run screen offers to set up your company, or to load the Voltara Energy demo dataset so you can look around a populated instance straight away.

No Docker? Cairn also runs on pure Python with SQLite for debugging, and scripts/bootstrap_dev.sh provisions a Debian or Ubuntu sandbox with everything the image carries. See the installation guide.

What it covers

Module What you do with it
Governance Scopes, strategic issues, stakeholders and their feedback, objectives, SWOT, roles and activities : the ISO 27001 clause 4 context
Assets Essential and support assets with CIA valuation, dependency mapping, SPOF detection, suppliers, contracts and certificates
Risks ISO 27005 and EBIOS RM (ANSSI v1.5, workshops 0 to 5), a three-level register, treatment plans and formal acceptance
Compliance Frameworks and requirements, audits, an organisation-wide nonconformity register, action plans and inter-framework mappings
Incidents Event intake, incident handling, sealed evidence under chain of custody, and statutory notification clocks (GDPR, NIS2, DORA)
Documents Policies, procedures, standards and charters : approved versions with one in force at a time, review reminders, and acknowledgement campaigns kept as evidence
Controls The security controls the organisation operates, linked to requirements, risks and assets, with effectiveness derived from independently validated test runs and their evidence, feeding the Statement of Applicability
Trust Center A public, curated page for your security posture, optionally on its own domain
Steering A configurable widget dashboard, a unified tasks board, management reviews, and PDF / DOCX / PPTX / XLSX reports

What makes it different

Governance is enforced, not suggested. Every record runs a lifecycle whose step decides whether it counts in reports, whether anything may link to it, and whether it can be deleted at all. There is no status dropdown : a state change is a permissioned transition that leaves a trail.

Everything is an API. Every feature is reachable through the REST API and a built-in MCP server, so scripts and AI assistants work with your GRC data directly, under the caller's own permissions. The MCP server speaks the 2026-07-28 revision of the protocol : it asks the user before a deletion, answers a report generation or a batch creation with a task, and publishes skills : procedures Cairn ships, and the agent skills your organization writes and validates, which can replace them. It takes files (evidence, signed contracts and certificates), shows a risk heat map and a compliance summary as interactive apps in hosts that support them, and can let your identity provider sign people in (Enterprise Managed Auth).

Built for the audit. Full change history on every record, versioning, scope-based tenancy, role-based permissions and passkey login. Bilingual throughout, English and French.

Usable on the first day. A new instance opens on its first steps, in the order the work is done. A record is created on one screen, then completed on its own page, which lists what it still needs and edits it one card at a time; its lifecycle refuses to make it authoritative while something is missing, and says what. Scopes and essential assets are the first screens held to this usability standard, the rest follows.

Written in plain words. One thing has one name everywhere, and the application shows its vocabulary : a glossary gives each notion a definition anyone can read and the other names people know it by, and the search answers those names (also over GET /api/v1/glossary/ and the get_glossary MCP tool). Every page opens on a help that says what the thing is, gives an example and says what to do first; it can be hidden and brought back. No acronym stands alone as a label.

Readable and usable from the keyboard. The interface is built to meet WCAG 2.2 AA in its light and dark themes, and the build checks it : contrast ratios are recomputed from the palette, the markup of every page is read, and a reference set of pages is audited in a browser with axe-core, and every other kind of page once a change reaches main. The About dialog states it, and states the limit : no person has evaluated the product against every criterion, so full conformance is not claimed (also at GET /api/v1/accessibility and through the get_accessibility_statement MCP tool).

Built to be operated. One command writes the database and the uploaded files into a single verified archive, another restores an instance exactly; a health endpoint, console logs and locked dependencies come with the image. See Operations.

Optional AI, off by default. Ask Cairn answers questions in plain language and cites real records. Point it at Mistral, OpenAI, Claude, or your own Ollama so nothing leaves your infrastructure.

Documentation

The full documentation lives in the wiki, built from docs/.

User guide Using the platform, module by module
Technical Install, configure, secure, operate
SDK Extend it : widgets, entities, endpoints, tools, UI components
Reference Endpoints, MCP tools, permissions, settings
Specifications The contract each module is held to

Tech stack

Python 3.14, Django 5.2 LTS, PostgreSQL 18, Django REST Framework, Channels and Redis, Bootstrap 5.3 with HTMX and Apache ECharts. No JavaScript build step.

Every front-end library is served from the instance itself, never from a CDN : an isolated deployment works, and no third party is told who browses it. They are mirrored into static/vendor/ from the pins in core/dependencies.py - by the Docker build, or on the first launch of a direct install - and each download is checked against a Subresource-Integrity digest. python manage.py vendor_assets does it by hand. Out of the box a browser fetches nothing elsewhere. Two things can be turned on, both for the maps of the scope, site and supplier pages : the tiles, from a provider you name in MAP_TILE_URL, and the position of an address that has no coordinates, from a geocoder you name in MAP_GEOCODER_URL, which is sent that address. A Content Security Policy forbids every other origin, and any script that is not the instance's own.

That same file is the full inventory of third-party components, and a running instance states it in the About dialog, at GET /api/v1/dependencies and through the list_dependencies MCP tool. The About dialog also says whether a newer release is published (GET /api/v1/update-check, check_for_updates); set UPDATE_CHECK_ENABLED=False to keep the instance from asking.

Licence

Cairn is free software under the GNU Affero General Public License, version 3 or later (AGPL-3.0-or-later).

The AGPL is a network copyleft licence : run a modified version and make it available over a network, and you must offer those users the corresponding source. Distributing a modified version triggers the same obligation.

Every source file carries an SPDX-License-Identifier: AGPL-3.0-or-later header. The third-party files mirrored into static/vendor/ keep their own upstream licences and are not covered by this notice.

Trademarks

The licence covers the source code. It grants no right to the Cairn name, the logo or the visual identity in docs/brand/. A public fork or a hosted derivative must use a different name and its own branding.

About

Open-source Governance, Risk and Compliance (GRC) platform. Manage your organisation's security posture, track compliance with regulatory frameworks (ISO 27001, GDPR, NIS2, ...), and run structured risk assessments (ISO 27005, EBIOS RM) - all from a single, self-hosted application.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages