northeastflyer since you are in transit you will not pass customs and your hand luggage may contain anything not listed as
Restricted.
However do remember that you, in theory, are subject to the standard liquid checks. In practice these checks are almost never carried out. About two years ago there was a single report that liquid checks were carried out in Transit security.