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: Please help me recall a certain programmer horror story

155 pointsby kuba-orlikalmost 7 years ago
I remember having read a story about a programmer that encountered a weird error - his program was spitting out racial slurs in its output. The issue turned out to be a malicious version of the compiler, but somehow after removing it it got back to the system, and what should take only a few minutes turned into days and days of trying to find the culprit.<p>I&#x27;ve been searching long and hard but cannot seem to find it. I hope that what little I remember from it is enough and some kind soul will help me find the original article online... :)

6 comments

plinyalmost 7 years ago
<a href="https:&#x2F;&#x2F;www.quora.com&#x2F;What-is-a-coders-worst-nightmare&#x2F;answer&#x2F;Mick-Stute" rel="nofollow">https:&#x2F;&#x2F;www.quora.com&#x2F;What-is-a-coders-worst-nightmare&#x2F;answe...</a>
评论 #17592426 未加载
评论 #17592363 未加载
评论 #17592575 未加载
评论 #17592466 未加载
评论 #17593269 未加载
评论 #17592299 未加载
评论 #17596657 未加载
评论 #17592351 未加载
dzdtalmost 7 years ago
This story strikes me as likely to be exaggerated or invented. It is exactly the scenario described in Ken Thomson&#x27;s Reflections on Trusting Trust. But unlike Thomson, who was developing the compiper, there is no reason a random grad student would have access to recompile the compiler. And if the student gained root access to replace system binaries, why would they bother making the compiler reinfect itself on recompilation?
评论 #17593609 未加载
marcodavealmost 7 years ago
Related to the question, another nice short story posted some time ago on HN about hacked compiler code <a href="https:&#x2F;&#x2F;www.teamten.com&#x2F;lawrence&#x2F;writings&#x2F;coding-machines&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.teamten.com&#x2F;lawrence&#x2F;writings&#x2F;coding-machines&#x2F;</a>
dwheeleralmost 7 years ago
I mentioned this &quot;malicious version of compiler&quot; on my web page about my approach for <i>countering</i> the trusting trust attack. See: <a href="https:&#x2F;&#x2F;www.dwheeler.com&#x2F;trusting-trust&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.dwheeler.com&#x2F;trusting-trust&#x2F;</a>
swarnie_almost 7 years ago
I didn&#x27;t recognize the story from your description but after the first paragraph its unmistakable.<p>A good, fun read. Thank you!
jlebrechalmost 7 years ago
that would be a pretty evil way to enforce payment, aka a DRM that turns racist if you don&#x27;t pay up.
评论 #17593125 未加载