As you're swiping your boarding pass ( or smartphone), the machine also scans it for particle-sized traces of explosive materials and sends the all-clear or no-go in less than two seconds.
ENGADGET: Hitachi boarding gate can sniff explosives on passes, keep the transport queues flowing (video)