---
title: Avoid System.debug And Configuration.disableTriggerCRUDSecurity()
description: "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.…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/avoid-system-debug-and-configuration-disabletriggercrudsecurity/"
updated: "2025-03-21"
category: PMD Rules
---

# Avoid System.debug And Configuration.disableTriggerCRUDSecurity()

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
