Referring to FIG. 1, there is shown a device for detecting and localizing perturbation attacks performed on the digital circuit 1, the device comprising a first metallic layer 11 and a second metallic layer 13 arranged on the digital circuit 1 such that the first metal layer 11 comprises a plurality of signal transmission lines routed horizontally and the second metal layer 13 comprises a plurality of signal transmission lines routed vertically, the device comprising one or more transmitter buffers and one or more receiver buffers, a transmitter buffer and a receiver buffer being connected by each signal transmission line. In other word, each signal transmission line of the first metallic layer 11 and the second metallic layer 13 connect a transmitter buffer to a receiver buffer. Each of the first layer 11 and the second layer 13 comprises n 2 (at least two) transmitter buffers and their corresponding at least two receiver buffers.