Are text messages from unknown numbers dangerous?

Episode 1385
Michael fromMichael is worried that his Android phone isn't safe, especially with the text messages he gets from random numbers. Leo says it used to be vulnerable, but both Android and iOS have been patched and SMS text messages are safe, as long as he doesn't open the links he's being sent.