The meaning of spy / spying in dream | Dream Interpretation
If you dream that you are a spy, you are mistrustful of others and you tend to poke your nose into everyone’s business. Perhaps you have recently stumbled upon some information that was not meant for your eyes.
The same is true if you dreamed of spying or “peeping” on someone.
If you dreamed that someone was spying on you, you may be feeling guilty about something. Be careful not to act too impulsively. This dream is also common when you are being evaluated by someone - possibly a teacher, a boss at work, or parents.