CYBERSECURITY

Bringing Generative AI and agents into operational workflows transforms the way companies make decisions, deliver services, and automate work. However, this evolution introduces an unprecedented exposure front, because traditional perimeter defenses, designed to protect networks, endpoints, and identities, do not intercept threats that travel through natural language.

Cybersecurity in the Enterprise AI space bridges this gap with a set of practices, controls, and architectures designed to secure LLMs in production against specific vulnerabilities such as prompt injection, jailbreaking, and the inadvertent exfiltration of confidential data. Rather than replacing existing firewalls and IAM systems, it extends governance to the application and semantic layers, ensuring business continuity, regulatory compliance, and full control over the technological ecosystem.

Why LLMs and AI Agents expand the Corporate Attack Surface

For a decade, corporate security has thought in terms of perimeters: network, endpoint, identity. An LLM integrated into a business process does not behave like a traditional endpoint. In fact, it receives natural language, interprets it, and in an agentic configuration performs concrete actions, such as querying a database, sending an email, or modifying a ticket via calls to external tools. This makes the model itself an attack surface, not just the channel hosting it.

An AI agent is, in practice, a software system that uses an LLM as a reasoning engine to plan and execute multi-step tasks, often calling external APIs or tools without human supervision at every step. And it is precisely this operational autonomy that introduces the risk component: a malicious input no longer exploits a vulnerability in the code, but manipulates the model’s reasoning to make it perform unintended actions.

Globally, IBM’s 2026 Cost of a Data Breach Report, for example, records a 56% increase in AI-related attacks. The same report estimates that in Italy, 71% of security leaders believe AI is amplifying the cyber threats their company is exposed to, rather than reducing them.

Prompt Injection and Jailbreaking

It is no coincidence that both Gartner and the OWASP Top 10 for LLM Applications place prompt injection at the top of threats to enterprise AI applications: in the OWASP ranking, it occupies the LLM01 position.

The cause is architectural. An LLM does not structurally separate instructions and data: system prompts, user inputs, retrieved documents, and tool outputs merge into the same context window as a single sequence of tokens. The model has no native mechanism to determine which part of the context has the authority to issue instructions. It is a problem similar to SQL injection, with one substantial difference: for LLMs, an equivalent to parameterized queries does not yet exist.

Prompt Injection exploits this exact ambiguity: a specially crafted input induces the model to treat data as instructions, bypassing the system prompt. It comes in two variants. In its direct form, the payload comes from the user through the chat interface. In its indirect form, it is hidden in content that the agent autonomously retrieves and processes: an attachment, a web page, the result of a tool call, a database record. The indirect variant is the most critical in agentic architectures, because the attacker needs no access to the application: it is enough for the payload to reach a source that the agent will consult (for more details, see the dedicated article).

Jailbreaking has a different goal: not to overwrite the application’s instructions, but to bypass the alignment and safety guardrails introduced during training, in order to obtain outputs that the model should refuse. The techniques are numerous: role-play and hypothetical scenarios, payload obfuscation via encoding or languages underrepresented in training data, multi-turn attacks that gradually shift the context of the conversation. None require a vulnerability in the code: all exploit the same interpretive flexibility that makes an LLM useful on complex tasks. Furthermore, in an agentic architecture, a successful jailbreak does not remain confined to the generated text but translates into tool calls. The potential damage is therefore measured by the agent’s permissions, not by the content of a single response.

A concrete case is document poisoning in RAG systems. An indexed chunk containing instructions aimed at an LLM, perhaps in invisible text, in an HTML comment, or in a file’s metadata, is retrieved by semantic similarity and enters the context with the same authority as everything else. If the agent has write tools, such as sending emails or updating a ticket, that instruction can turn into an action not requested by the user, up to data exfiltration. The attack surface thus coincides with the set of anyone who can write to any indexed source: a customer opening a ticket, an external sender sending an email, a user editing a wiki page. For this reason, defense cannot rely solely on the system prompt: a control layer is needed that inspects what enters and leaves the model.

The Economic and Regulatory Cost of Cyber Risk

The average economic impact of a data breach remains a critical item globally, and in Italy, investments in cyber defense have been growing steadily for several years. A significant share of large Italian enterprises has already dealt with attacks involving substantial recovery costs and, in the most severe cases, direct effects on operational continuity.

When the incident involves an AI-based system, exposure widens. Beyond the compromised data, the data feeding the model in production comes into play (indexed documents, conversation context, tool outputs), with both reputational and compliance consequences. And on a forensic level, an additional problem arises: without a log of prompts and responses, reconstructing what an agent did and why is virtually impossible.

The economic context does not help. 2026 marks the final phase of the PNRR: the extraordinary resources that financed digital transformation are shrinking, while the risk surface to cover, expanded precisely by the adoption of LLMs and AI Agents, continues to grow.

Regulatory pressure accelerates this dynamic. The NIS2 directive extends risk management and incident notification obligations to a much broader perimeter of companies than in the past, with tight deadlines: an early warning within 24 hours and a notification within 72 hours of discovering a significant incident. For a team managing LLMs in production, this means being able to trace every interaction with the models in a verifiable way, and doing so in real time, not after the fact. It is not surprising that most large Italian companies are recording a sharp increase in board attention on cybersecurity, nor that many are seeking internal synergies to manage a regulatory complexity that adds to existing requirements on data protection and operational continuity.

In this scenario, cybersecurity and AI are confirmed as the top digital investment priorities for Italian companies in 2026: two agendas that, on a technical level, are converging into one.

