Skip to content
TRUMANUS EDIZIONI ↗Andrea Lagomarsini’s personal space
Andrea LagomarsiniAuthor · Principal AI / GenAI Architect
← All articles

Author’s archive

NIS2 and AI: one perimeter, not two projects

Are you implementing AI and cybersecurity as two separate projects?

Andrea Lagomarsini nella copertina dell’articolo «NIS2 e AI: un solo perimetro, non due progetti»
Article illustration · Andrea Lagomarsini archive

🔴 Episode 40

Are you implementing AI and cybersecurity as two separate projects?

It's the most common mistake of 2026.

On the one hand: chatbots, agents, automations, models in production. On the other: NIS2, ACN, security measures, CSIRT contact person, incident notification.

Two budgets. Two teams. Two timelines. Two worlds that don't speak to each other.

But for many organizations — essential and important — there are no two perimeters. There is an organization using AI on critical infrastructure, with sensitive data, exposed to the Internet, subject to NIS2 obligations and AI governance.

Separating them doesn't make it easier. Complicates.


NIS2 in Italy: where we are in July 2026

Italy has implemented NIS2 with Legislative Decree 138/2024, in force from 16 October 2024. The ACN (National Cybersecurity Agency) manages registration, updates and compliance through the NIS platform.

Deadlines are not a single switch. They are a cycle:

PhaseWindowWhat it implies
Registration1 January – 28 February (every year)NIS subject declaration
Annual update15 April – 31 MayConfirm data, governance, contacts
Continuously updatedAfter the annual, until the following April 14Report changes
Service categorization1 May – 30 JuneList of relevant activities and services
Relevant suppliers15 April – 31 MaySupply Chain Management

In April 2026 the ACN published the new Determinations 127434/2026 and 127437/2026: deadlines for new entities added in 2026, updated rules for relevant suppliers and categorization of activities.

For many entities, basic security measures must be operational by October 2026 — 18 months after subject list consolidation (April 2025). Reporting of significant incidents to CSIRT Italia is active: notice within 24 hours, notification within 72 hours, final report within one month.

It's not theory. It's operational.


Why AI changes the NIS2 perimeter

Before generative AI and agents, the cyber perimeter was relatively definable: servers, networks, applications, endpoints, cloud providers.

Today we add:

  • API to external models — data leaving the organization
  • Agents with access to tools — email, database, CRM, file system
  • Shadow AI — employees using ChatGPT with company data
  • Automations not inventoried — workflows that act without supervision
  • Supply chain AI — suppliers integrating models into their services

Each point is attack surface and governance point. NIS2 calls for risk management, security measures, incident management, business continuity. The EU AI Act calls for transparency, human supervision, documentation, risk assessment.

Same system. Two regulatory frameworks. Only one real perimeter.


Where they concretely overlap

AreaNIS2 / ACNAI Governance
Risk ManagementCyber ​​risk analysis, proportionate measuresAI risk assessment, systems classification
AccidentsCSIRT notification within 24/72 hoursLog, traceability of agent decisions
SuppliersRelevant suppliers, due diligenceModel Provider, API, SaaS with AI
ContinuityProtected essential servicesFallback if model/API is unresponsive
GovernanceCSIRT contact person, appointed rolesOwner for each AI system/agent
Application scopeWAF, filters, exposed protectionBots, prompt injection, data leakage

You don't need to duplicate everything. We need a unified risk model that covers both.


The error: "AI is managed by the innovation team"

Frequent pattern:

  • AI / digital team — experiment, integrate, deploy models and agents
  • Security / compliance team — implements NIS2, responds to ACN, manages incidents

As long as they don't communicate, predictable things happen:

  • An agent accesses data they shouldn't → NIS2 incident not classified correctly
  • An AI supplier is not in the relevant supplier list → supply chain gap
  • An API exposed without WAF → application perimeter broken
  • Shadow AI with customer data → breach that no one knows how to report

The CSIRT representative - whom we talked about in the dedicated article - cannot coordinate a crisis if he does not know that AI exists in the perimeter. And the AI ​​team can't deploy safely if they don't know the NIS2 obligations.


What to do: one perimeter, three actions

1. Unified inventory

A single registry — not two silos — that includes:

  • IT and OT systems already in scope NIS2
  • exposed applications (with WAF where needed)
  • AI systems and agents in use or in production
  • critical vendors and AI/API providers

If an agent logs into the CRM, they are in the registry. If a model processes health data, it is in the registry. If an employee uses an unapproved chatbot, it should be mapped.

2. Intersecting roles

  • CSIRT contact person — coordinates incidents and reports with CSIRT Italy; must know where the AI is deployed
  • Owner for each AI/agent system — appointed manager, as for each NIS2 critical service
  • AI–Security connection point — even part-time, even one person: you need a fixed channel, not a committee that meets once

3. Incident response that includes AI

When something happens — data leak via prompt, agent acting out of scope, API compromised — the procedure must cover:

  • classification — is this NIS2 incident significant?
  • containment — deactivate agent, revoke API key, isolate service
  • notification — CSIRT Italia if relevant, interested if personal data
  • lesson learned — update registry, policies, controls

Not two separate procedures. A walkthrough with an AI chapter.


WAF, ACN, agents: same thread

In the application perimeter, the WAF filters hostile traffic towards exposed services — bots, credential stuffing, exploits. When AI exposes APIs or conversational interfaces, that perimeter doesn't go away. It extends.

The ACN Determinations on relevant suppliers ask to map who provides critical services. Model providers, agent platforms, SaaS with integrated AI enter that map.

Not as a technical detail. As an element of the cyber supply chain.


The message

NIS2 and AI are not two compliances to be ticked in parallel.

They are two lenses on the same organization. One asks: Are you resilient to attacks and accidents? The other asks: Do you use AI responsibly and traceably?

If AI runs on your infrastructure, touches your data, serves your customers — answers must be consistent.

Only one perimeter. Only one register. A single chain of responsibility.


🔥 Your reality

NIS2 and AI in your organization: one project or two separate silos?

Tell in one line in the comments.


In the next episode we'll talk about agent sprawl: how many AI agents you already have in production — and how many you don't know you have.

If you want to follow the series, stay here.

Cybersecurity and AI don't add. They multiply — if you keep them separate.

From the author’s archive. Publication date not specified.
← All articles