Configuring Now Assist Guardian: Offensive Content & Prompt Injection Protection
New article articles in ServiceNow Community
·
Mar 25, 2026
·
article
Configuring Now Assist Guardian: Offensive Content & Prompt Injection Protection
If you're deploying Now Assist in your organization, you've probably asked yourself: What happens when someone tries to misuse it? Now Assist Guardian is your answer. It's a built-in layer of protection that lets you detect and block offensive content and prompt injection attacks before they ever reach your users or your data.
Now Assist Guardian is a set of guardrails that sit between user inputs/AI outputs and the rest of your ServiceNow environment. It covers two main threat categories: Offensive Content Detection, which flags or blocks LLM responses that contain harmful, inappropriate, or abusive language, and Prompt Injection Protection, which defends against malicious inputs designed to manipulate the AI into doing something it shouldn't. Think of it as a security policy layer for your AI interactions—the same way you'd configure content filtering on a firewall, but purpose-built for LLM behavior.
In this post, we'll walk through exactly how to configure it, explain what each setting actually does, and help you decide which options make sense for your environment.
Family Release : Australia
Release : Now Assist Suite 28.7.12
Roles Required : admin
Accessing Now Assist Guardian Settings
- Navigate to the Now Assist Admin.
- Select the Settings tab.
- Expand the Now Assist Guardian section.
- Locate the two primary sections: Offensiveness and Prompt Injection.
Configuring Offensiveness Detection
Understanding Offensiveness Detection
This setting monitors AI-generated responses and either logs or blocks any content that's flagged as offensive. Out of the box, there are no active detections—you need to enable it per Now Assist application (like ITSM).
Choosing Between Log and Block Modes
Log Only Mode
- Enable this mode to record offensive content events without blocking responses.
- Use this setting to establish a baseline of what content is being flagged in your environment.
- Review logs regularly to understand the frequency and nature of offensive content detections.
Block and Log Mode
- Enable this mode to prevent offensive responses from reaching users while maintaining event records.
- Consider the latency impact before implementing this mode in production environments.
- Start with log-only mode first to assess before switching to blocking.
Selecting the Appropriate Severity Level (low, medium, high)
Understanding Severity Levels
The severity setting controls detection sensitivity, but works counterintuitively:
- Select High severity to catch only the most extreme offensive content (more permissive in practice).
- Select Low severity to detect even mild offensive language (more restrictive, with higher false positive potential).
Recommended Initial Configuration
- Start with Low severity combined with Log only mode for most enterprise deployments.
- Monitor the logs to understand what content is being flagged in your specific environment.
- Adjust the severity level based on actual log data and organizational requirements.
Configuring Prompt Injection Protection
Understanding Prompt Injection Threats
Prompt injection occurs when malicious actors embed instructions inside a prompt to trick the AI into ignoring its guidelines, leaking data, or taking unintended actions. This represents one of the most common attack vectors against LLM-based systems.
Enabling Detection and Response
Log Only Mode
- Enable this mode to observe potential prompt injection attempts without blocking them.
- Use this setting in trusted environments or during initial assessment periods.
- Review detection logs to understand the types of injection attempts your system encounters.
Block and Log Mode
- Enable this mode to actively prevent prompt injection attacks while maintaining audit records.
- Factor in the additional evaluation latency when calculating SLA expectations for high-volume use cases.
- Implement this mode for customer-facing applications or environments where data security is critical.
Configuring Severity Thresholds
- Select High to flag only high-certainty attacks (may miss subtle injection attempts).
- Select Low to detect even subtle manipulation attempts (more protective but potentially noisier).
Managing Guardrail Service Providers
Understanding Provider Options
By default, Guardian uses ServiceNow Guardrail as the out-of-the-box provider, but you have additional flexibility.
Selecting Alternative Providers
- Access the Guardrail Service Providers section within Now Assist Guardian settings.
- Choose from three additional pre-built provider options available in the settings UI.
- Navigate to AI Control Tower to configure custom provider settings if needed.
Recommended Starting Configurations
Initial Setup and Audit Mode
- Configure Low severity for both Offensiveness and Prompt Injection detections.
- Enable Log only mode for both detection types.
- Monitor system behavior and review logs before implementing blocking policies.
Production User-Facing Deployments
- Set Prompt Injection to Low severity with Block and Log mode enabled.
- Configure Offensiveness to Log only mode until baseline review is complete.
- Accept the latency trade-off as necessary protection for public-facing systems.
High-Security Environments
- Enable Low severity for both Offensiveness and Prompt Injection detections.
- Activate Block and Log mode for both detection types.
- Accept additional latency as the cost of comprehensive protection.
- Establish regular review processes for blocked content and injection attempts.
Conclusion
Now Assist Guardian gives you real control over how your AI behaves and the ability to respond quickly when something looks off. Setting it up takes a few minutes, but the peace of mind is worth it. By carefully configuring offensiveness detection and prompt injection protection with the appropriate severity levels and response modes, you can balance security requirements with system performance.
Start with log-only modes to understand your environment's specific patterns, then gradually move toward blocking as you gain confidence in your configuration. Remember that the counterintuitive severity levels mean Low severity provides the most comprehensive protection, while High severity is more permissive. Whether you're in audit mode, running production deployments, or managing high-security environments, these guardrails provide essential protection for your Now Assist implementation.
https://www.servicenow.com/community/servicenow-ai-platform-blog/configuring-now-assist-guardian-offensive-content-amp-prompt/ba-p/3514776