Is it safe to shut down Mac while Spotlight is still indexing?
could there be any damage or security risk if Spotlight is interrupted
  indexing everything?


No.




  Is it safe to shut down Mac while Spotlight is still indexing?


Yes.