I'd be all for improving security and having some kind of bar on cyber attacks carried out by states, but I would assume that would be utterly unenforcible.
However, what I would be concerned about is a move like this could simply be a backdoor to censorship, filtering, restricting encryption and more top-down control. Some very well meaning political efforts to make the internet a safer place have tended to go that way.
They also usually tend to think of the internet as if it were the PSTN - a radial network with nodes and lines all managed from the centre and completely fail to comprehend how IP traffic flows and how the internet is a giant organic mesh with very little ability to control anything or why encryption is utterly necessary to allow any of that to work safely.