BoatUS has an article on measuring electrical current leakage from boats at docks in marinas and how to keep your boat safe from leakage. It is recommended that marinas have a leakage current measurement device on hand and they can deny transients dockage if they determine there is too much leakage. If you have an older boat you can retrofit a device for your shore power system if you don’t already have. Read more.