it was definetally sleep paralysis, it is normal, it happens every night you sleep, and if you get it while you are awake you can use it to LD (WILD), so thats a good thing that you got it, too bad you didnt know how to use it.

and as for being attacked, you must have just lost concentration and let part of your subconcious make up some of the dream, instead of you controling every part of it.

so there was nothing wrong with it at all