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.

Can Microsoft plant backdoor on Linux source in GitHub secretly?

6 pointsby CoderCVover 6 years ago
Linux repository - https://github.com/torvalds/linux

4 comments

PaulHouleover 6 years ago
It&#x27;s open source.<p>Everybody would be able to see it. It might be hard to figure out, but you couldn&#x27;t get away with it forever.<p>For that matter anybody who contributes to Linux could contribute a bad patch. Remember that a bad patch doesn&#x27;t have to look like it has evil intent, it just looks like the author wasn&#x27;t being careful with memory and... oops, there is a buffer overflow there.
评论 #18024353 未加载
archi42over 6 years ago
I&#x27;m not aware this is possible. The git commits form some kind of depended hash tree, so you can not &quot;rewrite history&quot; without screwing up that tree.<p>Meaning: If someone altered the code on GitHub, the current trunks hash would change. Subsequently, if Torvalds tries to push to this repo, he would receive an error.<p>Of course MS could offer Torvalds one &quot;version&quot; of the git, and everyone else a &quot;tampered version&quot;; keeping the two in perfect sync. But since the kernel git is also located on other sites, this tampering would show up rather sooner than later.<p>Edit, some small nit-picking: I think this should be prefixed with &quot;Ask HN:&quot; ;)
LinuxBenderover 6 years ago
Is github the master, or a sync from somewhere else? Are the commits GPG signed? Does anyone here know for a fact the build&#x2F;test pipeline(s) validate on checkout that git has no errors and require human intervention if it does?
BentFranklinover 6 years ago
Never ascribe to stupidity that which can adequately be explained by malice masquerading as stupidity.
评论 #18024340 未加载