A senior Western official in Baghdad said the raids were conducted after American officials received information that the people detained had been involved in attacks on official security forces in Iraq . ''