Furthermore, the geographical origin of vendors weighs increasingly heavily on security choices: large companies favor European solutions to reduce critical dependencies, yet a market still dominated by non-EU players keeps digital sovereignty an open challenge. In the field of AI, the issue becomes operational and concerns the final destination of sensitive data, such as contracts, customer information, and intellectual property routed to external LLM providers. Controlling the transit, preventive filtering, and auditability of these flows is no longer just a compliance obligation, but a strategic lever.

Adopting an intermediate infrastructure that intercepts and logs every call to LLMs, regardless of the provider, guarantees this control without creating lock-in with a single vendor: true sovereignty is thus played out on the governance of flows, rather than on the choice of the model.

How to protect Models and AI Agents: the Architecture of an AI Gateway

Defending an LLM-based system requires a control layer positioned between the application and the model, capable of inspecting every request and every response regardless of the underlying LLM provider.

This is the principle behind Radicalbit AI Gateway: a mandatory, open-source transit point for all calls to and from language models, applying dynamic guardrails — control rules evaluated in real time on inputs and outputs, configurable by use case rather than fixed — and semantic filters that analyze the meaning of the text instead of limiting themselves to keyword pattern-matching, to intercept jailbreak and injection attempts even when phrased non-obviously. An architecture of this kind is structured across specific control layers:

  • Traffic interception: Every call to an LLM, from any internal application or agent, passes through a centralized gateway instead of reaching the model provider directly.
  • Dynamic guardrails on input and output: Incoming requests and generated responses are evaluated against configurable corporate policies, not static one-off rules.
  • Anti-jailbreak and anti-injection semantic filters: Content is analyzed for intent and meaning, not just textual matching, to recognize manipulation attempts even when disguised or in indirect form.
  • Real-time PII protection: PII identified in incoming or outgoing text is detected and anonymized via an integrated engine based on Microsoft Presidio that masks entities such as names, emails, phone numbers, and IBANs before they leave the corporate perimeter or are returned to the user.
  • Centralized audit trail and logging: Every interaction, guardrail intervention, and detected anomaly is recorded in a traceable manner that can be integrated with external log management systems such as Loki or Splunk, a necessary condition to meet regulatory obligations like NIS2 and for incident response activities.

The practical advantage is that enforcement does not have to be replicated in every single LLM integration: it remains centralized in a single transit point, and no call can bypass the controls. This guarantees full coverage even when different teams operate in parallel across multiple models, a now common practice in companies that do not yet have a unified mapping of their AI requests.

Compared to traditional perimeter defense, the paradigm shift is structural. While firewalls and IAM systems protect networks and identities through static rules designed to block already known threats, security for AI acts on the behavior of the model and the content of the interactions. Through semantic analysis and dynamic policies, it intercepts prompt manipulations, jailbreaks, and data exfiltration attempts even in the absence of recurring patterns. The same paradigm shift applies to logging: moving from simple access tracking to a complete audit trail of prompts, responses, and guardrail interventions, because in AI the threat hides in the language itself.

Scaling AI securely with Centralized governance

In cyber risk management, many companies still suffer from heavy fragmentation, confining security solely to the IT perimeter instead of integrating it into corporate governance. AI security risks inheriting the same limitation if it remains isolated within development teams.

To prevent the rapid growth of LLMs and AI Agents from outpacing manual oversight capacity, a change of pace is needed: automating protection and feeding all evidence, from blocked jailbreak attempts to intercepted PII, into existing risk management processes, transforming AI from a potential vulnerability into a lever for resilience.

Without centralized supervision, scaling models in production means losing visibility over data, costs, and compliance. Radicalbit AI Gateway meets this need by bringing together dynamic guardrails, semantic filters, real-time PII protection, and complete audit trails in a single control point.

Discover how to integrate it into your infrastructure starting from ready-made guardrails: put them to the test on your real workflows by consulting the technical documentation, or request a personalized demo.

Frequently asked questions about Enterprise AI Cybersecurity

Why are traditional firewalls and IAM systems not enough to protect an LLM?

Classic perimeter controls operate on signatures, static rules, and access permissions at the network or identity level. Attacks against an LLM, such as Prompt Injection and Jailbreaking, instead exploit the ambiguity of natural language to alter the model’s reasoning without formally violating network rules or access credentials.

What is the difference between direct and indirect Prompt Injection?

In direct Prompt Injection, the malicious user enters the malicious instructions directly into the model’s conversational interface. In the indirect form, however, the instructions are hidden inside external sources, such as corporate documents, emails, or web pages that an AI Agent or a RAG pipeline autonomously retrieves and processes during the execution of a workflow.

How is sensitive data (PII) protected when using external LLM providers?

By placing an AI Gateway between corporate applications and language model providers. The gateway intercepts every request in real time, automatically detects sensitive information or personal data (names, emails, IBANs, identification codes), and anonymizes them before the prompt leaves the corporate perimeter.

How does an AI Gateway help with NIS2 directive compliance?

The NIS2 directive requires complete traceability, structured risk management, and rapid incident response capabilities. An AI Gateway centralizes the audit trail by recording every prompt, every response, and every guardrail intervention, exporting logs to corporate SIEM systems to ensure continuous visibility and verifiability during audits.

Key Takeaways

  • Traditional security systems are no longer enough because AI-related threats travel through natural language and manipulate the reasoning of models.
  • The autonomy of AI Agents turns malicious inputs into concrete, unauthorized operational actions on internal and external corporate systems.
  • True digital sovereignty in AI is achieved by governing and filtering data flows in transit before they reach external providers.
  • A centralized AI Gateway allows models to be scaled in production while ensuring sensitive data protection, semantic analysis, and regulatory compliance.

©2026 Radicalbit is owned and operated by Fortitude Group Srl
All rights reserved VAT IT04268680263