I do not believe that there's any stat to prevent that.
But to offset it, Onoki does have the boulder jutsu passive which gives 1 std attack to a random ninja.
(of course if it lands on Onoki and both times he fails... then may the odds ever be in your favour.)