We know the bearing was on fire for 20+ miles before it derailed, and it passed through at least one hotbox detector in that condition without being detected. On average, such detectors are placed every 10-20 miles. The one in East Palestine spotted the problem but it was too late to prevent the derailment.
Maybe a start would be to adjust regulation such that detectors need to be placed with higher frequency. ECP is a nice idea, but that's a last ditch effort and not a generalized solution.