If it leaks only if only of water pump is on, I would fully trace the pressure side for water leak. If check valve is leaking water could leak out from shore water inlet, pending how your system is designed.
Another option is to drain all water, connect air pressure line <30 PSI, close all valves and listen for hissing sound. Once you get closer to the leak use soapy water to pinpoint the leak. You can use blow out gadget used for winterizing RVs -
https://www.amazon.com/BingSnow-Wint...SABEgIa5fD_BwE