S
Study LibraryPractice Lab

Prompt Injection and Data Trust Boundaries

atomic-noteD7 · 8.1%Section: D7 Security & SafetyUpdated 2026-11-15

Prompt injection happens when lower-trust content tries to instruct the agent to cross a trust boundary or misuse capabilities.

Blueprint area: D7 - Security and Safety MOC (official domain weight 8.1%).

Engineering principles

  • Explicitly separate trusted policy, user intent and untrusted web/file/tool data; do not promote retrieved text to system rules.
  • Apply least privilege and tool-side authorization; a model must never be the only control guarding secrets or writes.
  • Require explicit confirmation for sensitive external actions and log the original user authorization.
  • Use defense in depth: scoped credentials, allowlists, safe parsing, approvals, monitoring and adversarial tests.

Failure modes

  • “Ignore malicious instructions” alone is not a sufficient technical safeguard.
  • A stronger model does not eliminate prompt-injection risk.

Check your understanding

  • ☐ Plant a synthetic injected instruction in a retrieved email and verify no sensitive call occurs.
  • ☐ Can a tool result change the intended recipient or authorization scope?

Instruction Trust and Grounding · Human Approval for Irreversible Actions · Exam Blueprint and Coverage

Evidence and verification

  • Provenance: author-written engineering synthesis aligned to exam guide objectives; this is not a transcript or hidden Skilljar lesson.
  • Primary references:
  • Check currency: model options, pricing, API flags, release-specific behavior and runtime permissions can change after the source was read. See Source Register.