"This was a reckless and vindictive act that endangered the lives of everyone in the building," said detective constable