Arckit fr ebios

From tractorjuice/arckit-codex · View interactive version

Arckit fr ebios is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Conduct an EBIOS Risk Manager risk analysis study following the ANSSI methodology — five workshops from study framing to risk treatment and homologation recommendation

How to use this skill

Skill file

⚠️ Community-contributed command — not part of the officially-maintained ArcKit baseline. Output should be reviewed by qualified DPO / RSSI / legal counsel before reliance. Citations to ANSSI / CNIL / EU regulations may lag the current text — verify against the source.

You are helping an enterprise architect conduct an EBIOS Risk Manager risk analysis following the ANSSI (Agence Nationale de la Sécurité des Systèmes d'Information) methodology. EBIOS Risk Manager (Expression des Besoins et Identification des Objectifs de Sécurité) is the French government's official risk analysis methodology, mandatory for OIV (Opérateurs d'Importance Vitale) systems, OSE (Opérateurs de Services Essentiels), RGS homologation, and SecNumCloud provider qualification.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Step 0: Read existing artifacts from the project context

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently):

Step 0b: Read external documents and policies

Step 1: Identify or Create Project

Identify the target project from the hook context. If the project doesn't exist:

  1. Use Glob to list projects/*/ directories and find the highest NNN-* number
  2. Calculate the next number (zero-padded to 3 digits)
  3. Slugify the project name
  4. Use the Write tool to create projects/{NNN}-{slug}/README.md
  5. Set PROJECT_ID and PROJECT_PATH

Step 2: Read Source Artifacts

Read all documents from Step 0. From the artifacts, extract:

Step 3: EBIOS Template Reading

Read the template (with user override support):

Step 4: EBIOS Risk Manager — Five Workshops

CRITICAL: This is a structured, sequential risk analysis. Work through all five workshops in order. Use the Write tool to write the complete document at the end of Step 5.


Workshop 1 — Study Framing (Cadrage de l'étude)

Objective: Define the scope, identify essential values (valeurs métier), identify feared events, and establish the security baseline.

  1. Study scope: Define the system boundary — what is included, what is explicitly excluded, which interconnected systems are in scope for the ecosystem analysis
  2. Essential values (Valeurs métier): From the data model and requirements, identify the business assets whose protection is the study's primary objective. Typically: core data assets, critical services, key processes. Assign VM-xx IDs.
  1. Feared events (Événements redoutés): For each essential value, identify events that would constitute a breach. Rate severity on ANSSI 4-level scale:
  1. Security baseline: Current security measures in place (ISO 27001, ANSSI hygiene measures, RGS baseline, sector-specific measures)

Workshop 2 — Risk Sources (Sources de risque)

Objective: Identify and profile risk sources, and determine risk source–target pairs.

  1. Risk source catalogue: Always consider these categories:
  1. Pertinence assessment: Retain or exclude each risk source based on motivation and capability in the context of the target system. Document justification for exclusions.
  2. Risk source–target pairs (Couples Source/Objectif): For each retained risk source, identify which element of the ecosystem or system is the most likely attack target. Assign CO-xx IDs.

Workshop 3 — Strategic Scenarios (Scénarios stratégiques)

Objective: Model how risk sources reach their targets via the ecosystem (supply chain, partners, trusted channels).

  1. Ecosystem map: From requirements and external documents, list all stakeholders in the ecosystem — cloud providers, integrators, third-party services, trusted partners, interconnected information systems. Assess trust level and dependency criticality for each.
  2. Strategic scenarios: For each retained risk source–target pair (CO-xx), describe how the risk source could reach the target via the ecosystem. Consider:
  1. Scenario risk level: Assess each strategic scenario with:

Workshop 4 — Operational Scenarios (Scénarios opérationnels)

Objective: Break down high-risk strategic scenarios into technical attack sequences.

  1. Selection: Focus operational analysis on the highest-risk strategic scenarios (those with Critical or Major risk level from Workshop 3).
  2. Attack sequence: For each selected strategic scenario, describe the technical attack path step by step:
  1. MITRE ATT&CK mapping: Map each step to MITRE ATT&CK tactics and techniques. This provides concrete implementation context for security measures.
  2. Technical likelihood: Assess likelihood based on:

Workshop 5 — Risk Treatment (Traitement du risque)

Objective: Define security measures, reassess residual risks, and produce the homologation recommendation.

  1. Treatment options: For each significant risk (from Workshop 3 + 4), choose:
  1. Security measures (Mesures de sécurité): Define specific, actionable security measures. Assign MS-xx IDs. For each:
  1. Residual risk reassessment: After applying measures, reassess remaining risk level for each strategic scenario. Document which residual risks are:
  1. Homologation recommendation: Based on the residual risk profile, formulate a clear recommendation to the Autorité d'Homologation:

Step 5: Generate EBIOS Document

CRITICAL: Use the Write tool to create the full EBIOS document.

  1. Detect version: Check for existing ARC-{PROJECT_ID}-EBIOS-v*.md files:
  1. Auto-populate Document Control:
  1. Write the complete EBIOS study following the five-workshop structure from the template, populated with the analysis conducted in Step 4.

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus EBIOS per-type checks pass.

Write the document to:

projects/{project_id}/ARC-{PROJECT_ID}-EBIOS-v{VERSION}.md

Step 6: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ EBIOS Risk Manager Study Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📄 Document: projects/{project_id}/ARC-{PROJECT_ID}-EBIOS-v{VERSION}.md
📋 Document ID: {document_id}
📅 Study Date: {date}
🔒 Classification: Diffusion Restreinte

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Risk Analysis Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Workshop 1 — Scope and Values:
  Essential Values: {N} (VM-01 to VM-{N})
  Feared Events: {N} ({N} Critical, {N} Major, {N} Significant)

Workshop 2 — Risk Sources:
  Risk Sources Retained: {N} / {N total considered}
  Risk Source–Target Pairs: {N}

Workshop 3 — Strategic Scenarios:
  Scenarios: {N} ({N} Critical/Major risk level)

Workshop 4 — Operational Scenarios:
  Technical Scenarios Analysed: {N}

Workshop 5 — Risk Treatment:
  Security Measures: {N} (Technical: {N}, Organisational: {N}, Legal: {N})
  Residual Risks: {N} ({N} critical, {N} moderate, {N} low)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏛️ Homologation Recommendation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

{PROCEED / PROCEED WITH CONDITIONS / DO NOT PROCEED}

{If conditions: List MS-xxx measures that must be confirmed before go-live}
{If critical residuals: List unacceptable residual risks}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Next steps:
1. Submit EBIOS study to Autorité d'Homologation for review
2. {If cloud: Run $arckit-fr-secnumcloud for hosting provider assessment}
3. Run $arckit-secure to implement Workshop 5 technical measures
4. Run $arckit-risk to import residual risks into project risk register
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

|----------|-----------|-----|

| EBIOS Risk Manager — official guide (2018, updated 2024) | ANSSI | https://cyber.gouv.fr/securisation/analyse-des-risques/methode-ebios-rm/ |

| EBIOS RM — club EBIOS (community and tools) | Club EBIOS | https://www.club-ebios.org/ |

| MITRE ATT&CK framework (Workshop 4 technique mapping) | MITRE | https://attack.mitre.org/ |

| RGS v2.0 — homologation requirements | ANSSI | https://cyber.gouv.fr/le-referentiel-general-de-securite-rgs |

| ANSSI — OIV (Opérateurs d'Importance Vitale) obligations | ANSSI | https://cyber.gouv.fr/le-dispositif-saiv |

| NIS2 Directive — OSE (Opérateurs de Services Essentiels) obligations | EUR-Lex | https://eur-lex.europa.eu/eli/dir/2022/2555/oj |

Note for reviewers: EBIOS Risk Manager is the French government's official cybersecurity risk analysis methodology, published by ANSSI (the French national cybersecurity agency). It is mandatory for OIV (critical infrastructure operators) and OSE (essential service operators), and required for RGS homologation. It is France's equivalent of ISO 27005 / NIST RMF but with a structured five-workshop format designed to produce a homologation dossier. "Homologation" is the French administrative process of formally approving an IS for operation — analogous to Authority to Operate (ATO) in the US federal context.

Success Criteria

Example Usage

$arckit-fr-ebios Conduct EBIOS Risk Manager study for a French ministry citizen portal handling personal and financial data, RGS *** target level, requiring homologation before go-live, cloud hosted on SecNumCloud provider

$arckit-fr-ebios EBIOS study for 001 — French regional hospital information system (SIH), OIV designation (secteur santé), données de santé, connexion avec Mon Espace Santé

$arckit-fr-ebios EBIOS Risk Manager for a critical national infrastructure operator (OIV énergie), SIIV system, connection to SCADA/OT network, IGI 1300 classified components

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.