there's a similiar thing that happens in people with ocd, where they'll have, for example, a violent thought and start worrying they'll act on it, thinking they're a bad person or losing their minds.
obviously i'm not qualified to tell you what you have or not, but if you want a little more information, here's a doctor talking about it(about 5 minutes in);
and i can tell you, wanting to make bad people(like rapists) suffer is not uncommon, thats why movies like "i spit on your grave" exists and many people like it. sometimes we're just angry about the awful things in the world we want revenge, not to best way to deal with things, but its a common feeling
sorry this got long and whatever it is, if it causes you distress you're therapist should be helping you with, maybe try to talk with them about it again?