Introduction As LLMs become integral to enterprise applications, securing the prompts they receive is critical. Quarkus LangChain4j is a Quarkus extension that allows users to integrate AI into applications, and the Quarkus LangChain4j Workshop is a good way to learn about and practice the fundamentals. Regarding security, Step 9 describes input guardrails , showcasing an example of how a separate LLM can be used to detect prompt injection attacks.