It's also nice to note that there have been already security audits on the current system, TPS (The public security test for TSE the Superior Electoral Court) happens every year addressing the security of e-voting in Brazil, for example, on TPS 2017, people managed to find arbitrary code execution in the Urna Eletronica (That's how we call the e-voting system here)
Great content to read: https://urnaeletronica.info/ https://www.researchgate.net/publication/326261911_Execucao_... https://www.researchgate.net/publication/323470546_The_Retur... https://www.researchgate.net/publication/330914587_The_Good_...