liveBook · Manning

Untrusted input

Untrusted input is externally supplied data or content whose safety, integrity, or reliability has not been established for its processing context.

How 2 Manning books explain it

AI Governance

Untrusted content is externally supplied information that has not been verified as safe or reliable.

How it is used
Frames externally supplied content as a security risk factor when assessing GenAI applications.
How deep it goes
Defines prompt injection and jailbreaks, then traces how data access and communication can escalate consequences.
Examples
Uses adversarial chatbot prompts, hidden instructions in RAG documents, image-based injection, and browser agents as examples.
What you can do after
Evaluate how untrusted input combines with data access and external communication to create data-leak paths.

Read how AI Governance explains untrusted input →

Prompt Engineering in Practice

Externally supplied material that must not be treated as authoritative instructions without additional controls.

How it is used
Treats untrusted input as a prompt-security risk to manage when runtime text enters production prompts.
How deep it goes
Defines trust by control and explains how unbounded prompts let runtime text influence earlier instructions, but does not detail defenses.
Examples
Uses a request to override instructions and expose customer records, alongside user messages, retrieved documents, and API responses.
What you can do after
Evaluate how external text can influence prompt behavior and recognize the need to separate it from trusted instructions.

Read how Prompt Engineering in Practice explains untrusted input →

Also covered in

What to know first

Related concepts

Questions about untrusted input

What is untrusted input?

Untrusted input is externally supplied data or content whose safety, integrity, or reliability has not been established for its processing context.

Which Manning books explain untrusted input?

AI Governance and Prompt Engineering in Practice.

What should I know before learning untrusted input?

Manning books that teach untrusted input usually introduce language model, authorization, guardrail and prompt first.

What is the difference between untrusted input and trusted input?

Untrusted input is externally supplied data or content whose safety, integrity, or reliability has not been established for its processing context. Trusted input is data considered sufficiently reliable or authoritative within a given trust model to use without additional validation.

What is untrusted input part of?

Untrusted input is part of Lethal Trifecta. The Lethal Trifecta is a security-risk pattern combining sensitive data access, untrusted content exposure, and external communication capability in an AI system.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.