The dung beetle will attack you if you get too close. They are not very dangerous though.

More Dung Beetle Encountering Tips