Enhancing Safety Standards in Automated Systems Using Dynamic Bayesian Networks