Script Include With Debugging Statements

< 1 min read

Impact Area

Scalability 

Severity

Low

Affected Element

Script include

Rule ID #

SN-0094

Impact #

Debug statements in the production environment can affect performance and potentially cause sensitive data to leak out.

Remediation #

Remove the logging functions entirely, or control their use with a property. At the minimum, switch to using gs.info and gs.debug.

Time to fix #

10 min

Updated on March 21, 2025
Was it helpful ?