A lightweight and explainable framework for prompt injection detection in AI applications
Large language models (LLMs) are increasingly embedded in chatbots, document assistants, retrieval-augmented generation (RAG) pipelines, and tool-using applications. These systems may interpret untrusted user or retrieved text as instructions, creating a prompt-injection risk. A practical detector must identify attempt...