{"code":"AI_PI_DETECTED","title":"Prompt-injection patterns detected in agent input","description":"Text sent to the AI agent (a ticket body or tool result) contained suspicious patterns such as instructions to ignore previous rules, role-play directives or fake system messages. The request still went ahead on a sanitised copy. Repeated detections from one sender or organisation may indicate a deliberate attempt to manipulate the agent and are worth reviewing.","documented":true,"module":{"code":"AI","description":"AI-assisted classifiers and content tools"},"severity":"warning","impact":"operator","retry":"none","causes":["A ticket body or other agent input contained text that resembles instructions aimed at the AI (for example \"ignore previous instructions\").","Input contained fake system messages, role-play directives, or control-token sequences."],"resolution":["No immediate action is needed; the AI call proceeded on a sanitised copy of the input.","Review the triggering issue and sender if detections repeat for the same organisation or sender.","Consider blocking or marking the sender as spam if the attempts are clearly malicious."],"related":[{"code":"AI_SCOPE_LEAK","title":"Reporter-scoped tool attempted cross-contact access","url":"https://docs.bizkithub.com/en/system-codes/AI_SCOPE_LEAK"},{"code":"AI_ORCH_FAIL","title":"Issue orchestrator run failed","url":"https://docs.bizkithub.com/en/system-codes/AI_ORCH_FAIL"},{"code":"AI_BYOK_FALLBACK","title":"Organisation AI key failed, shared key used","url":"https://docs.bizkithub.com/en/system-codes/AI_BYOK_FALLBACK"},{"code":"AI_ISSUE_TAGBOOT","title":"AI issue tag catalogue bootstrap failed","url":"https://docs.bizkithub.com/en/system-codes/AI_ISSUE_TAGBOOT"},{"code":"AI_ROUTE_FAIL","title":"AI routing failed","url":"https://docs.bizkithub.com/en/system-codes/AI_ROUTE_FAIL"},{"code":"AI_ISSUE_BRANCH","title":"AI branch classification of an issue failed","url":"https://docs.bizkithub.com/en/system-codes/AI_ISSUE_BRANCH"}],"url":"https://docs.bizkithub.com/en/system-codes/AI_PI_DETECTED"}