I don't know if it's still the case, but decades ago when I was at ISEF (and somewhat fewer years ago when I judged...) the judges would get to talk to the students.
I think that's the only way to do it. The student must be able to describe the work they did. A fraudster might still get through with sufficient coaching.