A jailbreak is a technique for bypassing the security restrictions of an AI model using a specially crafted prompt, while prompt injection involves embedding hidden instructions into external content (such as a website or document) with the aim of taking control of the behavior of the model processing that content. Both techniques pose a serious security risk, particularly when deploying AI agents that autonomously process external, untrusted data.