In this clip I was able to prevent a group from attacking by placing a foundation under them. This should be fixed imo.
foundation_attack.mp4
There is also the possibility via a mod to place a lot of foundations near a fight. Each foundation could tank a arrow and cost nothing if not build. Would be very obvious to see though.