Cybersecurity Insights & Research

Threat reports, research papers, webinars and whitepapers from the Mercurius security team — staying ahead of the adversary.

AI governance controlling how AI tools and agents access company data

AI governance and shadow AI: A security guide

When security leaders met at Mind The Sec 2026, one question came up more than any other: not whether to use artificial intelligence, but how to use it with control. Employees are already using AI assistants every day, business teams are connecting AI agents to company systems, and vendors are embedding AI into products the organization already relies on. In most companies, this adoption is moving faster than any policy. This article explains what shadow AI is, the main security risks of AI adoption, the building blocks of an AI governance program, how to secure AI agents specifically, and how to get started in a practical way.

The short answer

AI governance answers three questions: which AI is being used, what can it access, and who is accountable for what it does. Without those answers, organizations face data leaving through prompts, agents acting with more permissions than any employee, and decisions nobody can explain.

It helps to separate two topics that are often mixed together. Using AI for defense, as in AI in the SOC, is about making security operations faster. AI governance is about protecting the organization from the risks of its own AI adoption. Both matter, but they require different controls.

Why AI governance became a security priority

AI changes the security picture in three ways at once. First, it creates a new channel for data exposure: every prompt, uploaded document, or connected data source can send sensitive information to a system the organization does not control. Second, it introduces new actors with access: AI agents can read email, query databases, call APIs, and take actions, often using credentials and permissions that were granted quickly and never reviewed. Third, it raises questions of accountability: when an AI-driven process makes or influences a decision, someone must be able to explain and answer for it.

Traditional security programs were not designed for any of this. Data loss controls did not anticipate employees pasting contracts into a chatbot, and identity programs did not anticipate software that reasons and acts on its own. AI governance fills that gap.

What shadow AI is and why it happens

Shadow AI is the use of AI tools, models, or agents without the knowledge or approval of IT and security. It includes employees using personal accounts on public AI assistants for work, teams subscribing to AI-powered SaaS tools on their own, developers connecting code assistants or AI services to internal repositories, and business users building automations that connect AI agents to company data.

Shadow AI rarely comes from bad intentions. It happens because the tools are genuinely useful, easy to access, and often free, while official alternatives are slow to arrive or do not exist. That is why simply banning AI tends to fail: usage moves to personal devices and accounts where the organization has even less visibility. The goal is to bring AI use into the light by offering approved options and clear rules, not to drive it further underground.

The main security risks of AI adoption

The risks of AI adoption can be grouped into a manageable set, each with practical ways to reduce it.

The main security risks of AI adoption (responsive)
Risk What it looks like How to reduce it
Sensitive data exposure Confidential documents, customer data, or source code entered into AI tools Approved tools with enterprise data protections, data classification rules, and monitoring of AI usage
Shadow AI AI tools and agents adopted without security review Inventory, discovery of AI usage, and a fast approval path for new tools
Prompt injection Malicious instructions hidden in content that manipulate an AI system’s behavior Treat external content as untrusted, limit what the AI can do, and test applications specifically for this risk
Excessive agency AI agents with broad permissions able to take high-impact actions on their own Least privilege for agents, scoped credentials, and human approval for sensitive actions
Unmanaged non-human identities Agent credentials, API keys, and tokens that are never reviewed or rotated Bring agent identities under identity and privileged access controls
Insecure AI vendors Third-party AI services with weak data handling or unclear model training practices Assess AI vendors through the third-party risk process
Unreliable output Incorrect or fabricated answers used in decisions without verification Human review for consequential decisions and clear rules on where AI output can be trusted
Regulatory and privacy exposure Personal data processed by AI without a legal basis or transparency Involve privacy and legal teams, and map AI use against data protection obligations such as the LGPD

The building blocks of an AI governance program

An effective program does not need to be bureaucratic. It needs a few clear elements that work together:

  • A named owner or small committee, typically involving security, legal, privacy, and business representatives, responsible for AI decisions.
  • A living list of AI tools, models, and agents in use, who uses them, and what data they touch.
  • Acceptable use policy. Simple rules on which tools are approved, which data can and cannot be used with AI, and what requires review.
  • Approval process. A fast path to evaluate and approve new AI tools, so the business does not need to work around security.
  • Data protection rules. Clear guidance linking data classification to AI use, for example prohibiting confidential data in tools without enterprise protections.
  • Vendor assessment. Evaluation of AI providers through third-party risk management, including how they store data and whether it is used to train models.
  • Visibility into AI usage across the organization, so policies are enforced and new tools are discovered.
  • Training that explains the reasons behind the rules, not only the rules themselves.

Securing AI agents

AI agents deserve special attention because they combine the risks of software and the risks of users. An agent that can read a mailbox, query a CRM, and send messages on behalf of an employee is, from a security perspective, a powerful identity that never sleeps.

