AI security in the workplace: Shadow AI, data leaks and prompt injection.

Bonbay Updated 4 min read

Shadow AI.

In many companies, staff are already using AI assistants on their personal accounts without telling anyone. This isn't malice: the tool saves them time and nobody has offered them anything better. But the company knows neither which tools are being used nor what data is going into them.

Getting control starts with an inventory. Firewall or web-filtering logs show which AI services are being accessed, and from which machines. Browser extensions and add-ins for office software can be listed too: some of them read everything displayed on screen.

A ban on its own isn't enough, and it pushes usage onto personal phones. Offering an approved tool, with a business account, solves most cases.

Data leaks.

A contract pasted into a consumer assistant to get a summary leaves the company. Depending on the plan and settings, it may be stored, reviewed for moderation or used to train the model. The business plans of the main vendors do not, by default, use their customers’ data for training, and they give the administrator controls.

The data to protect first: personal data on customers and employees, health data, contracts, unpublished figures, source code, passwords and keys. What you can share with an assistant, and on what terms, is covered by Bonbay IA on the customer data and AI page. The legal side is covered on the GDPR compliance page.

Prompt injection.

A language model cannot always tell its user’s instructions apart from the text it is reading. A web page, an email or a PDF can contain a hidden sentence, white on white or in the metadata, telling the assistant to ignore its instructions and send information elsewhere. An assistant reading that document may obey.

The risk stays low for an assistant that only answers questions. It grows as soon as the AI takes action: sending emails, reading shared files, querying the CRM, using connectors or MCP servers. OWASP ranks prompt injection first among its risks for applications built on language models.

The controls: give each agent the minimum rights, have a person approve every sensitive action (sending, payment, deletion), keep the data being read separate from the instructions, and log every action.

Shared accounts and exposed keys.

  • The shared account: a subscription paid for by the company and used by five people with the same password. No two-factor authentication, a history everyone can read, and no way to cut off someone who leaves.
  • The API key in the code or in a shared file: anyone who finds it runs up usage at your expense and gets access to whatever it unlocks.
  • The over-broad connector: an agent connected to the entire email system when it only needs one mailbox.

The fixes are well known: named accounts linked to the company directory, keys stored in a vault and rotated, and rights limited to actual need, reviewed every quarter like other accounts.

The controls to put in place.

RiskControlCheck
Shadow AIInventory, approved tool providedBrowsing logs, quarterly review
Data leakageBusiness plan, rules on sensitive dataAdministration settings checked
Prompt injectionMinimum rights, human approval of actionsLog of each agent’s actions
Accounts and keysNamed accounts, vault, rotationQuarterly access review

These technical controls do not replace a written rule that everyone knows. The usage policy, its clauses and how it is rolled out are handled by Bonbay IA: see the company AI policy page. The AI Act also requires companies that use AI to make sure their teams have a sufficient command of it: this is the AI literacy obligation, in force since 2 February 2025. What AI changes for attackers is covered separately on the AI-powered attacks page, within the AI-driven cybersecurity section.

Bonbay. Updated 15 November 2026.

Your questions.

Should ChatGPT be banned in the company?

A ban with no alternative pushes usage onto personal phones, where the company can no longer see anything. It is better to choose one or two approved tools, with business accounts, say which data must never go into them, and block only the services that offer no guarantees. The rule is reviewed regularly.

Do enterprise plans for assistants protect our data?

They offer guarantees that free accounts lack: no training on your data by default, central administration, sign-in through the company directory, configurable retention period. They do not exempt you from your own rules: a confidential document remains confidential, and access is withdrawn when an employee leaves.

What does a prompt injection look like?

A common example: an assistant tasked with summarising incoming emails comes across a message containing, in tiny print, an instruction addressed to the AI. It follows it, and forwards information or drafts a misleading reply. Without permission to send, the assistant can do no harm: that is why we limit what it can do.

How can we find out which AI tools our staff use?

Firewall or web filtering logs show the services accessed from the company network. The Microsoft 365 or Google Workspace admin console lists the applications connected to accounts. An anonymous questionnaire completes the picture: employees are more willing to say what they use when they have nothing to fear.

Does the GDPR apply to data given to an AI?

Yes. Personal data pasted into an assistant is being processed: you need a legal basis, must inform the people concerned, and must bind the provider by contract as a processor. A tool hosted outside the European Union also raises the question of transfers. The record of processing activities must include these uses.