You go through security as you go airside. Then when you get to the gate waiting area you go through a second security. At this point they take your water and there is nowhere to refill in the waiting lounge so impossible to take onto the plane. I traveled through KL in February 2019.
#plasticfree @MY_Airports