AI in business: risks, mitigations, and opportunities

In short
  • Generative AI is not new, but its availability to the general public changes everything.
  • An inventory of cyber and non-cyber risks of AI in business, with possible mitigations.
  • Choosing between on-premise and cloud solutions depending on use cases and data sensitivity.
  • The real risk is a lack of understanding: experiment and learn rather than multiplying audits.

Introduction

Artificial intelligence is by far the most important technological revolution since the internet. In fact, I should say the generalization of artificial intelligence and its simplified availability to the general public. Indeed, the famous LLMs that everyone knows now are not so new. The scientific and technical foundations behind them have been known for years. Some laboratories and universities have been using these AI technologies for a long time.

A little history

Personally, in 2018, while I was restarting my studies to obtain a specialized master's degree in cloud expertise, I worked on a final project dealing with public cloud and AI. For this work, I created a histogram of major AI events. Although we weren't talking about LLMs at the time, but rather about machine learning, deep learning, and neural networks, the foundations were already there.

Timeline of AI

Click the image to enlarge.

For those who are interested, I am making my complete document available for download here.

The real revolution is thanks to OpenAI. They were the ones who, with the release of ChatGPT in November 2022, really triggered the wave we are experiencing today. For the first time, in a simple, fast, and intuitive way, the general public was able to discover a truly engaging approach to AI.

GPT3.5

Click the image to enlarge.

Just as Apple did in its day with mobile apps and touchscreens on smartphones, OpenAI managed to offer technologies that already existed but were finally truly usable by the greatest number, with a level of access and simplicity never seen before. Even Google was caught off guard and had to change its plans. They already had what it took to build a ChatGPT, but for them the time had not come and, above all, they wanted to keep benefiting from their business model based on advertising revenue and their search engine. They knew very well that offering LLMs to the general public would force them to rethink their business plans. So they were in no hurry... but OpenAI forced them to react.

Phases and current state

Since then, there has been an open war between established tech companies and new ones. Every day, there is an AI revolution and constant acceleration of market evolution. Here is a summary of the major phases of AI that I have included in this diagram. We can see the exponential nature of things, leading us to today's era of agentic AI.

Phases of AI

Click the image to enlarge.

Now, as usual in Europe and more particularly in France, despite our great engineering talent, we are always late to the party. Obsessed with risk and fear of change, many companies hesitated to embark on the adventure of integrating AI into their production chain. With cybersecurity riddled with marketing and audit firms… which, for their part, don't hesitate to use AI to churn out reports that cost a fortune, I can only be saddened to see around me such strong distrust of AI... for the wrong reasons (not all the criticism is wrong, especially regarding ecology).

OpenAI Trophy

Click the image to enlarge.

Of course, I am not encouraging the uncritical adoption of all new technologies, and what works for some may not necessarily work for others, but in 2026, we cannot bury our heads in the sand and assume that AI is a passing fad that we can do without. We need to experiment, test, learn, and train.

To help with this, I propose listing the main risks currently identified around AI in businesses. Knowing these risks and being able to implement mitigation strategies is a good way to stop being afraid to get started and begin the process of integrating AI into your company.

Risks associated with AI

Cyber risks

Let's start with what is constantly brought to our attention whenever we want to experiment with AI in our work: the risks associated with cyberattacks.

Prompt injection

Whether it is prompted directly or through an agent, AI is designed to ingest a large amount of data and access numerous content sources to interpret them and provide feedback to its user, or to initiate a series of actions. Content injection involves hiding instructions within a web page, for example, which are not visible to a human but can be understood by an AI in order to instruct it to act in a certain way. For instance, we could imagine hiding instructions in HTML comments, CSS tags, or any other metadata with the aim of returning the entire prompt history of a user to a compromised URL in order to retrieve sensitive information. The user asks the AI to summarize a trapped page; the AI dissects it, including the hidden instructions, interprets them, and performs what is requested without the user's knowledge.

Prompt injection: source https://openai.com/fr-FR/index/prompt-injections/

Click the image to enlarge.

This technique is not new: even before the LLM craze, hackers were already hiding malicious code in web pages. Even without any malicious intent, it was already a common way to boost one's ranking in search engine algorithms, so that their bots would pick up more keywords without hurting the articles' readability for humans. With AI, it is the model's "executing" side that is frightening.

