how to avoid bridge exploits