RAG chunk canaries help identify data leakage stemming from indirect prompt injection, where hidden instructions in retrieved documents manipulate the LLM to disclose sensitive information, by flagging the output of the canary-infused malicious content.