The Pipes are about 7.5 feet above the basement floor. I am in Canada.

[![WaterPipesUpToLaundryFloor](https://i.stack.imgur.com/QXLMo.jpg)](https://i.stack.imgur.com/QXLMo.jpg). The pipes are about total 2 feet in vertical length as measured from the 90 degrees turn from the basement, popping up the main floor laundry room, jutting up the floor by 3/4 foot ending in shutoff valves. As shown in the picture, the shutoff valves shut water supply to the w/m hoses.

We have been living in the house for 17 years now (bought new), and i have always wondered about the water pipes located above the main electrical panel in the basement. The hot / cold copper water pipes lead to the main floor laundry room supplying water to the washing machine and dryer. There is shutoff valve (both cold and hotwater) where the washer/dryer hose pipes connect for the water supply.
It has been nagging my mind if this is safe, and sometimes have me worry the fact that the water pipes are sitting right above the main electrical panel of our home.
Few things: (1) is this safe ? (2) Need advice to install shutoff valves (for both) in the basement where I can shut off the water supply in case of a leak, which will prevent water spillage down on the electircal box. (3) Install water leak sensor.
2 PICTURES ATTACHED.[![WaterPipeAboveElectricalBox-1](https://i.stack.imgur.com/vAl8l.jpg)](https://i.stack.imgur.com/vAl8l.jpg)
[![WaterPipeAboveElectricalBox-2](https://i.stack.imgur.com/lLk8U.jpg)](https://i.stack.imgur.com/lLk8U.jpg)