This is the Spined Soldier Bug, but in the nymph stage. A very colorful nymph! It was resting, and perhaps feeding, on my zinnias. Unlike some stink bugs, this species is considered to be beneficial, and when it feeds on plant nectar it is non-damaging to the plant.