Mitra OS Wiki
Browse the wiki

Prompt injection

Glossary · glossary · Updated

Not every capability described on this wiki is available today.

Quick answer

Prompt injection is when text an AI system reads, such as a web page or email, contains instructions meant to make it behave in ways its user did not intend. Limiting permissions and requiring approval reduces the harm.

Summary

AI agents often read content from outside sources. If that content includes hidden or direct instructions, an agent may follow them. Prompt injection is a known risk, and the main defences are limiting what an agent can do, treating outside content as data and requiring approval for consequential actions.

Key takeaways

  • Outside content can carry instructions aimed at an AI agent.
  • Agents that can act are at higher risk than ones that only read.
  • Limit permissions and treat outside content as data.
  • Require approval for money and irreversible steps.

In context

Prompt injection is one reason the AI agent safety checklist says not to act on instructions found inside web pages, emails or documents without checking. Limiting what an agent can do is covered in AI agent permissions explained. It is related to, but different from, AI hallucination.

Mitra OS limits language-model calls to reading and drafting and audit-logs them. See AI safety and auditability.

Frequently asked questions

What is prompt injection?

An attempt to make an AI system follow instructions hidden in content it reads.

Why does it matter for agents?

Agents can act, so a successful injection can have real effects.

How can I reduce the risk?

Limit access, require approval for consequential actions and avoid pasting untrusted content with sensitive data.

Can it be fully prevented?

Not reliably, which is why limiting what an agent can do matters.

People also ask

Glossary terms on this page

  • MITRA: MITRA is the orchestration platform behind Mitra OS. Mitra is the name you talk to, and Mitra OS, Inc. is the company that builds it.
  • AI hallucination: An AI hallucination is output from a model that sounds confident but is wrong or invented, such as a false fact, a fake source or an incorrect figure.

Sources

Last updated . Last reviewed .