The Afghan intelligence agency says officials have arrested 17 would-be suicide bombers who allegedly trained in Pakistan .