That's one of the reasons I am very careful when doing partial remodels about including language like
"The warranty of work only applies to conductors, raceways, opr other equipment physically touched or herein indicated as being inspected by electrical contractor. There may be hazards present that were not observable during the work included in this invoice"

Also, I'll include "WARNING - HAZARD" language with a description on the invoice if I tell the property owner about a dangerous circumstance and he tells me "just leave it alone and fix what you're here for"