This year’s Intelligence Authorization Act would mandate penetration testing for federally certified voting machines and allow independent researchers to work on exposing vulnerabilities.
https://www.wired.com/story/a-senate-bill-would-radically-improve-voting-machine-security/