How to protect arduino from overcurrent

Like this:-

Enable the internal pull up resistor on the input.

people who want to sabotage the project

Why are they such people? This is not normal.