Scientists at the US space agency said Wednesday they had invented a device that can detect deadly anthrax spores in the air, an innovation that could help limit the impact of bioterror attacks.

The National Air and Space Administration’s (NASA) Jet Propulsion Laboratory near Los Angeles said the prototype gadget was similar in principle to smoke detectors that are routinely installed in most buildings around the world.