The legislation comes on the heels of the contentious 2016 election. Post-election investigation hasn't turned up any evidence that foreign governments actually altered any votes. However, we do know that Russians were probing American voting systems ahead of the 2016 election, laying groundwork for what could have become a direct attack on American democracy.
I wonder if they'll put in a backdoor. You know, for the good guys.