Tracking back the source of contamination