The city's police commissioner says a suspect used an improvised device that could have caused "serious injury or death".