Depends on the situation really, If your the one making the bugged game, theres a risk you can be banned, however if your like joining into someone elses game you should not get banned
You need to be specific, it depends what you are doing.
Certain thinks could get you banned, other small mods like GT modding they don't have the time to look through all day.