US agencies and officials marked Halloween with posts about immigration arrests, military threats and alleged fraud, drawing criticism over inflammatory rhetoric ahead of the midterm elections.