Avoid System.debug And Configuration.disableTriggerCRUDSecurity()

< 1 min read

Impact Area

Security

Severity

High

Affected Element

Apex Class

Rule ID #

SF-0025

Impact #

Calling System.debug could lead to exposure of private data. Disabling CRUD security opens the door to several attacks and requires manual validation, which is unreliable.

Remediation #

Avoid using these methods.

Time to fix #

60 min

Updated on March 21, 2025
Was it helpful ?