Security

What Is Prompt Injection? How Attackers Hack the AI Tools Your Business Uses

· 3 min read

A CybertronIT technician studying an attempted attack on an AI tool

Prompt injection is an attack that feeds an AI model carefully crafted text so it ignores its rules and does something it shouldn’t, like leaking data or taking an action on the attacker’s behalf. It’s the old idea of tricking a system into giving up its secrets, now pointed at the AI tools on your team’s desks. The 2025 edition of the OWASP Top 10 for Large Language Model Applications ranks it as the number one risk. Here is how these attacks work and how to keep your AI from becoming a liability.

What prompt injection looks like

It shows up in a few forms.

  • Leaking instructions. The attacker gets the model to reveal its hidden system instructions.
  • Leaking data. The model gives up pieces of the sensitive data it was trained on or given access to.
  • Hijacked actions. An AI wired into other systems, such as an agent that can send email or touch files, gets steered into harmful actions.
  • Jailbreaking. The model is talked into producing content it was built to refuse.
  • Running up the bill. The attacker floods the tool with expensive requests to raise your costs or knock the service offline.

Direct and indirect injection

A direct injection is typed straight into the tool. An indirect injection is harder to see. The instructions are hidden in something the AI reads later: a web page, an email, a shared document. Your employee asks the assistant to summarize an email, and text buried in that email tells the assistant to do something else. The employee never sees the instruction. The AI does.

Why it matters more as you connect AI to real systems

A chatbot that only answers questions is a limited target. The risk grows the moment you give AI real access to your documents, your customer records or your internal tools. The more an AI can do on your behalf, the more an attacker gains by hijacking it. That’s no reason to avoid AI. It’s a reason to treat any AI you connect to live data and systems as a new attack surface that needs guarding, the same as any other account with access. Our post on whether OpenClaw is safe for business shows what happens when an agent gets wide access with little control.

How to protect your AI

  1. Limit what each AI tool can reach, so a hijacked model can’t touch more than it strictly needs.
  2. Keep a person approving any high-impact action, such as sending, deleting or paying. See what human in the loop means.
  3. Keep confidential data out of public AI tools that might store or expose it. Our post on shadow AI explains the leak.
  4. Watch usage for the spikes that signal abuse.
  5. Choose AI tools and setups built with these risks in mind, including private deployments that keep your data and your prompts under your control.

Your team is part of the defense too. AI training for employees covers what to teach before staff use these tools.

We help businesses adopt AI without inheriting this new attack surface, for our own operation and our clients’, because the point of AI is a real advantage, and an attacker shouldn’t get a new way in. Used with the right guardrails, it stays an asset.

If you’re connecting AI to your business systems, book a 30-minute call. We’ll ask which AI tools your team uses and what each one can reach, and tell you where we’d put the limits.

Want this handled for your business? Book a 30-minute call and we'll give you a straight read on where you stand.

Book a call

FAQs

What is prompt injection?

An attack that feeds an AI model crafted text so it ignores its instructions and does something it shouldn't, such as revealing data or taking an action for the attacker.

What is the difference between direct and indirect prompt injection?

Direct injection is typed straight into the AI tool. Indirect injection hides the instructions in something the AI reads later, such as a web page, an email or a document.

Can prompt injection be fully prevented?

Not today. No setting blocks every attempt, so the practical defense is to limit what the AI can reach and keep a person approving anything important.

Is it safe to connect an AI assistant to email and files?

It can be, if the assistant gets only the access it needs, a person approves actions like sending, deleting or paying, and usage is logged and reviewed.

What is jailbreaking an AI?

Wording a request so the model ignores its safety rules and produces content it was built to refuse.

Keep reading

Related insights

More Security

Start with a conversation

Put your next IT decision in perspective.

Book a 30-minute exploratory call. We'll tell you where your environment stands and what we'd fix first. If we're not the right fit, we'll say so.

Book a 30-minute call

Practical IT tips, by email

Short, practical IT and security tips for business owners, written by the team that runs our clients' IT.

Unsubscribe anytime.