How can we protect ourselves?

As always, zero risk does not exist, but known LLM models are constantly improving with each version on this front, detecting these types of subterfuges themselves. Therefore, it is important to stay informed about the evolution of these models and use the latest versions.

Furthermore, it is important to consider the context. The simple use of an LLM through its website does not present the same risk as an autonomous agent. In the first case, with major providers, when you interact with the prompt, access to the LLM is limited to the current session and does not have the ability to "exit" the current context (even though it "learns" from you and your previous conversations). Additionally, we are dealing with a language model that is limited to text (or image/video) processing and generation, but without execution capabilities. In the second case, the risk is higher, but, as has always been done (or at least should be), when deploying a new application within a company, access rights and action scopes are limited.

Everyone uses service accounts in their company. Often, specific permissions are associated with them to limit what could be done with that account in the event of its compromise, while also having the ability to disable it. The same principle applies to AI agents: their scope and level of access should be controlled. Firewall rules, specific accounts, logical and physical separation remain good ways to limit risks. If you have a good understanding of your service accounts today, there is no reason why you shouldn't have a good understanding of your agents tomorrow. Moreover, solutions are emerging on the market, particularly from cloud providers, to enable proper governance of agents.

Agent governance solution from Microsoft: source https://azure.microsoft.com/fr-fr/services/azure-openai-service/agent-governance/

Click the image to enlarge.

In addition to this, we can leverage solutions specific to major market providers and offered by their vendors, such as Anthropic. In the case of Claude Code, for example, there is a wide range of safeguards that can be implemented, starting with the use of the settings.json file, in which you can prevent the agent from performing certain tasks. Talented developers share their setup to help secure their coding assistant, demonstrating that the role of developer is still valuable:

Claude Code structure: source https://dev.to/agaches/ca-ressemble-a-quoi-mon-setup-claude-code--26le

Click the image to enlarge.

For example, this type of hook for Claude Code will prevent it from entering dangerous commands. Furthermore, using tools such as Nanoclaw instead of OpenClaw in agent scenarios can reduce risks. While containerization of agents is not an absolute guarantee, it can limit damage rather than executing them directly on a workstation or server. In businesses, platforms like Kubernetes can be a good use case for limiting agents within namespaces with reduced and controlled access.

OpenClaw vs NanoClaw: source https://nanoclaw.dev/fr/

Click the image to enlarge.

Semantic manipulation and behavioral control

The goal is to play on how the request is phrased in order to trap the model's reasoning. In the case of an agent, the aim is to manipulate it into making harmful decisions, such as sending sensitive data outside. Unlike the previous example, no instructions are hidden; instead, requests to the AI are multiplied, iterating on prompts and playing on the vocabulary and tone chosen to force it to perform actions or hand over sensitive data. This is what we hear about most in the press, where some people manage to obtain confidential information by playing on the way they prompt to bypass the models' internal safeguards.

Example of semantic manipulation

Click the image to enlarge.

How can we protect ourselves?

Again, recent models are better equipped to handle this now. As with prompt injection, the risk is not the same between simply using an online LLM and using an agent. Again, for the agent, framing the data it has access to is essential, and once again, this is not a new recommendation. Personally, more than ten years ago, I was involved in a project to index all of a company's files to allow users to find their documents much faster. It took only a few minutes for payroll records and bonuses for some employees to become accessible to anyone in the company by simply typing the keywords "payroll record." If the indexing engine had not initially had access to this data, the incident would never have occurred. The same applies to an AI agent; even if its reasoning is diverted, it will not be able to provide information that it does not have access to.

In a business setting, strategies such as LLM in the middle can be implemented, where the prompt is pre-processed by a local and fast model to perform an initial analysis and potentially "clean" anything that might pose a risk.

LLM in the middle

Click the image to enlarge.

Tools like LiteLLM, which is free and open source, can be associated with guardrails, acting as a first level of filtering, particularly to prevent the use of personal data (PII - Personally Identifiable Information):

Example of LiteLLM with guardrail to filter personal data

Click the image to enlarge.

