# NIS2 Guard: EU Security Scanner NIS2 · GDPR · AI Act · DORA

> Reviews your code against the technical side of NIS2, GDPR, the EU AI Act and DORA, flags what fails with the exact article, and writes secure-by-default code.

NIS2 Guard: EU Security Scanner NIS2 · GDPR · AI Act · DORA is a paid AI agent skill on Agensi by Fco Javier Aguayo Hdez, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Fco Javier Aguayo Hdez](https://www.agensi.io/creators/fjaguayo)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 2.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/nis2-guard-eu-security-scanner-nis2-gdpr-ai-act-dora
- Tags: security, compliance, coding, code-review, devops

## About this skill

nis2-guard turns Claude into a compliance-aware code reviewer for four EU frameworks. It picks the ones that apply from what your code does (NIS2 always, GDPR when there is personal data, the AI Act when there are LLMs or ML, DORA for payments and banking), runs a bundled dependency-free scanner with 38 rules, explains each finding in plain language with the article it affects, and proposes the fix. When you ask for new code it writes it secure by default: secrets from the environment, modern crypto, no PII in logs, AI disclosure and audit logs, timeouts and retries on external calls.

Every report ends with what code cannot prove (RoPA, DPAs, AI risk classification, incident reporting flows, management approval), and it never claims you "comply".

## Requires

- Python 3.9+

The scanner uses only the Python standard library. Nothing to install, no API keys, no network calls.

## Known limitations

It does not certify compliance or replace an audit or legal advice. The rules are pattern-based and read one line at a time, so there can be false positives and calls split over several lines can be missed. It cannot see policies, contracts, backups, training or how the system is actually deployed, and the AI Act risk tier always needs human confirmation. Terraform and Kubernetes rules are not included yet.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the NIS2 Guard: EU Security Scanner NIS2 · GDPR · AI Act · DORA skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does a clean report mean I comply?

No. It means no technical red flags were found. Every report lists what you still have to check outside the code.

### Do I need all four frameworks?

No. Run --framework gdpr, --framework dora, etc. The default is NIS2 only.

### Does it send my code anywhere?

No. The scanner runs locally with the Python standard library and makes no network calls.

### Can I use it in CI?

Yes. A GitHub Actions template with SHA-pinned actions is included; --fail-on high breaks the build on high findings.

### How do I silence a false positive?

Add nis2-ignore in a comment on that line.

### Is it specific to Spain?

No, it is EU-wide. The NIS2 and GDPR references include Spanish notes (INCIBE-CERT, CCN-CERT, AEPD).

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
