The assessment comes after an Afghan immigrant living in Denver was arrested and accused of plotting what authorities said could have been the most serious terrorist attack on the United States since Sept .