Vendors like Zscaler also offer prompt analysis solutions to limit the risks of LLM misuse and the dissemination of confidential data. Regarding agents, similar to human browsing in a company, using proxies at the output is preferable. These can restrict access to fraudulent sites and provide visibility into the web activities performed by the AI, meaning that a user attempting to exfiltrate data by manipulating prompts could be tracked or even blocked.

Zscaler offer

Click the image to enlarge.

Cognitive poisoning

We often hear about RAG (retrieval-augmented generation). It is the principle of combining the computing power of language models with external, up-to-date data sources. The whole risk comes from the sources. If they are corrupted, or simply wrong, even without any criminal act (lack of updates, false information, etc.), the agent's "memory" and logical reasoning are affected, making its decisions problematic and potentially dangerous.

Example of cognitive poisoning

Click the image to enlarge.

How can we protect ourselves?

It all comes down to the quality and follow-up of the data provided. Many agent projects deployed in companies have failed because they were deployed directly on outdated, unclassified document collections. Don't imagine that the AI will sort things out for you. Too many people thought they could simply connect an LLM to all their company's sources and achieve what they had refused to do for years, namely keeping their data repository up to date, with standardized and complete metadata. This is simply common sense, knowing once again that you can expose only part of your data to an agent. It is better to proceed in small steps and regularly measure the relevance of your AI's answers than to try to give it everything at once.

Furthermore, it is entirely feasible and relatively simple to perform penetration testing on a company's AI system, just as you can with a website. Regularly asking it for confidential information to see what it provides is a good way to track its evolution. This applies even to public AIs, and it is even simpler than traditional OSINT. For example, I often connect with a fictitious account to various models on the market (Gemini, ChatGPT, Claude...) and ask questions about the applications and infrastructure of the company I work for. This is a way to verify whether data can be accessed in this manner, as this is one of the most feared risks by many CISOs. If AI simplifies the lives of attackers, it also simplifies the lives of defenders.

Example of searching for information about a company through an LLM

Click the image to enlarge.

The risk of supply chain disruption and sovereignty

Currently, the primary use of AI involves SaaS providers. This implies trusting a third party, not to mention that this provider is often a foreign company, most often American. A compromise of this provider or a failure to comply with associated contracts could pose a risk.

How to protect yourself against it.

I must admit that this is one of the risks that annoys me the most when it is highlighted. Not because I don't share it, but mainly because it has been present for years. How many companies already have all their email with Microsoft or Google? In terms of information sources and the risk of leaks, I think emails are one of the most interesting, and you don't need AI to index and search for information in a stolen database.

But in the end I am not surprised, because I went through these same debates when public cloud arrived. Mind you, I am not saying that incidents have not happened or that this issue should be taken lightly, especially with growing regulatory constraints in certain markets, particularly in Europe. But the answer is the same as back then: involve your legal teams and challenge your partner to make sure they offer the best possible guarantees, both technical and commercial (without forgetting reversibility, often impossible in real life but required by regulators). This risk will never be completely removed. If you are not ready to run your AI outside (and, in theory, everything else too), then the only solution is to turn to local infrastructure. Many have tried to train their own model, but, to my knowledge, even large groups ended up giving up, preferring instead a no-reuse clause on their data with a major market player…

On the other hand, running open-source models on on-premise equipment remains a credible alternative depending on your needs and resources (more on this later). Another obvious point: the main leaders in this segment all have business offerings that include specific commitments. Sometimes it is better to go that way than to let shadow IT keep growing, with each employee using AI through a personal account, where the terms of use are not at all suited to a professional environment.

Statistics on personal AI use in companies

Click the image to enlarge.

This may not be ideal, but it is already better. Now, as with public cloud services, it is primarily a business choice.

Comparison of Gemini offers

Click the image to enlarge.

Other risks

Model degradation

AI is evolving very quickly, and so are the models. While I recommend regularly switching to the latest released models, it is possible to experience regressions in the effectiveness of certain LLMs. We have observed this, for example, with ChatGPT and Codex, its code agent, which, in the eyes of many, suddenly deteriorated.

Degradation of Codex

Click the image to enlarge.

