JT / SAGE IDEAS Work with me

Glossary · Safety

Prompt injection

Hidden instructions in user input or documents that hijack what the model does.

Prompt injection is when hidden instructions sneak into the text a model reads and quietly take over what it does. The attack does not need a special hacker channel. It rides in on normal input: a user message, a web page, a PDF, an email the model was asked to summarize. The catch is that the model cannot tell the difference between your instructions and text that only looks like data.

Why it matters

If your app feeds outside content to a model, you have this problem whether you planned for it or not. A booby-trapped document can make your assistant ignore its rules, leak the system prompt, or call a tool it should never touch. The damage scales with what the model can do. A chatbot that only talks is annoying to hijack. An agent that can send emails, move money, or run code is a real breach waiting to happen.

How it works

You defend in layers, because no single trick is airtight. Keep untrusted content clearly separated from your real instructions. Never give the model raw power it does not need: scope its tools, require confirmation for anything risky, and check outputs before acting on them. Measure your exposure by red teaming your own app, firing a battery of known injection payloads at every input and counting how often one slips through. Jailbreak testing and guardrails overlap here, but injection is specifically about instructions hiding inside data.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions