quarkus-langchain4j-scaffolding
Pass
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides templates for scaffolding Quarkus applications with LangChain4j. It correctly includes security best practices, such as a dedicated template for input and output guardrails (
templates/Guardrails.java.template) to detect and mitigate prompt injection attacks.\n- [COMMAND_EXECUTION]: Theapplication.properties.templateincludes a commented-out example for configuring an MCP client using thestdiotransport, which executes a command (e.g.,npm exec @modelcontextprotocol/server-everything). This is a standard and documented feature of the Model Context Protocol (MCP) for local tool integration and references a well-known community package.\n- [EXTERNAL_DOWNLOADS]: The skill references standard library dependencies from thedev.langchain4jandio.quarkiverse.langchain4jgroups. These are well-known and official repositories for the Quarkus and LangChain4j ecosystem.\n- [PROMPT_INJECTION]: The skill templates facilitate the creation of AI services that ingest untrusted user data into prompts. \n - Ingestion points:
templates/AiService.java.template(method parameters) andtemplates/Agent.java.template(WebSocket input inTriageSocket.java).\n - Boundary markers: Prompts in templates (e.g.,
Problem: {problem}) lack explicit delimiters or 'ignore' instructions by default.\n - Capability inventory: Generated applications can execute tools defined in
templates/Tools.java.templateand perform network operations via MCP clients intemplates/McpClient.java.template.\n - Sanitization: The skill proactively mitigates this risk by providing
templates/Guardrails.java.template, which demonstrates how to implementInputGuardrailandOutputGuardrailbeans to filter malicious content like 'ignore previous instructions'.
Audit Metadata