Here's how you avert a terrorist attack:
1) Find some idiot talking about how he'd like to blow something up on his phone
2) Approach idiot, try to sell him explosives
3) If he's dumb enough to say "ok" out loud at any point, then slap on the cuffs, you foiled a terrorist attack, you're officially a hero.
It's a numbers game.