Excess shear stress in the assessment of geologically hazardous situations