A question about feature engineering and data leakage prevention

Hello, I was wondering if there is a way to prevent or mitigate the risk of data leakage in the feature engineering phase. For example, when we check the feature importance score, do we have some technique to check if the attribute with the high feature importance score brings the risk of data leakage. Thank you.