Security Rules Reference
112 rules across 72 categories โ ๐จ 39 critical, ๐ด 65 high, ๐ก 8 medium.
Action Configurationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-1.2 | ๐ด High | Schema Synchronization Verification | Detects when schema |
Agent Script Safetyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-2.3 | ๐ด High | Prompt Injection Defense Heuristics | Detects when dynamic user input variables are injected into prompt templates or agent instructions without defensive boundary patterns, creating vulnerability to prompt injection attacks that can override system instructions and bypass security policies |
AGENTFORCE-2.1 | ๐ก Medium | Validation Guard Clause Enforcement | Detects when Agent Script invokes state-modifying actions (Apex/Flow targets) without preceding validation logic such as conditional guards or available_when clauses |
MuleSoft Agent Fabricโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-AF-01 | ๐จ Critical | Broker PII Routing Without Guard | Detects Agent Fabric brokers that route requests to agents processing PII-classified fields without PII output guards |
AGENTFORCE-AF-02 | ๐ด High | LLM Provider Without Rate Limit | Detects LLM provider configurations in Agent Fabric that lack rate limiting controls |
AGENTFORCE-AF-03 | ๐ด High | A2A Card Overpermissioned Scope | Detects A2A Agent Cards that advertise sensitive capabilities (database writes, deployments, payments) without requiring strong authentication (mTLS, OAuth2) |
AGENTFORCE-AF-04 | ๐ด High | Broker Privilege Escalation via Routing | Detects Agent Fabric brokers with routing strategies (fallback, round-robin) that route across agents at different privilege levels |
AGENTFORCE-AF-05 | ๐ก Medium | Bidirectional Agent Communication Without Broker | Detects agents in the Agent Fabric that can communicate bidirectionally (Agent A calls Agent B and Agent B calls Agent A) without a mediating broker to control the conversation |
Supply Chain Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-SC-01 | ๐จ Critical | Malicious API Downgrade Injection | Agentforce metadata requires sourceApiVersion 64 |
AGENTFORCE-SC-02 | ๐ด High | Silent Schema Desync Exploit | When a schema |
AGENTFORCE-SC-03 | ๐ก Medium | Managed Package Origin | Detects when AI agent actions invoke Apex classes or Flows from managed packages (third-party code) |
Agent Flow Integrityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-2.2 | ๐ก Medium | Transition Integrity | Every agent topic should either transition to another topic or define actions that perform useful work |
AgentExchange Supply-Chainโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-SC-10 | ๐จ Critical | Tool Namespace Shadowing (Confused Deputy) | Detects when third-party AgentExchange plugins register tools with API names identical or similar to core Salesforce internal functions, or embed cross-origin shadowing directives in their description fields |
AGENTFORCE-SC-11 | ๐ด High | Unbound Gateway Activation | Detects agents active in Salesforce metadata but absent from Agent Fabric (Flex Gateway) governance policies |
AGENTFORCE-SC-12 | ๐ด High | Transitive Prompt Poisoning | Detects meta-prompting instructions in third-party plugin instruction definitions that attempt to override core system instructions or bypass enterprise guardrails |
Agentforce for Commerceโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-17.1 | ๐จ Critical | Commerce Agent Without Idempotency Key | Detects agent actions targeting Apex classes that make HTTP callouts to Commerce or Order Management APIs without including an Idempotency-Key header |
AGENTFORCE-17.2 | ๐จ Critical | Commerce Agent Amount Without Bounds Check | Detects Apex invocables called by Commerce agent actions that manipulate Amount, Quantity, or Price fields without validating bounds |
Agentic Architectureโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-7.1 | ๐ด High | Topic Action Bloat (God-Topic Prevention) | Detects Monolithic 'God Topics' configured with 5 or more actions |
AGENTFORCE-7.2 | ๐ด High | Inadequate Skill Semantics | Detects GenAiFunctions and Agent Actions with missing or dangerously brief (<20 chars) descriptions |
AGENTFORCE-7.3 | ๐ด High | Orphaned Bot Without AiEvaluationDefinition | Detects deployed Bots/BotVersions that have no corresponding AiEvaluationDefinition in the repository |
AGENTFORCE-8.1 | ๐ด High | Context Traversal Exfiltration (ForcedLeak Mitigation) | Detects Deep Object Graph Traversals in Agent Prompts |
Autonomous Schedulingโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-11.1 | ๐จ Critical | Unguarded Autonomous Scheduled Action | Detects agent actions that invoke Scheduled Apex or Batch Apex without requiring user confirmation |
AGENTFORCE-11.2 | ๐ด High | Time-Window Privilege Drift | Detects Scheduled Apex classes invoked by agent actions that declare 'without sharing' and perform DML |
Custom Permission Enforcementโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-16.1 | ๐ด High | Agent Action Without Custom Permission Gate | Detects agent actions targeting Apex classes that perform DML on financially-sensitive objects (Opportunity, Order, Contract, Quote) without checking CustomPermission or FeatureManagement |
Data Cloud Groundingโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-13.1 | ๐จ Critical | RAG Knowledge Source Without Schema Classification | Detects GenAiPromptTemplates that reference fields without SecurityClassification tags |
Data Exfiltrationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-21.1 | ๐จ Critical | PII/PHI Payload Leakage in Tool Output | Detects when agent actions invoke Apex classes that query Salesforce objects containing fields classified as PII, PHI, CCPA, GDPR, HIPAA, or PCI |
Data Exfiltration / Injectionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-21.2 | ๐ด High | Insecure Output Handling (Agent-to-XSS) | Detects Flow screens targeted by agent actions that render LLM-generated output without sanitization |
Einstein Copilot Studio Configurationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-12.1 | ๐จ Critical | Latent Memory Poisoning in Prompt Template | Detects GenAiPromptTemplates that use Conversation Memory ({!Conversation |
AGENTFORCE-12.2 | ๐จ Critical | GenAiPlannerBundle API Version Drift | API v64 |
Excessive Agencyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-1.1 | ๐จ Critical | Mandatory User Confirmation | GenAiFunction actions that invoke Apex or Flow backend logic must require user confirmation to prevent the AI agent from autonomously executing side-effects |
AGENTFORCE-20.1 | ๐จ Critical | DML Bypassing FLS in Invocable Actions | Detects Apex classes invoked by AI agent actions that perform DML operations (insert/update/delete/upsert/merge) without enforcing Field Level Security (FLS) |
AGENTFORCE-20.2 | ๐จ Critical | Unconstrained ModifyAllData in Agent Context | Detects agent actions configured to run in system context (ModifyAllData equivalent), granting the LLM planner org-wide data access without user-scope constraints |
SNOW-20.2 | ๐จ Critical | Role Masking Not Configured for Dynamic User Agent | Validates that AI Agents using Dynamic User identity mode have Role Masking properly configured |
External Service Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-15.1 | ๐ด High | External Service Without Certificate Pinning | Detects Named Credentials used for external service calls that lack certificate pinning (useClientCertificate = false) |
AGENTFORCE-15.2 | ๐ด High | Dynamic Cloaking via External RAG Source | Detects GenAiPromptTemplates that ground against external data sources not in the project's trusted grounding allowlist |
Governanceโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-4.3 | ๐ด High | Synthetic Evaluation Completeness | Enforces that all deployed GenAiPlannerBundles possess corresponding AiEvaluationDefinition test suites |
Graph: Cascading Automationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-32.1 | ๐ด High | Unintended Autonomous Blast Radius | [Enterprise] Detects when an agent-triggered DML operation on an SObject fires an ApexTrigger that dispatches async jobs (Future/Queueable) with external HTTP callouts |
Graph: Component Injectionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-34.1 | ๐จ Critical | Agent-to-UI XSS (Component Injection Graph) | [Enterprise] Performs 4-hop graph traversal proving an LLM-generated string travels from agent output through a Flow screen variable into an LWC component that renders it via unsafe innerHTML or lwc:inner-html without sanitization |
Graph: MCP Identity Mismatchโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-33.1 | ๐ด High | MCP Over-Provisioning | [Enterprise] Detects MCP server configurations where the authorizing Connected App has full-scope OAuth access (full/api/chatter_api) disproportionate to the MCP tool's stated narrow purpose |
Graph: PII Exfiltration Pathโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-30.1 | ๐จ Critical | Context Window PII Poisoning (Graph) | [Enterprise] Performs 4-hop graph traversal to prove regulated data (PII/PHI/GDPR/HIPAA/PCI) travels from a classified CustomField through an Apex query, agent action invocation, and into an LLM PromptTemplate context window |
Graph: Privilege Escalation Pathโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-31.1 | ๐จ Critical | Autonomous Without-Sharing Escalation (Deep) | [Enterprise] Detects 4-hop privilege escalation: a guest/Community-accessible agent topic whose action targets a System-mode Flow that invokes a without sharing Apex class |
Grounding Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-3.1 | ๐จ Critical | Hardcoded Sensitive Indicators | Detects hardcoded API keys, OAuth tokens, passwords, PII patterns (SSN, credit cards), private keys, and internal URLs in prompt template text and plugin instructions |
AGENTFORCE-3.2 | ๐จ Critical | Field-Level Security Masking Alignment | Dynamically verifies that custom fields referenced in Prompt Templates possess a SecurityClassification tag |
Headless MCP Accessโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-MCP-01 | ๐จ Critical | Token Passthrough Exposure Configuration | Detects MCP server configurations using static OAuth client IDs without PKCE enforcement, missing Device Authorization Grant patterns, or lacking Flex Gateway routing policies |
AGENTFORCE-MCP-02 | ๐จ Critical | Broad Scope DevOps Pipeline Inheritance | Detects when external coding agents (Cursor, Claude Code, Windsurf) are granted access to DevOps Center MCP deployment tools targeting production environments without explicit deterministic approval gates |
AGENTFORCE-MCP-04 | ๐จ Critical | MCP Tool Definition Drift (Rug Pull Detection) | Detects when MCP tool definitions (descriptions, parameters, schemas) have changed since the last certified scan โ indicating a potential Rug Pull attack where a trusted MCP server silently updates its behavior |
AGENTFORCE-MCP-03 | ๐ด High | Missing Protocol Scope Constraints | Detects MCP server configurations with wildcard scopes, missing scope definitions, or high-privilege tool exposure without namespace isolation |
AGENTFORCE-MCP-05 | ๐ด High | Shadow MCP Server Detection | Detects MCP servers configured in |
AGENTFORCE-MCP-06 | ๐ด High | MCP Schema Parameter Injection | Detects manipulation of JSON Schema definitions for MCP tool and GenAiFunction parameters |
AGENTFORCE-MCP-07 | ๐ด High | MCP Server Network Exposure | Detects MCP servers configured with non-localhost bind addresses (0 |
Injectionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-FLOW-03 | ๐ด High | Variable Injection in DML | Dynamic AI input directly evaluates inside a Flow Object Filter, risking SOQL injection |
Instruction Integrityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-9.1 | ๐จ Critical | Metadata Instruction Poisoning | Detects adversarial content patterns in metadata instruction fields (GenAiPlugin instructions, GenAiFunction descriptions, Agent Script systemInstructionOverrides, PromptTemplate content) that could manipulate the LLM planner into performing unauthorized actions |
AGENTFORCE-9.2 | ๐ด High | Cross-Topic Instruction Boundary | Detects when a topic's instruction text references another topic's name or attempts to override the planner's topic-selection logic |
MCP Authenticationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-24.2 | ๐ด High | Missing Signature Validation on Agent Webhook | Detects @RestResource Apex endpoints accessible to agent actions that do not implement HMAC signature verification |
Multi-Agent Orchestrationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-18.1 | ๐จ Critical | Compositional Fragment Trap Risk | Detects partial instruction fragments across multiple GenAiPlugins that, when combined by the GenAiPlannerBundle, may reconstitute a complete override instruction not visible in any individual topic (ref: SSRN-6372438 'Compositional Fragment Traps') |
AGENTFORCE-18.2 | ๐ด High | Sybil Identity in Multi-Agent Orchestration | Detects duplicate Bot labels or descriptions within a project's agent orchestration |
SNOW-18.2 | ๐ด High | Yokohama Agent Duplication Sybil | Detects duplicated AI Agent definitions that share tool references (sn_aia_agent_tool_m2m) |
Network Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-API-01 | ๐ด High | External Callout Injection | AI Input mapped directly into an external API structure risks Server Side Request Forgery (SSRF) or Data Leakage |
OpenGraph Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-OG-01 | ๐ด High | OGP Metadata Prompt Injection | Detects prompt injection patterns embedded in Open Graph Protocol metadata (og:description, og:title) on URLs referenced by agent actions, MCP tools, or prompt template data providers |
AGENTFORCE-OG-03 | ๐ด High | Attractive Metadata Attack via OGP | Detects 'Attractive Metadata Attacks' (NeurIPS 2025) where OGP metadata on MCP server or tool endpoints contains language designed to manipulate LLM tool-selection mechanisms |
AGENTFORCE-OG-02 | ๐ก Medium | A2A Agent Card / OGP Trust Mismatch | Detects mismatches between an agent's A2A Agent Card capabilities and its Open Graph metadata description |
Operational Reliabilityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-10.1 | ๐ก Medium | Validation Rule Conflict | Detects when AI agent actions target Salesforce objects that have validation rules which could silently reject DML operations |
Orchestration Integrityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-4.1 | ๐ด High | Planner Orchestration Completeness | GenAiPlannerBundle must reference only GenAiPlugins and GenAiFunctions that exist in the workspace |
Platform Event Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-19.1 | ๐จ Critical | Sub-agent Spawning via Platform Event | Detects agent actions that publish Platform Events where a Platform Event Trigger on that event type invokes another agent session or GenAiFunction |
AGENTFORCE-19.2 | ๐ด High | CDC Without Field Filter in Agent Context | Detects Change Data Capture triggers that deliver unfiltered field changes to agent contexts |
Privilege Escalationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-FLOW-01 | ๐จ Critical | System Context Enforcement | Agent invokes a Flow running in SystemModeWithoutSharing, bypassing all profile security bounds |
AGENTFORCE-1.3 | ๐ด High | Target Context Privilege Analysis | Apex classes invoked by Agentforce actions must enforce sharing rules |
Prompt Injectionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-PT-01 | ๐จ Critical | Template Context Poisoning | Unmasked Agent input is directly rendered into a GenAI Prompt Template content block |
Resource Exhaustionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-23.1 | ๐ด High | Non-Selective SOQL in Agent Tools (Agent DoS) | Detects Apex classes invoked by agent actions that contain SOQL queries without LIMIT clauses |
Runtime Capability Driftโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-RD-01 | ๐ด High | Headless Confirmation Bypass (Experience Layer) | Detects when high-privilege agent actions (DML, Apex deployment, permission modification, financial transactions) can be invoked through headless Headless 360 endpoints without a deterministic Agent Script transition requiring an Experience Layer approval card |
AGENTFORCE-RD-03 | ๐ด High | PII Output Bypass in Headless Transmissions | Detects GenAiFunction actions whose output references objects with FLS-designated sensitive fields (PII, financial data) when no Agent Fabric PII Detector policy covers the agent |
AGENTFORCE-RD-04 | ๐ด High | Headless PII Route Validation | Validates that all agent output paths involving PII-sensitive fields are routed through Agent Fabric policies with both PII detection and prompt guard enforcement |
AGENTFORCE-RD-02 | ๐ก Medium | Variable State Condition Evasion | Detects when security-critical ConversationContextVariables (authentication status, user clearance, financial limits) are declared in the AiAuthoringBundle but never referenced in deterministic Agent Script transition conditions (-> if @variables |
SSRFโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-22.1 | ๐จ Critical | Unsafe Autonomous HTTP Callouts | Detects Apex classes invoked by agent actions that make HTTP callouts to dynamically-constructed endpoints without Named Credential enforcement |
Security Configurationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-PT-02 | ๐ด High | Experimental Template Activation Exposure | Detects when a Prompt Template is configured for global Allowed access without explicit evaluation or safety constraints |
ServiceNow ACLโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-28.1 | ๐จ Critical | ACL Script Using GlideRecord (Recursive Bypass) | Detects GlideRecord usage in ACL scripts and agent-facing tool scripts |
SNOW-28.6 | ๐ด High | addEncodedQuery Without User Context Restriction | Detects use of addEncodedQuery() in agent-facing scripts where addUserEncodedQuery() should be used |
ServiceNow API Authenticationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-24.1 | ๐ด High | Agent API Endpoint Without OAuth Scope Validation | Detects Scripted REST APIs and Now Assist API endpoints accessible to AI agents that lack OAuth entity scope validation |
ServiceNow Agent Architectureโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-7.1 | ๐ก Medium | Agent Instruction Bloat | Detects sn_aia_agent definitions with excessively large or poorly structured instruction fields |
ServiceNow Autonomous Schedulingโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-11.1 | ๐ด High | Scheduled Job Invoking Agent Without Guardrail | Detects scheduled jobs and background scripts that invoke AI Agents without execution guardrails, risking sub-agent spawning and resource exhaustion |
ServiceNow Data Exfiltrationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-21.1 | ๐จ Critical | Agent Script Accessing Sensitive Table Without Privacy Guard | Detects agent-accessible scripts that query sensitive ServiceNow tables (sys_user, sys_user_has_role, cmdb_ci, incident, hr_case, sys_attachment) without data privacy classification guards |
ServiceNow Data Privacyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-13.1 | ๐ด High | Agent Accessing Classified Data Without Privacy Guard | Detects agent scripts accessing tables with sys_dictionary data_privacy classifications without enforcing privacy guards |
ServiceNow Domain Separationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-29.1 | ๐ด High | Domain Separation Drift (Missing sys_domain) | Detects GlideRecordSecure queries in agent-facing scripts that lack sys_domain constraints |
ServiceNow Excessive Agencyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-20.1 | ๐จ Critical | Agent Executing With Admin Privileges | Detects AI Agent configurations where the execution identity has admin role or the agent scripts use GlideRecord without Role Masking, granting unrestricted database access |
ServiceNow External Serviceโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-15.1 | ๐ด High | Integration Spoke Without Certificate Pinning | Detects IntegrationHub spoke configurations linked to AI agent flow actions that lack certificate pinning or use basic authentication |
ServiceNow Flow Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-5.1 | ๐ด High | Flow Action Without Input Validation | Detects Flow Designer actions (sys_hub_action) and subflows linked to AI agents that lack input validation or execute in system context |
ServiceNow Grounding Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-3.1 | ๐ด High | Grounding Source Without Classification | Detects AI Search grounding sources and RAG configurations that lack data classification guards |
ServiceNow Instruction Integrityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-9.1 | ๐จ Critical | Prompt Injection Vector in Agent Instructions | Detects prompt injection vectors in sn_aia_agent instructions, NASK skill markdown, and inbound email action scripts |
ServiceNow MCP Accessโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-25.1 | ๐ด High | MCP Server Without Scope Constraints | Detects MCP server configurations (echelon-ai-labs or native) accessible to ServiceNow AI Agents without protocol scope constraints or tool filtering |
ServiceNow MID Server Trustโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-31.1 | ๐จ Critical | MID Server / Discovery Trust Violation | Detects insecure MID Server integration patterns including Basic Auth usage, hardcoded credentials, missing mTLS/OAuth, and arbitrary command execution patterns |
ServiceNow Memory Safetyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-12.2 | ๐จ Critical | Latent Memory Poisoning in Agent Memory | Detects suspicious instruction-like patterns embedded in sn_aia_memory records |
ServiceNow Multi-Agentโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-18.1 | ๐ด High | Multi-Agent Compositional Fragment Trap | Detects compositional fragment risks when multiple agents share tools or use cases (sn_aia_usecase) |
ServiceNow Operational Reliabilityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-10.1 | ๐ด High | Agent DML Without Data Policy Guard | Detects agent-accessible scripts performing insert/update/delete operations on tables without corresponding Data Policy validation, risking data corruption |
ServiceNow Resource Exhaustionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-23.1 | ๐ด High | Unbounded GlideRecord Query in Agent Script | Detects agent scripts executing GlideRecord queries without setLimit() or chooseWindow(), enabling resource exhaustion through unbounded result sets |
ServiceNow Role-Based Accessโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-16.1 | ๐ด High | Agent Action Without Role Gate | Detects agent tool scripts that perform privileged operations without gs |
ServiceNow Runtime Driftโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-27.1 | ๐จ Critical | Now Assist API Confirmation Bypass | Detects Now Assist API integrations and headless execution paths that bypass tool confirmation requirements |
ServiceNow SSRFโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-22.1 | ๐จ Critical | SSRF via Dynamic RESTMessageV2 Endpoint | Detects agent scripts using sn_ws |
ServiceNow Scope Hygieneโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-30.1 | ๐ด High | Application Scope Hygiene Violation | Detects ServiceNow AI agents and tools operating outside their declared application scope |
ServiceNow Script Safetyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-2.1 | ๐จ Critical | Unsafe Script Pattern in Agent Tool | Detects unsafe scripting patterns in agent-accessible Script Includes and Script Tools |
ServiceNow Skill Kitโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-12.1 | ๐ด High | Skill Kit Version Drift | Detects sys_gen_ai_skill_applicability records with missing ACLs or version mismatches between skill definitions and agent configurations |
ServiceNow Structural Dependencyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-4.1 | ๐ด High | Orphaned Agent Tool Reference | Detects orphaned or broken references in sn_aia_agent_tool_m2m and sn_aia_usecase definitions |
ServiceNow Supply Chainโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-26.1 | ๐ด High | Skill Namespace Shadowing | Detects duplicate tool/skill labels across scoped applications that can confuse the AI agent's tool selection |
SNOW-6.1 | ๐ด High | Update Set Missing Agent Dependencies | Detects Update Sets containing AI Agent artifacts (sn_aia_*) with missing dependencies, unresolved sys_id references, or integrity violations |
ServiceNow Tool Configurationโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-1.1 | ๐จ Critical | Agent Tool Without Confirmation Gate | Detects sn_aia_tool definitions configured for autonomous execution (no user confirmation) when they perform operations with side-effects |
ServiceNow Trigger Executionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-19.1 | ๐ด High | Business Rule Triggering Agent Execution | Detects Business Rules (sys_script) that invoke AI Agents |
ServiceNow Virtual Agentโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
SNOW-14.1 | ๐ด High | Virtual Agent Topic Without Input Sanitization | Detects Virtual Agent topics (sys_cs_topic), utterances, and topic-block scripts that process user input without sanitization |
Slack Integration Securityโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-14.1 | ๐ด High | Slack Channel Bot Without DLP Guard | Detects Bots configured to operate in Slack channel contexts without Data Loss Prevention guards |
Structural Dependencyโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-4.2 | ๐ด High | Component Deactivation Collision | Detects when a prompt template activation record sets accessLevel to 'Blocked' (deactivation) while the template is still referenced by other components |
Supply Chain: ToxicSkillsโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-TS-01 | ๐จ Critical | Hidden Instruction in Markdown | Detects HTML comment blocks or CSS-hidden text in skill documentation (README |
AGENTFORCE-TS-02 | ๐ด High | Base64 Payload in Skill File | Detects Base64-encoded strings in markdown skill files whose decoded content matches adversarial instruction patterns or credential formats |
AGENTFORCE-TS-03 | ๐ด High | Zero-Width Unicode Injection | Detects zero-width Unicode characters (U+200B, U+200C, U+200D, U+FEFF) in markdown skill files |
Unauthorized Actionโ
| Rule ID | Severity | Name | Description |
|---|---|---|---|
AGENTFORCE-FLOW-02 | ๐ด High | Silent State Modification via Flow | Action targets a Flow containing DML mutations but is invoked without human-in-the-loop confirmation |