There isn't anything inherently unsafe in buying a helmet from Amazon. Use common sense. Sold and shipped by Amazon is your best bet. Sold by XYZ for $15 and shipped from China, maybe not. You can also buy functional helmets at Walmart, Target etc. If you ride for more than an hour or so, things like fit, ventilation and weight become more important and you might want to devote more effort to your search.