This is just classic FUD. The probability of being harmed in a terrorist attack is tiny and the probability of any given immigrant being a part of a terrorist attack is also tiny.
This is a mountain out of a mole hill. You'd be better off eating less junk food and paying more attention while driving rather than concern yourself with these edge cases.