LPDetective: Dusting the LLM Chats for Prompt Template Abusers