The instrument was purportedly stored in a red sack, and a sailor who revealed the transgressions of another would be "letting the cat out of the bag".
The instrument was purportedly stored in a red bag, and a sailor who revealed the transgressions of another would be "unmasking" them.