Analysts see threat of terrorism by foes of globalization