Safety & Security · Software component

Input Rail

Software componentSafety & SecuritySafety, Security & Governancearc:InputRail

A guardrail that screens each user message before LLM processing for jailbreak attempts, off-topic requests and sensitive data, rejecting or answering with predefined responses without invoking inference.

Responsibility. Blocks unsafe or out-of-scope user input before it reaches the LLM.

Also known as: Input rails, Pre-processing validation rail, Input guardrail, Input validation rail, Input validation filter, Layer 1 data governance and input controls, Input guardrails, Fairness input rail

guardsguardsguardsis orchestrated bysends data tois configured byemits telemetry toinvokesinvokesinvokesinvokesinvokesinvokesinvokesinvokesinvokesis configured byAgent Controller: guardsAgent ControllerLLM Inference Service: guardsLLM Inference ServiceReAct Agent Controller: guardsReAct Agent ControllerGuardrail Orchestrator: is orchestrated byGuardrail OrchestratorDialog Rail: sends data toDialog RailGuardrail Policy: is configured byGuardrail PolicyGuardrail Violation Monitor: emits telemetry toGuardrail Violation Moni…Toxicity Classifier: invokesToxicity ClassifierPII Detector: invokesPII DetectorPattern PII Detector: invokesPattern PII DetectorOutput Bias Detector: invokesOutput Bias DetectorJailbreak Detector: invokesJailbreak DetectorDeny-List Content Filter: invokesDeny-List Content FilterCanonical Form Matcher: invokesCanonical Form MatcherHeuristic Jailbreak Detector: invokesHeuristic Jailbreak Dete…Third-Party Moderation Service: invokesThird-Party Moderation S…Restricted Domain Policy: is configured byRestricted Domain Policy
Direct neighbourhood (hover for relationship types)

Relationships

is configured by structural

invokes dependency

emits telemetry to dynamic

sends data to dynamic

guards control

is orchestrated by control

Design guidance

Quantitative guidance

As stated by the sources; verify before use.

Classification

Patterns
Defense-in-depth guardrailsTopical boundary enforcementPredefined response substitutionRegex-based injection blockingIntent detectionInput format and size validationInput/output guardrail sandwich around a ReAct RAG agentShared guardrail layer across agents
Technologies
NVIDIA NeMo GuardrailsNeMo Guardrails
Quality attributes
Security (ISO/IEC 25010 | NIST AI RMF: secure and resilient)Cost efficiencySafety (ISO/IEC 25010 | NIST AI RMF: safe)
Risks mitigated
JailbreakOut-of-domain queries wasting computePII leakage into logs, training data or third-party APIsRegulatory non-compliancePrompts eliciting biased responses or discriminatory decisionsModel generating principle-violating content for clearly prohibited requestsTraining data extraction attacks

Sources

  1. Ch7.1A: T. Nguyen, "Advanced Implementation with Nvidia NEMO Framework and Nvlink," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 7.1A. ISBN: 9798244538229.
  2. Ch7.1B: T. Nguyen, "Nvidia NIM and Colang," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 7.1B. ISBN: 9798244538229.
  3. Ch8.2B: T. Nguyen, "NeMo Guardrails Integration," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 8.2B. ISBN: 9798244538229.
  4. Ch9.1: T. Nguyen, "Output Filtering and Content Moderation," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 9.1. ISBN: 9798244538229.
  5. Ch9.4: T. Nguyen, "Fairness and Bias Mitigation," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 9.4. ISBN: 9798244538229.
  6. Ch9.5: T. Nguyen, "Constitutional AI," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 9.5. ISBN: 9798244538229.
  7. Ch9.7: T. Nguyen, "GDPR and Data Protection Regulations," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 9.7. ISBN: 9798244538229.
  8. Ref7.03: NVIDIA, "Overview," NVIDIA NeMo Guardrails Library Developer Guide. Accessed: Sep. 27, 2026. [Online]. Available: https://docs.nvidia.com/nemo/guardrails/about-nemo-guardrails-library/overview
  9. Ref7.14: "NVIDIA Agentic AI Platform Ecosystem Integration," unpublished reference note (14-NVIDIA-Ecosystem-Integration.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note
  10. Ref7.18: "Chapter 7 Summary: NVIDIA Platform Implementation," unpublished reference note (18-Chapter-7-Summary.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note
  11. Ref9.01: "AI Safety Frameworks for Agent Systems," unpublished reference note (01-AI-Safety-Frameworks.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note
  12. Ref9.04: "Safety Guardrails Implementation for Agent Systems," unpublished reference note (04-Safety-Guardrails-Implementation.md), Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam supplementary materials, 2026. unpublished note