Arckit fr anssi carto

From tractorjuice/arckit-codex · View interactive version

Arckit fr anssi carto is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Produce an ANSSI-methodology information system cartography across four reading levels — business, application, system, and network

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 produce an ANSSI information system cartography following the ANSSI guide "Cartographie du système d'information" (2021). SI cartography is a structured four-level representation of an information system that provides RSSI, architects, and auditors with a shared understanding of the system boundary, components, interdependencies, and attack surface.

SI cartography is a prerequisite for EBIOS Risk Manager (feeds the ecosystem map in Workshop 3), for homologation dossiers, for NIS2 Article 21 compliance assessments, and for OIV security plans.

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. Extract:

Step 3: Cartography Template Reading

Read the template (with user override support):

Step 4: Four-Level Cartography

Work through the four ANSSI cartography levels in order. Each level progressively increases in technical detail. Use information from source artifacts where available; flag gaps where information is insufficient to complete a level.

Level 1 — Business View (Vue Métier)

Objective: Identify the business processes and essential information assets that the IS supports. This is the "what does it do and what does it protect?" level.

  1. Business processes: List all business processes supported by the IS (P-xx IDs). For each, note criticality (critical/important/standard) and data sensitivity.
  2. Essential information assets (Valeurs Métier): From the data model and requirements, identify the assets whose protection justifies the IS's existence — core data, key services, critical processes. Assign VM-xx IDs (consistent with EBIOS if a study exists).
  3. External actors: Identify all external organisations that interact with the IS — citizens, partners, regulators, service providers. Note the nature of the interaction and trust level.
  4. Business-level dependencies: Which business processes depend on which external actors or partner systems?
Level 2 — Application View (Vue Applicative)

Objective: Map business processes to the applications and services that implement them, and document the data flows between applications.

  1. Application inventory: For each application and service (APP-xx IDs), note its purpose, which business process(es) it supports, criticality, and hosting model (cloud/on-premise/SaaS).
  2. Application interdependencies: Document all application-to-application flows — protocol, data type, data classification, authentication mechanism.
  3. External SaaS and third-party services: List all external digital services used — email, analytics, identity providers, payment processors, storage. Note data shared with each.
  4. Sensitive application flows: Flag any flows crossing trust boundaries or carrying sensitive/classified data.
Level 3 — System / Infrastructure View (Vue Système)

Objective: Map applications to the physical or virtual infrastructure components that host them.

  1. Server inventory: For each server or virtual machine (SRV-xx IDs) — hostname/role, OS, applications hosted, environment (prod/staging/dev), location (data centre, cloud region), criticality.
  2. Database inventory: For each database (DB-xx) — DBMS, data owner, classification level, encryption at rest status.
  3. Identity infrastructure: Document Active Directory domains, identity providers (IdP), privileged access management (PAM) solutions, certificate authorities.
  4. Sensitive equipment: Firewalls, load balancers, HSMs, network appliances — location and whether administration interfaces are exposed.
  5. Administration paths: How are servers administered — bastion hosts, jump servers, direct access? From which networks?
Level 4 — Network View (Vue Réseau)

Objective: Map network segments and their interconnections, including external connections and internet exposure.

  1. Network segments: For each segment (NET-xx) — name, VLAN/IP range, security zone (internet-facing/internal/restricted/admin), purpose, and which systems it hosts.
  2. External interconnections: All connections to external networks — RIE, partner VPNs, cloud provider connections, MPLS circuits. For each: encryption, authentication, direction.
  3. Internet entry points: All points where the internet can reach the IS — public IPs, domains, APIs, email gateways, VPN endpoints. For each: protection in place (WAF, DDoS, firewall rules).
  4. Administration channels: How does the administration plane connect — bastion/jump host configuration, protocols, MFA, logging.
  5. Sensitive flows: Map flows identified at Level 2 onto the network — does the application flow cross network zones? Is it encrypted? Does it transit an untrusted network?
Attack Surface Summary

After completing all four levels, synthesise the key attack surface findings:

  1. Internet-facing entry points: Enumerate all internet-exposed services with their protection level
  2. Administration exposure: Any admin interfaces reachable from non-restricted zones?
  3. Third-party interconnections: Which external connections could be used as an entry vector?
  4. Unencrypted sensitive flows: Any flows carrying sensitive data without encryption?
  5. Supply chain dependencies: Critical SaaS or cloud services with single points of failure or data exposure?

Step 5: Generate Cartography Document

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

  1. Detect version: Check for existing ARC-{PROJECT_ID}-CARTO-v*.md files:
  1. Auto-populate Document Control:
  1. Write the complete cartography following the template populated with Step 4 findings.

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

Write the document to:

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

Step 6: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ SI Cartography Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Cartography Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Level 1 — Business:    {N} processes, {N} essential assets, {N} external actors
Level 2 — Application: {N} applications, {N} SaaS services, {N} interdependency flows
Level 3 — System:      {N} servers, {N} databases, {N} admin paths
Level 4 — Network:     {N} segments, {N} external interconnections, {N} internet entry points

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚨 Attack Surface Findings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Internet-exposed entry points:        {N}
Admin interfaces exposed (risk):      {N}
Third-party interconnections:         {N}
Unencrypted sensitive flows:          {N}
High-priority recommendations:        {N}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Next steps:
1. Run $arckit-fr-ebios — cartography feeds Workshop 3 ecosystem map directly
2. Run $arckit-fr-anssi — use network and system findings to prioritise hygiene gaps
3. Run $arckit-diagram — generate visual diagrams from cartography data
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

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

| Guide de cartographie du système d'information | ANSSI | https://cyber.gouv.fr/publications/cartographie-du-systeme-dinformation |

| Guide d'hygiène informatique (42 measures) | ANSSI | https://messervices.cyber.gouv.fr/guides/guide-dhygiene-informatique |

| EBIOS Risk Manager guide (Workshop 3 ecosystem map) | ANSSI | https://cyber.gouv.fr/securisation/analyse-des-risques/methode-ebios-rm/ |

| ANSSI publications catalogue | ANSSI | https://cyber.gouv.fr/publications |

Success Criteria

Example Usage

$arckit-fr-anssi-carto Produce SI cartography for a French ministry digital services platform — three production data centres, Azure cloud, 50k citizen users, integration with FranceConnect and DGFIP APIs

$arckit-fr-anssi-carto Cartography for 001 — regional hospital IS (SIH), OIV santé designation, connected to Mon Espace Santé, mix of on-premise VMware and SaaS clinical software

$arckit-fr-anssi-carto ANSSI cartography for a French energy operator (OIV énergie), separate IT and OT networks, SCADA interconnection, cloud-hosted analytics platform

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.