live wire
▸SECURITY · Red Hat’s hardened Valkey 9.0.8 image fixes CVE-2026-96231Red Hat Product Errata▸PLATFORM · Red Hat restores Lightspeed playbook execution after a production outageRed Hat Status▸AI · Quarkus LangChain4j tests eight ways to shrink agent prompts without deleting chat historyQuarkus Blog▸FIELD BUILDS · MemoryHub merges separate user and admin dashboard views backed by shared access policyRed Hat AI Americas / MemoryHub▸PLATFORM · OpenShift 4.22 lab upgrade with 10,000 active VMs took about 11 hoursRed Hat Developer▸PLATFORM · Red Hat tests OpenShift live migration across 10,000 VMs in 40 namespacesRed Hat Developer▸PLATFORM · Troshka restores OpenShift workshop labs from reusable snapshots on AWSIBM & Red Hat on AWS▸CLUSTER MGMT · Red Hat multicluster engine 5.0.1 fixes ClusterClaim labels being overwrittenRed Hat Product Errata▸AI · NeMo Guardrails 0.25.0 adds tool-call checks and an experimental model API gateway (Nov. 19)NVIDIA NeMo Guardrails▸AI · Red Hat posts an EAGLE-3 speculator modelcar for Gemma 4 26B A4B ITRed Hat Product Errata▸SECURITY · OpenShift GitOps 1.21.9 fixes Argo CD stripping unmanaged labels after an upgrade to 1.21Red Hat Product Errata▸PLATFORM · Cummins uses Backstage and Ansible on AWS to automate approved temporary Linux root accessRed Hat Blog▸AI · Red Hat details how IdeaBot traces agent calls and avoids double-counting tokens with MLflow (Nov. 24)Red Hat Emerging Technologies▸AI · IBM releases Granite models for document conversion, visual extraction and page retrievalIBM Research▸SECURITY · Red Hat’s hardened Valkey 9.0.8 image fixes CVE-2026-96231Red Hat Product Errata▸PLATFORM · Red Hat restores Lightspeed playbook execution after a production outageRed Hat Status▸AI · Quarkus LangChain4j tests eight ways to shrink agent prompts without deleting chat historyQuarkus Blog▸FIELD BUILDS · MemoryHub merges separate user and admin dashboard views backed by shared access policyRed Hat AI Americas / MemoryHub▸PLATFORM · OpenShift 4.22 lab upgrade with 10,000 active VMs took about 11 hoursRed Hat Developer▸PLATFORM · Red Hat tests OpenShift live migration across 10,000 VMs in 40 namespacesRed Hat Developer▸PLATFORM · Troshka restores OpenShift workshop labs from reusable snapshots on AWSIBM & Red Hat on AWS▸CLUSTER MGMT · Red Hat multicluster engine 5.0.1 fixes ClusterClaim labels being overwrittenRed Hat Product Errata▸AI · NeMo Guardrails 0.25.0 adds tool-call checks and an experimental model API gateway (Nov. 19)NVIDIA NeMo Guardrails▸AI · Red Hat posts an EAGLE-3 speculator modelcar for Gemma 4 26B A4B ITRed Hat Product Errata▸SECURITY · OpenShift GitOps 1.21.9 fixes Argo CD stripping unmanaged labels after an upgrade to 1.21Red Hat Product Errata▸PLATFORM · Cummins uses Backstage and Ansible on AWS to automate approved temporary Linux root accessRed Hat Blog▸AI · Red Hat details how IdeaBot traces agent calls and avoids double-counting tokens with MLflow (Nov. 24)Red Hat Emerging Technologies▸AI · IBM releases Granite models for document conversion, visual extraction and page retrievalIBM Research
upstreambeat.ai
analysisAI

Quarkus shows layered security for LangChain4j agents and MCP tools

A first-party engineering session combined guardrails, per-user authorization, token exchange and step-up MFA—and was explicit about the integration gaps that remain.

Quarkus agent security layers: guardrails, token exchange, and MFA at service boundaries.
Side by side: what changed
By The News Desk· Nov 18, 2026the quick take — two AI hosts go live when you do

Quarkus developers have demonstrated a layered approach to securing AI agents built with Quarkus LangChain4j, combining model-facing guardrails with identity controls enforced at the MCP server and downstream API.

In a Quarkus Insights engineering session streamed Nov. 16, the team used a conference assistant spanning three Quarkus services: a chat application, an MCP server and a REST API protected by Keycloak. The example was deliberately more ambitious than prompt filtering alone. It treated the agent as an application acting for a real user, with permissions and audit records that should survive calls across the service chain.

Guardrails are one layer, not the boundary

The demo placed checks at three points: input guardrails before a request reached the model, tool guardrails before an action ran, and output guardrails before a response returned to the user. Examples included restricting an email tool to the signed-in user's address and blocking responses that exposed a canary string embedded in the system prompt.

The presenters also stressed the limitation: phrase matching and hardened prompts do not enforce authorization. A new attack can bypass known patterns, and a model may still attempt a privileged tool call. The reliable boundary remains the service receiving that call, where roles, resource ownership and authentication level can be checked independently of the model.

That distinction showed up in the live example. An attendee asked the agent to cancel a conference session; the model accepted the request, but the MCP-backed service rejected it because stronger authentication was required.

Preserve the user's identity across MCP

For remote MCP over streamable HTTP, the session recommended OAuth 2.1 with short-lived, per-user tokens rather than a shared API key. The MCP server exchanged the token it received for one addressed to the downstream API, allowing that API to authorize and audit the original user instead of seeing only an all-powerful service identity.

The same chain supported step-up authentication. When the agent requested attendee email data, the service returned an insufficient-authentication response and the application required MFA before retrying. Keycloak policy could define the stronger authentication level and its lifetime, while the application could impose a shorter maximum.

The rough edges matter

This was a pattern demonstration, not a claim that the stack is finished. The presenters said some delegation behavior still required Keycloak preview features, while preserving the initiating identity and authentication context across token exchange needed manually propagated trusted headers in the sample. Step-up handling also required application code because MCP clients do not consistently turn an insufficient-authentication response into an MFA flow.

Tool input and output guardrails are currently implemented in Quarkus LangChain4j, with work underway to move that capability upstream into LangChain4j and then consume the upstream implementation from Quarkus. The practical takeaway is therefore twofold: Java teams can assemble the security layers now, but they should treat identity propagation and step-up flows as integration work that still needs close testing—not as automatic properties of adding MCP to an agent.

Filed by The News Desk. Corrections: desk@upstreambeat.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.