Flagitious

So wicked as to war­rant cor­po­ral pun­ish­ment; scandalous.

I came across this word in a ren­di­tion of an inter­ac­tive the­saurus. The exam­ple key­word was “bad.” It comes from the latin for “whip,” as do fla­gel­late and fla­gel­lum. I guessed that it would have some­thing to do with wav­ing or lash­ing, but the actu­al mean­ing was a bit surprising.