Glossary

What is prompt injection?

Prompt injection is an attack where untrusted text fed to a language model contains instructions that override or redirect what the model was told to do.

Prompt injection happens because a language model cannot reliably tell instructions from data in its context. An attacker places text in something the model will read, such as a web page, an email, a GitHub issue, a document or an MCP tool description, and that text tells the model to ignore its earlier instructions or take a particular action. OWASP ranks it first in its Top 10 for LLM applications. Direct injection comes from the user; indirect injection comes from third-party content the agent fetches. The danger rises with the agent's capabilities: if it can read files and make network calls, injected text may tell it to find a credential and send it to an attacker's server. There is no complete technical fix today. Mitigations reduce impact: give agents least-privilege tools, require human approval for sensitive or irreversible actions, separate untrusted content from instructions where possible, filter outputs, and monitor behaviour. The strongest protection for credentials is architectural: if the agent is not handed the secret, injection cannot make it disclose one. BotPassword is built on that premise, with agent intents that return typed outcomes instead of values, and grants that can be created only through its own interface.

Give agents access. Keep the keys.

BotPassword is in early access. Request an invite and we'll email you when your spot opens.