{"id":30583,"date":"2020-11-05T17:01:42","date_gmt":"2020-11-05T22:01:42","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30583"},"modified":"2020-11-05T17:01:42","modified_gmt":"2020-11-05T22:01:42","slug":"github-source-code-leak","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/11\/05\/github-source-code-leak\/","title":{"rendered":"GitHub Source Code Leak"},"content":{"rendered":"<p><a href=\"https:\/\/resynth1943.net\/articles\/github-source-code-leak\/\">Resynth<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=24994746\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/resynth1943.net\/articles\/github-source-code-leak\/\"><p>The entire source code for the code hosting service used by developers, GitHub.com, has just been leaked to the public.<\/p>\n<p>In a suspicious <a href=\"https:\/\/web.archive.org\/web\/20201104050026if_\/https:\/\/github.com\/github\/dmca\/tree\/565ece486c7c1652754d7b6d2b5ed9cb4097f9d5\">commit<\/a> to the <a href=\"https:\/\/github.com\/github\/dmca\">official GitHub DMCA repository<\/a>, an unknown individual uploaded the confidential source code, impersonating Nat Friedman using a bug in GitHub&rsquo;s application.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=24995121\">Nat Friedman<\/a>:<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=24995121\"><p>GitHub hasn&rsquo;t been hacked. We accidentally shipped an un-stripped\/obfuscated tarball of our GitHub Enterprise Server source code to some customers a couple of months ago. It shares code with github.com. As others have pointed out, much of GitHub is written in Ruby.<\/p>\n<p>Git makes it trivial to impersonate unsigned commits, so we recommend people sign their commits and look for the &lsquo;verified&rsquo; label on GitHub to ensure that things are as they appear to be.<\/p>\n<p>As for repo impersonation &#x2013; stay tuned, we are going to make it much more obvious when you&rsquo;re viewing an orphaned commit.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Resynth (via Hacker News): The entire source code for the code hosting service used by developers, GitHub.com, has just been leaked to the public. In a suspicious commit to the official GitHub DMCA repository, an unknown individual uploaded the confidential source code, impersonating Nat Friedman using a bug in GitHub&rsquo;s application. Nat Friedman: GitHub hasn&rsquo;t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-11-05T22:01:45Z","apple_news_api_id":"ba169eaa-77e4-4e65-a690-b16f35c64708","apple_news_api_modified_at":"2020-11-05T22:01:45Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AuhaeqnfkTmWmkLFvNcZHCA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[131,377,524,96],"class_list":["post-30583","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug","tag-git","tag-github","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=30583"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30583\/revisions"}],"predecessor-version":[{"id":30584,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30583\/revisions\/30584"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}