This is a race that the guards aren't going to win. Of course, it's not like anyone's ever been able to stop contraband getting into a prison anyway.
Weld them into a cage, inside a huge warehouse. No visitors.
This is a trivially solvable problem, you just need to have the will to actually solve it (note: I'm opposed to the death penalty just in case new evidence comes to light).