A bill pending in the Pa. Capitol would impose consequences for using AI to misrepresent candidates close to an election.