It could be PTSD. Since you have had a recent trauma (a rape), it is at this time probably what the call Acute Stress Disorder--a natural reaction to a horrible event. What you are feeling and doing make complete sense to me; of course you feel unsafe and threatened under the circumstances.
I strongly urge you to call or message
RAINN, which provides support to people who have been sexually assaulted. They can help you discuss what you can do to feel and be safer.