Safety versus triviality on the lattice