It’s someone who is a rat by definition i.e, snitch, thief etc.
Me: Did you hear about what katie did the other day? Billy: No what did she do? She was such a fictional apricot, she told on everyone who wrote on the bathroom wall