Guide
AI security: everything you need to know
Last reviewed: · by Lars Zimmermann
In short
AI security is largely information security craft, applied to new workpieces. They sit in training data, knowledge stores, model files and agent rights. Prompt injection can only be contained. A rule in the system prompt is a request. What works: limits outside the model, incoming inspection for models and skills, and a log with the model version.
This guide is for managing directors, IT leads and information security staff in companies that use, buy or build AI. A chat assistant with access to shared drives, an agent with write access to the ERP, a downloaded model. All of it is software first. Get information security right and much of the work is done. Three things are new. A language model does not separate cleanly between an instruction and the text it reads. A model file can run code when loaded. And a purchased model can change its behaviour while nobody in your company touches it.
The learning path has four stations. Getting started covers the attacks that only exist in AI and the question of why a rule in the prompt is no barrier. Going deeper deals with the supply chain: models, skills, plugins and testing tools. In practice covers the foundation from ISO/IEC 27001, reporting duties, awareness and changes that nobody approved. The last station shows which evidence holds in an audit. Each station has articles and glossary terms. Templates follow at the end.
Station 1 · Getting started
What is new about attacks on AI
This station explains how attacks on AI systems work and why they cannot be patched away. The starting point for anyone who so far knows only classic IT security.
A language model has no built-in boundary between your instruction and the text it reads. If an email, a PDF or a web page contains an instruction, the model may carry it out. In an agent, that becomes a wrong action. A mistake I find regularly in audits: the most important barrier is a sentence in the system prompt. That is a request to a statistical system. A real control sits outside the model. It works even when the model ignores the rule. ISO/IEC 27090 describes nine AI-specific types of attack, from data poisoning to model inversion. After this station you know where the limit sits technically for each system.
Articles for this station
- Prompt injection cannot be patched away, only containedPrompt injection is an architectural weakness of language models. What it means for AI agents and the AI supply chain, and how to contain the risk.6 min read
- When the only barrier is a sentence in the system promptA rule in the system prompt is a request, not a barrier. How to tell the difference in an audit, and why test results often prove nothing at all.8 min read
- ISO/IEC 27090: what the new standard says about attacks on AIThe new ISO/IEC 27090 describes how AI systems get attacked and what helps against it. What is in it, what it is not, and what to do on Monday.8 min read
Terms from the glossary
Station 2 · Going deeper
Models, skills and tools from outside
This station is about the AI supply chain. Pre-trained models, libraries, skills and plugins come from outside and run with your rights. It also asks what a security check run by a language model can deliver.
No manufacturer fits a bought-in part without incoming inspection. AI models almost never get one. A model file in pickle format can run code when it is loaded. Fine-tuning does not clean a manipulated model. A skill is a folder that may contain scripts the agent starts with the user's rights. The check therefore follows a fixed order: origin, format, checksum, scan, dependencies, behaviour test, approval with a record. Every update is a new delivery. A language model as a testing tool only helps if it gives the same result twice for the same state. After this station you can set up incoming inspection for models and skills.
Articles for this station
- Buying AI models: incoming inspection under ISO/IEC 27090A model file can run malicious code while it loads, before it answers a single question. How to inspect purchased AI models under ISO/IEC 27090.8 min read
- AI agent skills and plugins are part of your supply chainA skill for AI agents is more than text: it can bring scripts that run with your permissions. Six checks before you install one in your company.8 min read
- A security check is not a prompt: AI as a testing toolA language model scans your website for gaps and replaces the pentester? Three reasons why that does not hold, and what a testing tool has to do.8 min read
Terms from the glossary
Station 3 · In practice
The foundation in your own company
This station links AI security to what a company has to do for its information security anyway. It covers ISO/IEC 27001, NIS2, the Cyber Resilience Act, awareness and changes to software.
ISO/IEC 27090 says it itself: securing the software foundation is often more effective than expensive special defences. First the door. Then the window on the third floor. A working ISMS under ISO/IEC 27001 covers a large part of the NIS2 risk management requirements. Manufacturers of products with digital elements get duties of their own under the Cyber Resilience Act. The way in often runs through people. Someone plugs in the USB stick found in the car park. And an update changes final invoices without anyone testing or approving it (ISO/IEC 27001, A.8.32). After this station you know which existing controls already carry your AI and where they are missing.
Articles for this station
- NIS2 and ISO 27001: How SMEs Make the Obligation ManageableNIS2 hits many mid-sized firms and suppliers. Why an ISO 27001 ISMS is the strongest foundation and turns the obligation into a competitive advantage.9 min read
- Cyber Resilience Act: what device and machine manufacturers must know nowThe Cyber Resilience Act makes manufacturers of products with digital elements responsible for security across the lifecycle. Who it affects and when.6 min read
- The USB Stick at the Front Desk: Security Awareness in Mid-Sized CompaniesSocial engineering costs next to nothing yet causes losses in the millions. Why security awareness is the cheapest line of defence, and what ISO 27001 requires.8 min read
- When an Update Changes Your Invoices: A Records-Integrity RiskA software update re-issued four finalised invoices with altered content. Why that breaks the principle of immutable records, and who is answerable for it.8 min read
Terms from the glossary
Station 4 · Audit and evidence
Evidence that holds in an audit
The last station shows how you evidence security to customers, auditors and yourself. It focuses on suppliers, incidents and what counts as evidence for a language model.
A certificate proves that a defined scope was audited at one point in time. The annex says whether your service is part of it. Ask for the scope in full wording, the statement of applicability and notice of model changes. For a language model, a screenshot of a good answer proves nothing. What holds: model version, system prompt state, a trace of human approval and a usage log (ISO/IEC 42001, A.6.2.8). Who sets the reporting threshold for incidents, and why a case went unreported, belongs in writing. The GDPR requires this for data breaches already (Art. 33(5) GDPR). After this station you can show an auditor your chain of evidence.
Articles for this station
- Vetting AI service providers: 20 questions before you signWhen you buy an AI service, you buy the provider’s governance with it. 20 questions in four blocks, each with the clause or article that backs it alongside.9 min read
- Supplier evidence: what a certificate does not proveA certificate proves a scope, not a service. The six pieces of evidence you should request instead, and what ISO/IEC 42001 A.10.3 says about it.8 min read
- Detected but not reported: who sets the reporting threshold?An AI provider detects an account, bans it and does not report it because its threshold was not met. What your company can learn for its reporting chain.8 min read
- How do you obtain audit evidence for a language model?The same result reads differently tomorrow. Why a screenshot proves nothing, which six items of evidence hold up and what Article 12 EU AI Act requires.9 min read
Terms from the glossary
Frequently asked questions
Is our ISO 27001 certificate enough for AI security?
It is a strong foundation. Access control, suppliers, logging and change management are already in the management system. AI adds new workpieces: training data, knowledge stores, model files and the rights of agents. ISO/IEC 27090 provides the catalogue of attacks, ISO/IEC 42001 the framework for AI risk and monitoring. A certificate proves that a scope was audited at one point in time. How a particular AI application behaves today is something it does not prove.
Can prompt injection simply be filtered out?
Filters lower the risk. They cannot remove it. A language model has no built-in boundary between an instruction and the data it reads. Protection therefore means containment: minimal rights, checked inputs and outputs, human approval before risky actions, and monitoring. Treat whatever comes from a document as a suggestion. In my own company the AI takes no price from a customer's order PDF. The price always comes from our database.
What do I check before a skill or plugin goes onto a company computer?
Six steps. Clarify the origin, read everything, look for network access. Match the rights against the purpose and try it out in isolation. Then record the checked version with its checksum and enter it in the inventory. Whoever wrote or picked the skill does not check it. Every update counts as a new delivery. In ISO/IEC 27001 this ties to the supply chain, software installation and the inventory (A.5.19, A.8.19, A.5.9).
Does an AI security check replace a penetration test?
No. An outside check only sees what lies outside: headers, encryption, exposed files. A fixed script does that the same way on every run. The expensive gaps sit in the logic behind the login. Who may see which invoice? Only someone who reads the code or deliberately tries to break the rules finds that. A language model helps with explaining and reviewing. The order: the script measures, the model explains, the human decides.
Next steps
Matching service
Have your AI security reviewed independently
I review self-built software, AI applications and AI vendors independently and in writing. Depending on your situation that is a code review, an AI security audit against ISO/IEC 42001 and ISO/IEC 27001, an audit of your vendor or an attack test with a partner. You receive a report with evidence, rating and action for every finding, and a retest once you have fixed them.
Discuss a reviewTemplates to take away
More guides
Author: Lars Zimmermann
Guide in my own words, derived from the linked articles and their primary sources. New articles appear here as soon as they are published.
This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.