Not a lawyer but with a search, I found 18 U.S. Code § 597 - Expenditures to influence voting; more details at: https://www.law.cornell.edu/uscode/text/18/597
FYI: From the article: “These vulnerabilities have since been fixed, this tool was never released, and the Kia team has validated this was never exploited maliciously.”