Hi Pragya. Kasol has a very mixed crowd these days. Still, I would say its completely safe to go alone. If people randomly start talking to you and you don't feel comfortable it's okay to walk away. I would suggest going to the smaller villages where the tourists are less.