The same principles used for privileged access management apply here. Agents should receive only the permissions their task requires, with credentials that are scoped, stored securely, and rotated. High-impact actions, such as sending money, deleting data, or contacting customers, should require human approval. Every action an agent takes should be logged so it can be reviewed and explained. Content an agent reads from external sources should be treated as untrusted, since it may contain instructions designed to manipulate it. And AI applications and agents should be tested before deployment, including adversarial testing that tries to make them leak data or act outside their intended scope.

Frameworks that help

Several frameworks give structure to AI governance. The NIST AI Risk Management Framework offers a widely used approach to identifying and managing AI risks. ISO/IEC 42001 defines requirements for an AI management system and is designed to work alongside ISO 27001, which makes it a natural extension for organizations that already run an information security management system. The OWASP Top 10 for LLM Applications catalogs the most important technical risks in applications built on large language models, such as prompt injection and excessive agency.

On the regulatory side, the European Union’s AI Act introduced a risk-based approach to AI regulation, and other jurisdictions, including Brazil, are developing their own rules. Data protection laws such as the LGPD already apply whenever AI processes personal data. Because this landscape is changing quickly, organizations should verify current obligations with legal counsel.

How to start in 90 days

Organizations do not need a perfect program to make progress. A practical first 90 days can look like this:

  1. Weeks 1 to 3: discover. Identify which AI tools and agents are in use, formally and informally, and which data they touch.
  2. Weeks 3 to 6: decide. Name an owner, publish a short acceptable use policy, and define which tools are approved for which types of data.
  3. Weeks 6 to 9: enable. Offer approved AI tools with enterprise protections, so employees have a safe alternative to shadow AI, and create a fast approval path for new requests.
  4. Weeks 9 to 12: control and monitor. Bring AI agents under identity controls, add AI vendors to the third-party risk process, and start monitoring AI usage.


From there, the program matures through regular reviews, testing of AI applications, and alignment with frameworks such as ISO/IEC 42001.

Common mistakes in AI governance

  • Banning AI outright, which pushes usage to personal accounts and removes visibility.
  • Writing a policy without monitoring, so nobody knows whether it is followed.
  • Treating AI only as a legal or ethics topic, without involving security in data and access decisions.
  • Ignoring AI agents, focusing only on chat assistants while agents accumulate access.
  • Approving tools without checking how vendors handle data, including whether it is used for model training.
  • Making approval so slow that teams stop asking.

How Mercurius helps organizations adopt AI securely

Mercurius approaches AI from both sides. As an AI-native security company, it uses artificial intelligence daily in its own SOC, which gives it practical experience with the benefits and the limits of AI in real operations. That experience informs how it helps clients govern their own AI adoption.

In practice, Mercurius supports organizations in mapping AI usage and shadow AI, defining policies and approval processes, bringing AI agents under identity and privileged access controls, assessing AI vendors, and testing AI applications and agents with the same offensive mindset it applies to any other system. The goal is the one leaders asked for at Mind The Sec: adopting AI with visibility and control, without slowing the business down.

Common mistakes in incident response plans

  • Storing the plan only on systems that may be unavailable during the incident.
  • Leaving roles without named people or backups.
  • Writing generic procedures that do not reflect the organization’s real systems and people.
  • Ignoring legal and communication aspects, treating incidents as purely technical.
  • Restoring too quickly, before confirming the attacker has been removed, which leads to reinfection.
  • Never testing the plan or updating it after real incidents.

Frequently asked questions

What is shadow AI?

Shadow AI is the use of AI tools, models, or agents without the knowledge or approval of IT and security, such as employees using personal AI accounts for work or teams adopting AI-powered tools on their own. It creates risks of data exposure and unmanaged access.

Should companies ban generative AI tools?

Generally not. Bans tend to push usage to personal devices and accounts, reducing visibility. A more effective approach is to offer approved tools with enterprise protections, publish clear rules on data use, and monitor usage.

What is prompt injection?

Prompt injection is an attack in which malicious instructions are hidden in content that an AI system processes, such as a web page, document, or email, in order to manipulate its behavior. It is especially dangerous for AI agents that can take actions, which is why their permissions should be limited.

How do you secure AI agents?

Give agents only the permissions they need, use scoped and rotated credentials, require human approval for high-impact actions, log every action, treat external content as untrusted, and test agents for data leakage and misuse before deployment.

Is there a standard for AI governance?

Yes. ISO/IEC 42001 defines requirements for an AI management system and works alongside ISO 27001. The NIST AI Risk Management Framework and the OWASP Top 10 for LLM Applications are also widely used references.

Did you enjoy the content? Share it with your network!

Categories

Last contents