This is a problem with some cloud models, where it sometimes seems that they are more effective when first released, but after a certain time, they become less relevant. (This is also an issue related to memory context).

How can we protect ourselves?

Often, the developers eventually fix the problem. Older models are usually still available, and it's a good idea to create your own benchmarks internally and test them with different models to evaluate them continuously. For example, prepare some code or scripting exercises that you regularly encounter and submit them to the models. You can take the output from an older model and provide it as input to a new model, asking it what it thinks. This is a good way to measure progress or regressions. Don't get too attached to your models, and don't hesitate to switch providers, or even use multiple providers if you have the financial resources. Personally, I always work with two solutions: currently, Gemini and Claude. It's not uncommon for me to use the output of one to feed into the other, and vice versa.

Changes in pricing

It's important to be aware that we are likely currently in a phase where using AI is the least expensive. The competition between providers is so intense that prices are below profitability thresholds for them. With pressure on hardware and energy, this period will not last indefinitely, and you should expect price increases once the market has been cleared of some competitors. This is another reason to try as much as possible now and form your own opinion.

Profitability of AI companies

Click the image to enlarge.

How can we protect ourselves?

Again, it's important to be agile and potentially plan for a change of provider. Fortunately, switching LLMs isn't particularly complicated, and standards like the OpenAI API or the MCP (Model Context Protocol) have emerged, which makes migrations easier. Furthermore, I think that hybridizing cloud and on-premise models is a very good architecture that is ready to support future developments.

The risk to human skills

We must not hide from the fact that the progress of AI is such that today, it is very easy to fall into the trap of no longer trying to understand what is being done and how it is being done. Vibe coding is a perfect illustration of this. While initially we could laugh at the applications created from simple prompts, today, many apps, especially web-based ones, work perfectly well, yet they are created by people who have not written a single line of code. The risk is to end up deploying an application portfolio about which we have no knowledge, resulting in a loss of expertise that could be very expensive in the event of an incident.

How can we protect ourselves?

Coding with AI (or anything else) must not mean not understanding the code, or at least the main principles behind it. You have to remain critical. In my view, the developer's job is not going to disappear; it will simply transform, just as the pure systems engineer's job changed with the emergence of public cloud. Humans must remain in control of the work done, and AI must be a tool; and, like any tool, you have to learn how to use it. Using a coding assistant like Claude Code is not something to do haphazardly. Understanding how LLMs work, even combining them and pitting them against each other to get the best out of them, is the new challenge for IT experts. Many training resources are available, and free. Anthropic, for example, offers an excellent course to make good use of their product, but also of other LLMs.

Courses for Claude Code: source https://www.anthropic.com/learn

Click the image to enlarge.

An explosion of releases and the return of QA

The deployment of AI as a coding assistant tends to greatly accelerate the delivery of applications. Releases are becoming more and more frequent at a speed that very quickly exceeds the capacity for production deployment.

Having AI code your applications implies continuous quality control. Normally, a CI/CD implementation in a company should already include testing scenarios and regression tests. However, when automation and industrialization were integrated into IT, it was primarily the ability to deliver more that was implemented, rather than quality control.

However, when you are no longer the originator of the code produced, even if the AI is capable of generating high-quality code, controlling the output becomes a priority.

The focus of the work then shifts from writing code to controlling the code. This can also be done with AI, but in a different way and with different instructions, and always based on human guidance.

Therefore, it is necessary to strengthen or update your QA (Quality Assurance) service and evolve your CI/CD pipelines to integrate AI.

It's worth noting that I often encounter significant skepticism regarding the security vulnerabilities that an AI could produce. Another obstacle to adoption is the fear of seeing the AI appropriate confidential data present in existing code.

Regarding security vulnerabilities, there are many ways to analyze the generated code. Just as it was possible to do with code written by a human, analysis tools like SonarQube still have their place in companies as a mandatory step for all proposed code. Programming with AI requires providing the appropriate instructions and context. It is the responsibility of IT teams, who are best qualified to guide the models and engage in a continuous improvement process for contexts and instructions, which become corporate assets just as valuable as the source code.

Regarding the fear of confidential data, while the risk exists, I believe it is greatly exaggerated. Everything depends on the professional environment and regulatory constraints, but seeing a Claude Code detect an API key or password in code should not prevent any adoption.

