TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How easily could russian hackers manipulate a U.S. election?

4 pointsby itsevrgrnalmost 7 years ago
What would they have to achieve this technically?

3 comments

k4ch0walmost 7 years ago
Well if you could change the source code on the voting machine it&#x27;s something as simple as you show the Voter their choice to confirm on the frontend but the backend has been manipulated to always vote for someone else instead. The voter would never know their choice was altered. An example is as simple as the following:<p>def selectCandidate(voter_id, choice):<p><pre><code> if choice == 1: return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 1&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} if choice == 2: return return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 2&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} if choice == 3: return return {&quot;Voter&quot;:voter_id, &quot;Displaychoice&quot;: &quot;Candidate 3&quot;, &quot;Choice&quot;: &quot;Candidate 1&quot;} raise Exception(&quot;Should never happen :-p&quot;)</code></pre>
some_accountalmost 7 years ago
Why the heck are you worrying about Russians? Don&#x27;t you realize it&#x27;s just a media thing to point, the finger at someone to be worried about?<p>Elections are not a democratic process in any of the big nations. Why do you think every president in America are basically related and family?
评论 #17822332 未加载
andrei_says_almost 7 years ago
I’m more worried about the Lesters.<p><a href="https:&#x2F;&#x2F;www.ted.com&#x2F;talks&#x2F;lawrence_lessig_we_the_people_and_the_republic_we_must_reclaim&#x2F;up-next" rel="nofollow">https:&#x2F;&#x2F;www.ted.com&#x2F;talks&#x2F;lawrence_lessig_we_the_people_and_...</a>