Ground beetle
They defend themselves with noxious secretions. This is typical for the ancient beetle suborder Adephaga to which they belong. They have paired  glands in the lower back of the abdomen. These are well developed, and produce noxious or even caustic secretions used to deter would-be predators.