What is prompt injection?
Define attempts to manipulate a model through instructions embedded in user or external content.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 409–420 of 3610 questions
Define attempts to manipulate a model through instructions embedded in user or external content.
Distinguish malicious instructions typed by a user from instructions embedded in external data.
Explain the challenge of mixing instructions and natural-language data in the same model context.
Identify leakage through prompts, model responses, logs, retrieval, caches, and tools.
Explain attempts to bypass a model's intended restrictions.
Identify assets, trust boundaries, attackers, abuse cases, and mitigations.
Limit model-connected services to the smallest set of permissions needed.
Explain validation of user inputs, tool arguments, file uploads, and external content.
Avoid unsafe rendering, command execution, and trusting generated content.
Describe schemas, allowlists, authorization, quotas, and audit logs.
Cover document poisoning, access-control failures, prompt injection, and sensitive retrieval.
Discuss authentication, tenant filtering, metadata controls, and sensitive embeddings.