Enable static analysis

reference brazil Updated Sep 10, 2026 1 min read sc-enable-static-analysis.md
Raw file servicenow.com

Enable static analysis to provide compile-time security checks for JavaScript code in the scripting sandbox.

When this property is set to false, static analysis is enabled and provides compile-time security analysis. When set to true, all static analysis security checks are bypassed. This feature allows you to rapidly respond to JavaScript sandbox security exploits.

to configure this property:

  1. Navigate to /sys_properties_list.do on the ServiceNow instance.
  2. Ensure the com.glide.script.static_analysis.disabled either doesn't exist or is set to false.

More information

Attribute

Description

Configuration name

com.glide.script.static_analysis.disabled

Configuration type

System Properties ( /sys_properties_list.do)

Data type

Boolean

Recommended value

false

Default value

false

Fallback value

false

Category

Malicious code

Security risk

  • Severity score: 6.8
  • CVSS rating: Medium
  • Security risk details:

Disabling static analysis removes protections against sandbox escape attempts that the static analyzer would otherwise detect. While other runtime protections exist in the sandbox, disabling static analysis weakens the overall security posture. Sandbox escapes enables users to execute unauthorized and privileged script.

Functional impact

Depending on the configuration of additional properties, sandbox scripts which match static analysis rules are logged or blocked.

Dependencies and prerequisites

None

**Parent Topic:**[Malicious code](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/instance-security-hardening-settings/sc-malicious-code.md)
Keywords static analysissecurityJavaScript sandboxscript security
Search documentation
Search document titles and file paths on the brazil branch