Your team tested the new assistant with a few cheeky questions. It refused politely, so the team concluded prompt injection is handled.

That test measured the filter's vocabulary, not the system's safety. A patient person typing to your assistant does not need to win on the first message, or the tenth. They need one gap, found across many turns and many phrasings. The question that decides safety is not whether someone can eventually make the assistant say something odd. It is what they can reach when they do.

The person typing is the attacker

Prompt injection is an attempt, through the text a model reads, to make the system disregard its intended task or reveal or do something outside it. Direct prompt injection is the plainest form: the person typing is the attacker, speaking to the assistant themselves.

They may try to extract its system prompt, make it answer outside its permitted topic, get it to produce content its builders excluded, or walk it step by step toward help it should not give. The broader goal is often called jailbreaking — defeating a model's built-in refusals. Direct injection is one road to it, aimed at your system's instructions rather than only at the model's general ones.

A defender does not need scripts to memorize. A defender needs pattern shapes, the way a fraud officer needs to recognize the wobble in a forged signature: to spot the class, not to practice the hand.

Six shapes worth learning to see

First, the override claim: a message asserting that earlier instructions are canceled, replaced, or outranked.

Second, the invented authority: a claim to be a developer, tester, or administrator entitled to special behavior.

Third, the role costume: an invitation to play a character who has no restrictions, so that answers appear to come from the character rather than from the assistant.

Fourth, the gradual walk: a sequence of innocent questions, each moving one step toward the target, so no single message looks like the attack.

Fifth, the extraction request: a direct or indirect ask for the system prompt, internal rules, or hidden reasoning, often dressed as debugging help or as a translation and formatting game that makes repetition feel like a different task.

Sixth, the encoding detour: the request disguised in another language, in code-like formatting, or broken into pieces, to slip past a simple word filter.

None of these shapes depends on one exact phrase. That is the point. If your defense only recognizes the phrases you tested, it will miss the same attempt written another way.

Why attempts sometimes succeed

The mechanism sits underneath the patterns. Your instructions and the attacker's words arrive in the same stream, and the model reads both in the same voice. Three amplifiers make that harder.

The model is shaped to be helpful and to sustain conversation, so persistence is rewarded with variation. Each refusal can be followed by a fresh phrasing, and the attacker needs only one gap. Filters that block listed words are brittle against paraphrase, and language offers an unlimited supply of paraphrase. And a multi-turn conversation lets an attacker assemble intent across messages, none of which trips a single-message check on its own.

The working assumption follows plainly: a determined person, given enough turns against a bare model, will eventually steer it. Security therefore cannot rest on the hope that steering never happens. It rests on what steering gains.

If the answer is a strange paragraph and nothing else, you have built well. If the answer is customer records, internal pricing, and a tool that sends email, the conversation was never the real perimeter. The reach was.

Build so that success gains little

Defensive response layers, and each layer assumes the one before it can fail.

At the front, scope the assistant narrowly. A claims-status helper with no access beyond claim status gives steering little to steal. Scope is a security control, not just a product choice.

In the middle, watch the conversation like a system. Monitoring should look for the pattern shapes above, especially extraction attempts and long, escalating sessions. Rate limits — caps on message volume — deny an attacker unlimited fresh phrasings.

At the back, check what leaves the system before it leaves. And throughout, keep the things worth stealing out of reach: no secrets in the prompt, no broad tool rights, and no other customers' data in the reachable context.

Teach the staff-side rule as well. An assistant that suddenly volunteers internal-looking text is not being clever. That is an event to report, and the transcript is evidence to preserve, not delete.

Tell the probe from the campaign

Most steering attempts against a business assistant are not hostile in intent. They come from curious staff, frustrated customers trying to get past a refusal that blocks legitimate work, and people testing a new toy.

Your response design should distinguish the probe from the campaign. A single odd request earns a refusal and a log line. A sustained, varied, escalating session earns review, because persistence across rephrasing is the signature that separates play from extraction work. Volume, variation, and boundary-focus are measurable, and measuring them spares you both failures: ignoring a real campaign because each message looked playful, and treating a curious customer as an intruder because one message looked odd.

There is a design lesson hiding in frustrated steering, too. When legitimate users repeatedly try to talk the assistant past its scope, the scope may be wrong for the job the business needs done. Review the most common steering goals and ask whether any should simply be served — properly, with the right data connections and permissions — rather than refused forever. An assistant whose boundaries match real demand gets attacked less, because the merely frustrated stop providing cover for the few who are not.

Size your defense for patience, not genius. Volume, variation, and time are the attacker's real tools. Bounded scope and watched logs are yours.

Experience it, don’t just read about it

Direct prompt injection and what a successful steer can reach is Concept 3 of AI Security: Protect the AI Your Company Uses (Course No. 272), from Cognosco Learning, a learning company powered by AI. The course builds the full AI security discipline beyond this distinction — Instructions Versus Data, Indirect Prompt Injection, and Architecture Defenses — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.

Try a Free PreviewAll Signature CoursesThe Corporate License

Navigate your own course.

← All Insights

© 2026 Cognosco Learning. All rights reserved.