In reality, having your code analyzed by artificial intelligence is a highly recommended method for performing a complete verification, especially for legacy code where you may have forgotten who did what, and where entire sections of code were written at a time when cybersecurity rules and best practices were different.

When an AI analyzes code, most of the time it will itself alert you to the detection of an element that has no place in the code and encourage you to correct the problem.

For me, except in specific contexts (classified defense information, intellectual property issues…), it has become much riskier to forbid AI from scanning your code than to let AI go through it and provide an analysis. That analysis should not be taken at face value, but it should be one of the inputs you have and consider. You don't have to follow what the AI suggests… However, you probably would not have found on your own the little password forgotten in a .env file, lying around for a decade in an application on an abandoned web server. It is very unlikely that the AI covered by your company's contract with a market leader will exploit that password (as for data leaks, if that is your problem, forget SaaS)… but an attacker using an LLM far less censored than yours will certainly manage to do something with it…

On-Premise or Cloud

This is another point I wanted to raise. While the advent of LLMs came through SaaS, running local LLMs has quickly gained traction and now presents an advantage that should not be overlooked. New compression algorithms and hardware advancements mean that some open-source local models are now just as effective, or even more so, than the early versions of ChatGPT.

We can also leverage the specialization of certain models. Since we cannot always run a generalist model that consumes a lot of resources, we can select lighter models specifically designed for a particular purpose based on our needs (coding in a specific language, analyzing legal documents...). The open-source ecosystem is perfect for this, and I encourage you to try tools like OpenWebUI, Ollama, LM Studio, or AnythingLLM. Not to mention that it can be more environmentally beneficial.

AnythingLLM

Click the image to enlarge.

OpenWebUI

Click the image to enlarge.

For me, the future lies in hybrid approaches, combining SaaS models and local models. Moreover, this can address some of the cybersecurity risks mentioned earlier. In fact, I plan to start a cookbook on the subject soon to detail the implementation of an entire AI platform that enables this hybridization.

Be careful with so-called open source models

Let's briefly discuss open-source models. Be careful about which ones you choose. In fact, talking about open-source models is a bit of a misnomer, because while their use may be possible without restrictions, most don't indicate how they were trained, and the instructions/data used are not open source. Using obscure models exposes you to the risk of using models that could be dangerous.

Models available on HuggingFace

Click the image to enlarge.

Therefore, it's important to choose reputable models from reliable organizations. I invite you to follow this site to help you choose your models:

Open Source Models

Click the image to enlarge.

Also, be wary of so-called "detoxified" or "uncensored" models. Some modify base models to remove their safeguards. This has a direct impact on the risk of semantic manipulation and behavioral control, as the model may agree to respond directly to malicious requests.

Type of risky model

Click the image to enlarge.

Conclusion

AI is transforming IT and will continue to do so. Whether we like it or not, it's a fact. Just as the internet, big data, and public cloud have done before, artificial intelligence is revolutionizing the IT industry (and beyond), which should encourage us to question ourselves.

Running away from reality and hiding behind cyber risks is not the solution. Especially since, ironically and to exaggerate a little, if companies had applied the best practices many tech people have been repeating for years, well before this topic became fashionable, IT departments would already be ready to welcome AI: separation of environments, good knowledge and filtering of network flows, data classification… Exaggerating somewhat, AI does not bring more cybersecurity risks than before; what protected us yesterday can keep protecting us today. They are the same risks, strongly amplified by AI. It makes a large share of attacks far more accessible and simpler, on much larger datasets, which requires much faster reactions.

Since the arrival of ChatGPT, the ecosystem has evolved, some initial incidents have already occurred, and we now have a first experience that allows us to better understand the uses and methods. Vendors have gradually implemented protections in their solutions.

If I had to emphasize only one thing, it would be the need to experiment and learn. There are many solutions available that can be adapted to most businesses. Fear is often proportional to a lack of understanding, and chasing audits and third-party expertise is not the solution. AI has never been so accessible, including financially: you need to try things out, get training, and expose yourself to the technology in order to improve your knowledge, transform your fear into strength, and move from risk to productivity.