Machine Learning model training frequently assumes source datasets lack structural errors. This creates a critical risk. When data collection fails, algorithms assimilate this noise as valid decision rules. Currently, Explainable AI (XAI) tools like SHAP operate almost exclusively in postproduction. They are applied to validated models to justify predictions. The literature shows a gap regarding the systematic use of these methods before deployment to audit data integrity. This work proposes a methodological framework using SHAP as a preventive auditing mechanism. SHAP explanations are incorporated directly into the pipeline as a preventive Data Quality Assessment mechanism. To validate the approach, a clinical dataset containing values incompatible with life was used as an exploratory case study. The behavior of three architectures was evaluated using repeated cross-validation: XGBoost, Random Forest, and Logistic Regression. While traditional validation metrics yielded accuracy above 70%, the SHAP audit revealed the underlying problem. The models built their predictions by exploiting administrative data entry errors. Executing a full correction and retraining cycle mitigated this spurious dependency. Results suggest that relying solely on classical metrics hides severe data flaws. The preventive use of XAI can help detect anomalies before production deployment.