Sanalda.comBETA

What is prompt injection?

Added: 25 October 2026

Prompt injection is an attempt to redirect an AI system with instructions embedded in untrusted content it reads.

How it works and where it is used

A web page, document or search result might say “send secret data” despite that not being the user’s task. The model should treat it as data, yet may mistake it for instruction. The attack arrives through a lower-trust source, not the authorized user request.

Limits, safety and selection criteria

A defensive instruction alone is insufficient. Limit tool permissions, separate trust boundaries, verify important actions and require independent review for sensitive operations. Test the effect of attacks in realistic data and workflows. Prompt injection places hostile instructions inside material a model reads, such as a page or document. A page telling a summarizing agent to send secrets elsewhere is not a legitimate user request. Preserve the boundary between source content and instructions. Mark untrusted material, restrict tool permissions and require confirmation for consequential actions. Keyword filtering alone misses paraphrases and other languages. Test the system with realistic tool responses and data flows, including attempts to change its task or reveal private information.

Related topics

What is database replication?What is TLS 1.3?Artificial intelligenceWhat is DNSSEC?What is Content Security Policy?What is a webhook?What is serverless computing?What is a data pipeline?What is a service worker?What is IPv6?What is CI/CD?How do unit and integration tests differ?What is Arm architecture?What are UEFI and BIOS?What is a virtual machine?What is Wi-Fi?What is site reliability engineering?What is 5G?What is a software container?What is QUIC?What is AI model evaluation?What is a heat pump?What is HTTP/3?What is a database?What is data governance?What is public key infrastructure?What is a data lake?What is RISC-V?What is HTTPS?What is software supply chain security?What is SD-WAN?What is Kubernetes?What is data backup?What is a web browser?What is an AI hallucination?What is a cryptographic hash?What is a database transaction?What is a VPN?What is augmented reality?What is a message queue?What is a smart grid?What is two-factor authentication?What is firmware?What is end-to-end encryption?What is encryption?What is an operating system?What is a power inverter?What is API rate limiting?What is observability?What is a photovoltaic solar panel?
Revision history

25 October 2026 — Article added.