Literally, “to catch with the cat in the bag”.
a prinde cu mâța în sac (third-person singular present prinde cu mâța în sac, past participle prins cu mâța în sac) 3rd conj.