In this article, we conduct research on the effect of corrosion tests on the hydrogen diffusion process in gas steel in electrochemical permeability tests. This tests show that a long corrosion test time reduces the hydrogen diffusion coefficient by an order of magnitude, indicating the formation of aging defects in the steel. During operation, the diffusion coefficient decreases by two orders of magnitude, which also indicates the formation of a large number of defects in the steel. Consequently, based on the change in the diffusion coefficient in the material, it is possible to assess the degree of material failure.