{"resourceId":"red-hat-developer-nemo-guardrails-vision-judge-pii-prompt-injection-20261125","versions":[{"version":"external-a496f4b57978afd4bd38fecd62829dddf67f5a472362e6315fc51c07c8f9bec6","resource":{"id":"red-hat-developer-nemo-guardrails-vision-judge-pii-prompt-injection-20261125","title":"Red Hat Developer demo: a vision-model judge in NeMo Guardrails on OpenShift AI screens uploaded images for PII and hidden instructions, with misses, false positives and latency disclosed","organization":"Red Hat (Red Hat Developer article by William Caban Babilonia)","sector":"Enterprise AI platform vendor; applicable to any agency chatbot or intake assistant that accepts image or document uploads","geography":"Global (vendor technical guidance; no deployment location)","publishedAt":"2026-11-25 (article date shown on Red Hat Developer)","publicationDate":"2026-11-25","eventDate":null,"sourceName":"Red Hat Developer","sourceLabel":"Vendor technical article (proof of concept)","sourceUrl":"https://developers.redhat.com/articles/2026/11/25/securing-multimodal-ai-nemo-guardrails-and-vision-models","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["data-security","developers-agents","governance-procurement"],"finding":"The author shows text-only guardrails cannot see personal data or instructions inside uploaded images. In his tests with open-weight models and the prompt 'Process this document and respond', Gemma 3 (4B) obeyed 5 of 5 prompt-injected images and a thinking Qwen3-VL (8B) obeyed 3. He then used NeMo Guardrails' 'content safety check input' rail with a vision model as judge, with separate PII and injection policies. On 16 synthetic images (invoice, check, patient intake form, badge, driver license, injection images and safe controls), Gemma 3 caught 7 of 9 PII images and 8 of 8 injection images. Qwen3-VL-8B-Instruct on vLLM in OpenShift AI caught 4 of 5 PII images, 5 of 5 injection images and passed 6 of 6 safe controls. Both Qwen variants missed the employee badge, and Gemma 3 flagged redacted forms. Latency was 1 to 3 seconds per request for the Instruct model with both rails, 3 to 8 seconds for Gemma 3 and 20 to 50 seconds for the thinking judge. Tested on an OpenShift AI 3.6 EA2 (early access) cluster through the TrustyAI operator.","sledRelevance":"Interpretation: benefits portals, DMV services, courts and campus help desks increasingly let residents or students upload photos of IDs, checks, intake forms and letters. This item shows that text-based PII filters in those assistants miss image content, and that an image can carry instructions the model follows. It is a design pattern and a test method for that risk, not evidence of any public-sector deployment.","evidence":"Article opened and read in full, including configuration, results table, lessons and known-limitations sections. All figures are the author's own small demo on synthetic images. The author says the PII prompt was tuned after seeing Gemma 3's misses on the same images and tells readers to treat the numbers as a demo, not a benchmark. NVIDIA's NeMo Guardrails pull request #1815 (April 2026, maintainer-authored) corroborates the library behaviour that images survive only when the template is a single variable.","architectureImplications":"Adds one judge call per policy before the main model: two calls per request with both rails. On OpenShift AI, one NemoGuardrails resource hosts several configurations selected per request by config_id; the author makes the two-rail configuration the default so a request without config_id is never unprotected. Config changes need a NeMo restart. The author recommends a separate judge model in production, an output rail, and possibly an OCR-plus-Presidio two-stage design for deterministic PII decisions.","governanceImplications":"Shows why guardrail policies must be retested after any wording or model change: one policy line let an injected image through because the user's generic request was treated as authorising it. Agencies would need a labelled test set of their own document types and recorded false-positive and false-negative rates per category before relying on the control.","securityPrivacyImplications":"Addresses two real risks for upload-enabled assistants: PII exposure from images and indirect prompt injection through text in images. The control is probabilistic and input-only; the badge case shows PII can pass the judge and then be repeated by the main model. Silent failure modes (images flattened to text, empty judge output from too small a token budget) produced no error messages.","caveats":"Vendor-authored proof of concept, not a product feature announcement or benchmark. 16 synthetic images, one run per combination after the policy fix, PII prompt tuned on the test images, silhouettes instead of real faces. Tested only on an OpenShift AI 3.6 early-access build; other versions untested. The demo web UI is not part of NeMo Guardrails or OpenShift AI. No public-sector user is named.","streamIds":["red-hat"],"roles":{"sales":"Sales framing: this is a credible conversation opener for agencies adding photo or document upload to resident-facing chatbots, because text-only PII filters miss what is inside images. Present it as a Red Hat engineer's proof of concept on OpenShift AI with NeMo Guardrails, not a shipped capability or benchmark. Offer a short evaluation on the agency's own synthetic documents rather than quoting the demo's catch rates, which come from 16 tuned images. Do not promise that image screening removes privacy risk; the author shows misses and false positives.","engineering":"Engineering framing: treat the vision judge as one probabilistic layer in front of the model, alongside deterministic checks. Confirm the customer's OpenShift AI release supports TrustyAI-managed NeMo Guardrails, since testing was on 3.6 early access. Keep the judge prompt's user message a bare user_input variable, override the general prompt so images reach the main model, nest config_id under guardrails, and set a generous token budget for thinking judges. Measure latency with both rails, and consider adding an output rail and an OCR-plus-Presidio stage for PII.","delivery":"Delivery framing: run this as a measured pilot. Build a labelled set of the agency's own document types using fabricated data, record false positives and false negatives per category, and rerun it after every change to the judge model, policy text or platform version. Make the protected configuration the default. Monitor for truncated judge outputs. Agree with the privacy office on what happens when an upload is blocked, so residents with legitimate document photos still have a path to service. Recommendations are interpretation."},"roleDetails":{"sales":{"customerProblem":"Resident- or student-facing assistants that accept photos of IDs, checks or forms cannot screen image content with text-only PII filters, and images can carry hidden instructions.","stakeholders":["Agency privacy officer","CISO or security architect","Digital services or contact-center product owner","AI governance board"],"discoveryQuestions":["Do any current or planned AI assistants accept image or document uploads?","How is PII in uploaded images detected today, if at all?","What latency per request is acceptable for the assistant?","Who owns guardrail policies and their testing?"],"valueHypothesis":"Adding an image-aware input check could reduce PII exposure and indirect prompt injection in upload-enabled assistants, if measured on the agency's own documents.","potentialEngagement":"A bounded evaluation of a vision-judge guardrail on a labelled set of the agency's synthetic document types, reporting catch rates, false positives and latency.","unsupportedClaims":["That image screening eliminates PII exposure","That the demo's catch rates apply to real documents or photos","That this is a generally available, supported OpenShift AI feature in every release","That any public agency has deployed it"]},"engineering":{"fit":"Fits OpenShift AI environments using TrustyAI-managed NeMo Guardrails in front of a vLLM-served vision-capable model.","architectureIntegration":"NemoGuardrails custom resource with several ConfigMap-based configurations selected by config_id; one or two judge calls before the main model; optional output rail.","prerequisites":["OpenShift AI release with Guardrails support (tested on 3.6 EA2)","A vision-capable judge model endpoint","Labelled synthetic test images of the agency's document types","Bearer-token auth enabled on the guardrails endpoint"],"constraints":["Judge is probabilistic, with misses and false positives","Two judge calls add latency; thinking judges took 20-50 s per image","Input rail only unless an output rail is added","Policies are model-specific and must be retested after edits"],"security":"Mitigates image-borne PII exposure and indirect prompt injection; silent failure modes (image flattened to text, truncated judge output) must be monitored because they raise no errors.","proofOfValue":["Per-category false-negative and false-positive rates on unseen agency-style images","Latency per request with both rails within the agreed budget","Injected-instruction images blocked across several user messages","No truncated judge responses in logs"]},"delivery":{"work":"Pilot an image-aware guardrail configuration for one upload-enabled assistant, with a regression test set and monitoring.","dependencies":["Privacy office agreement on blocked-upload handling","Judge model hosting capacity","Synthetic document test set","Platform team support for TrustyAI operator"],"ownership":"AI platform team operates the guardrails; the privacy office owns the PII policy categories.","skillsAdoption":"Engineers learn guardrail policy writing, per-category evaluation and log review; contact-center staff learn the blocked-upload fallback.","governanceCheckpoints":["Privacy review of PII categories before pilot","Evaluation results reviewed before production","Retest after any model, policy or version change"],"acceptanceCriteria":["Proposed: false-negative rate per PII category at or below an agreed threshold on unseen images","Proposed: median added latency within the agreed budget","Proposed: protected configuration is the default for all requests"],"risks":["Over-blocking legitimate document uploads","False confidence from small or tuned test sets","Silent judge failures","Unsupported early-access features in production"]}},"retrievedAt":"2026-11-25T22:34:59-06:00","enrichedAt":"2026-11-25T22:38:02-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Blocking image uploads that contain PII could stop residents who submit photos of documents for legitimate reasons; agencies would need a fallback path and clear messaging. Teams need skills in prompt-policy writing and evaluation, not just deployment.","procurementImplications":"Buyers of AI assistants that accept uploads can ask vendors whether image content is screened, which judge model is used, the measured false-positive and false-negative rates on comparable documents, and the per-request latency and cost of the extra judge calls.","operatingModelImplications":"Needs an owner for guardrail policies and a regression test set that is rerun whenever the judge model, policy text or platform version changes, plus monitoring for truncated judge responses.","sourceVerification":{"openedUrl":"https://developers.redhat.com/articles/2026/11/25/securing-multimodal-ai-nemo-guardrails-and-vision-models","referenceExcerpt":"Text-based guardrails, regular expression (regex) rules included, only inspect the text of the message, so they never see any of it.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}