These liquids show up as slightly different colors in the new CT scan machines and this can finally be reliably detected by software.
This is also why a bunch of airports no longer ask you to take electronics out of your bags.