Glossary
Prompt injection
Prompt injection is an attack in which text given to an AI model, typed by a user or hidden in a document or web page, tries to override its instructions.
Direct injection comes from the person typing ("ignore your previous instructions"). Indirect injection hides the instruction in content the model reads: an email, a file, a page an agent fetches. An agent with tools is the bigger target, because an instruction it follows can become an action.
Katonic checks input with a prompt-injection rail, pattern rules at three levels plus a NeMo classifier, and blocks what it catches before the model sees it. Agent evaluation includes injection cases, among them indirect injection through knowledge content.
Why it matters when you run AI on infrastructure you own
No filter catches every injection, so the defence is layered: check the input, limit what each agent may do, require approval for risky actions, and record everything. The damage an injection can do is set by the permissions the agent holds.
Where Katonic does this
Related terms
- Guardrails
Guardrails are checks applied to an AI agent’s inputs, outputs and tool calls at run time that block, redact or stop anything that breaks a policy.
- Agent evaluation (test gate)
Agent evaluation runs an agent against a fixed test set and scores its answers and steps; a test gate releases a new version only when the score passes.
- Approval gate (human in the loop)
An approval gate is a point in an agent’s run where a named person must approve the next action before it happens, at tool, model or workflow level.