There is a trope in science fiction about tinfoil hats which are supposed protect the wearer from bad rays. Also, it is used in comedy to connote a person who is slightly nuts as the person believes they are being targeted by, say, aliens.
strap on is just a phrasal verb. Helmets often have under-chin straps. So, here the tinfoil hat has a strap for purposes of sarcasm. Usually, tinfoil hats would not have a strap. That is what makes of funny or icily sarcastic.
Other things can be strapped on also. For example, a construction worker can strap on a toolbelt around his waist.
Strap on a helmet strap on a gun
So, it sounds like the character is saying: Oh my, this could be dangerous but is saying it in a sarcastic way. In other words, not really dangerous but we need more context to determine what exactly is going on.
Strap on a Helmet_An article from the Sentinel Record