News for hackers. Stuff that matters.
Re:GitHub and Rails: You have let us all down. by epistasis on Sunday March 04, 2012 @06:40PM (#3664600)
I have lost all trust in GitHub, and not because of the vulnerability, but because of their response. With their suspension of hamakov's account and deceptive blog post about the extent of the hole, GitHub has guaranteed that they won't be the first to know about the next vulnerability (and there's always another).

I've downgraded my paid account to a free account, and won't keep any non-public data on GitHub in the future. I had a similar response with my (non-paid) DropBox account. I guess I didn't rationally evaluate cloud resources, and have trusted far too many people.

Re:GitHub and Rails: You have let us all down. by MartinMond on Sunday March 04, 2012 @07:41PM (#3664794)
Yeah, I think we'll migrate all our private stuff to http://gitlabhq.com/

The way GitHub reacted (blocking @homakov) is just wrong and destroyed all my confidence in them. Even more so when it was pointed out that @zedshaw crashed GitHub and didn't get blocked. http://sheddingbikes.com/posts/1306816425.html

Edit: Given that they have now stated that suspending @homakov was only temporary I no longer bear any ill will towards them.

I'm still disturbed by their security practices though. I expected better by the github guys and I don't like what this implies about the rest of their App. (And yes I am using attr_accessible and not attr_protected since its inception)

Edit 2: See here http://news.ycombinator.com/item?id=3664839 My worst fear that GitHub is using unsafe mass assignment everywhere was NOT confirmed.

Re:GitHub and Rails: You have let us all down. by zedshaw on Sunday March 04, 2012 @09:20PM (#3665107)
I actually wanted them to ban me for that, because then they'd have even more to explain about them allowing rape/abuse comics about me on their site:

https://github.com/nickmartini/dongml

Which has:

https://a248.e.akamai.net/assets.github.com/img/b0de87a4cf0c...

If I was a woman there'd be an international shit storm over that image, but I'm a dude, and one that TPW hates, so of course they won't do shit.

Then again I can usually handle myself so that's what I did.

Re:GitHub and Rails: You have let us all down. by ovi256 on Monday March 05, 2012 @06:52AM (#3666220)
Oh wow, that nickmartini story is really something. Trolling through github ? Just sad.

And github forgetting the block user functionality makes me think they don't want to listen to user needs. Sure, it may not be a very popular request, but I bet for a minority it's the most important.

Re:GitHub and Rails: You have let us all down. by fagatini on Monday March 05, 2012 @01:29PM (#3667627)
Wow this again Zed? Just can't let it go can you?
Re:GitHub and Rails: You have let us all down. by tylermenezes on Sunday March 04, 2012 @08:54PM (#3665028)
Coincidentally, the incident with Zed was also fueled by the ruby guys being dicks. He just happens to be a higher-profile personality.
Re:GitHub and Rails: You have let us all down. by eugenejen on Sunday March 04, 2012 @10:11PM (#3665236)
It is rails guys, not ruby guys. I am still wondering why people can't distinguish two different communities. You don't mistake python and django or php and kohana or java and strut, right?
Re:GitHub and Rails: You have let us all down. by kamaal on Sunday March 04, 2012 @10:51PM (#3665332)
It doesn't work that way. Rails is a major reason for the kind of push Ruby got.

There was a time when CGI and Perl were synonymous. You won't believe how many people have a similar opinion about JQuery and Javascript these days.

A few days back I wanted to use a object oriented language for a big project. Generally I straight away go and use Perl for all my experiments. But since this time I wanted Java programmers to be working with my project later I thought let me use Python as its more syntactically closer to Java. When I started coding, my manager peeked over my shoulder and asked if it was Python in which I was coding I replied yes. He immediately asked me to stop writing in it, as he thinks writing in 2.x is waste of time as it is going to go away, 3.x is not yet having all the libraries. And writing 2.x will force a huge rewrite effort later. I tried and reasoned enough to convince other wise. But alas, it didn't fly.

That is how it works with pointy haired managers. They read something some where and then hold strong opinions about a particular technology.

As programmers we can try and educate people in forums like these.

But managers don't read these forums. They are likely to read magazines from IBM and Oracle, where XML's are glorified and eclipse is presented as the biggest productivity booster ever. Unless we get a forum on such magazines, we won't be able to make much difference.

Re:GitHub and Rails: You have let us all down. by tylermenezes on Sunday March 04, 2012 @11:20PM (#3665398)
You're right of course. I've honestly been trying to avoid the Rails community for as long as possible (I'd like to avoid being associated with anyone who would call himself a "Rockstar Programmer"), and with Rails being as big as it is, I've pretty much avoided Ruby entirely.
Re:GitHub and Rails: You have let us all down. by eugenejen on Sunday March 04, 2012 @11:40PM (#3665446)
Ruby community is quite reasonable. I usually avoid discussions in framework communities. At the other hand, programming language communities tend to be more reasonable and nerdy. I feel bad that you missed the chance to know ruby language due to anti rails.
Re:GitHub and Rails: You have let us all down. by negw on Monday March 05, 2012 @07:44AM (#3666315)
I've coded in Rails since forever (0.5) and I honestly don't see how that dongml thing is funny. I'm not even able to understand how it is supposed to be funny, is it the dicks?

For sure I think that a language shouldn't be avoided for something different than technical reasons, and nothing else.

Re:GitHub and Rails: You have let us all down. by loopdoend on Sunday March 04, 2012 @11:11PM (#3665377)
I code a lot in Ruby and have never touched Rails... Initially I got into Ruby because metasploit is written in it. Ruby might be popular because of Rails but it is not relevant to everyone who codes in Ruby.
Re:GitHub and Rails: You have let us all down. by minikomi on Monday March 05, 2012 @05:19AM (#3666068)
I think this Depends on the country or language somewhat too - many ruby guys in Japan are another breed entirely (using it as a playground for esoteric languages, quines..)
Re:GitHub and Rails: You have let us all down. by JackDanger on Sunday March 04, 2012 @07:04PM (#3664678)
They suspended the account, they didn't cancel it. On a Sunday morning when you're fixing a security hole and you know who penetrated it you suspend that person's account. On Monday morning you figure out what to do with them.
Re:GitHub and Rails: You have let us all down. by yalogin on Sunday March 04, 2012 @08:54PM (#3665026)
If the vulnerability is that serious should they have not taken the site down instead?
Re:GitHub and Rails: You have let us all down. by esrauch on Sunday March 04, 2012 @11:15PM (#3665382)
Is there no middle ground?
Re:GitHub and Rails: You have let us all down. by somestuff on Monday March 05, 2012 @09:12AM (#3666517)
"On a Sunday morning when you're fixing a security hole and you know who penetrated it you suspend that person's account."

Haha what. Do you maintain any sites? Tell us what ones. I want to warn all of your users that the admin is someone who will disable an account of someone who committed to master on a project that is not theirs and feel he has accomplished something.

Re:GitHub and Rails: You have let us all down. by technoweenie on Sunday March 04, 2012 @08:06PM (#3664871)
We suspended it after fixing the bug to make sure he didn't retain access to something he shouldn't. We rarely do this, but he wasn't upfront with everything he was doing on the site like people that disclose vulnerabilities responsibly.
Re:GitHub and Rails: You have let us all down. by epistasis on Sunday March 04, 2012 @08:31PM (#3664956)
Oddly, I don't feel that GitHub is being upfront with everything that's going on here. It appears to be a very complicated story, but it was presented in an entirely different manner. I recognize that it's difficult to present a coherent story when everything is playing out in real time on the web, but the blog posts seem to have shared just the wrong amount of information.
Re:GitHub and Rails: You have let us all down. by niyazpk on Sunday March 04, 2012 @08:31PM (#3664954)
The sad part is that the guy was your biggest fan: http://homakov.blogspot.in/2011/07/octocat-tattoo.html
Re:GitHub and Rails: You have let us all down. by technoweenie on Sunday March 04, 2012 @09:08PM (#3665073)
It's a fake.
Re:GitHub and Rails: You have let us all down. by reustle on Monday March 05, 2012 @12:11AM (#3665512)
Citation needed
Re:GitHub and Rails: You have let us all down. by openbear on Monday March 05, 2012 @01:02AM (#3665609)
Not sure if technoweenie was trolling or not, but Homakov said on Twitter "That tattoo is kind of fake made with henna".

http://twitter.com/#!/homakov/status/176476394455437312

"Thank you all,sweethearts! For support, and shit too. One more thing to clarify. That tattoo is kind of fake made with henna. eat vegetables"

Re:GitHub and Rails: You have let us all down. by tylermenezes on Sunday March 04, 2012 @08:58PM (#3665044)
> he wasn't upfront with everything he was doing on the site like people that disclose vulnerabilities responsibly

If he was, he wouldn't have really made his point, would he? There are a lot of other Ruby sites which have this sort of bug.

I actually do understand suspending his account, and I even kind of get the intentionally misleading communications (you have to keep the corporate customers happy, right?), but the new "white hat" policy thing is kind of silly, because that's clearly not what this was about.

Re:GitHub and Rails: You have let us all down. by kamjam on Monday March 05, 2012 @11:54AM (#3667161)
Well, you should have just stated that in the first place instead of name calling and acting immature. A simple "we have suspended his account while we carry out further investigations, this is practice" would have gone a long way to ease people's minds and kind of reactions you got. Instead, Github just came across as massive douches.

EDIT: On second thoughts, I think I am being overly critical on all parties. Instead, I think I hands up "we messed up, but we are learning" approach would be better, and we see how both sides act if/when this happens again, lessons learnt and all that!

Re:GitHub and Rails: You have let us all down. by dangrossman on Sunday March 04, 2012 @07:00PM (#3664665)
I'm just going to latch on to this comment to make mention of a GitHub alternative for private repositories: http://repositoryhosting.com/

I've been a happy customer for a while now, and have seen them recommended on HN many times. You get unlimited repositories with unlimited users for less than the cost of GitHub's cheapest 5 repo plan.

My open source code is on GH, but it's all also pushed to RH, along with all my private code.

Re:GitHub and Rails: You have let us all down. by biafra on Sunday March 04, 2012 @07:11PM (#3664696)
Or you can use bitbucket.org (using Django :-) which has git support and private repositories for free for up to 5 developers.
Re:GitHub and Rails: You have let us all down. by dspillett on Sunday March 04, 2012 @08:35PM (#3664972)
IMO the best location for private repositories is your own equipment. Or rented equipment but with the private code and data on encrypted block devices or filesystems.

I know it can be a faf to setup proper reliable secure backups and so forth (though with git it shouldn't be too hard give the whole thing is designed with wide but efficient distribution in mind), but if you stuff is sensitive enough (in a business sense, some other financial sense, or for more personal reasons) to care about keeping private then I would think twice before trusting a third party with the data. No matter how trustworthy, reliable, and secure they try to be, every one makes mistakes.

Maybe I'm just paranoid. Or just plain old fashioned. But "everything in the cloud" just scares me. Keep public stuff on public services by all means, but keep your private stuff under greater control.

Re:GitHub and Rails: You have let us all down. by stdbrouw on Sunday March 04, 2012 @08:56PM (#3665037)
"No matter how trustworthy, reliable, and secure they try to be, every one makes mistakes." Which can include you. I get that it'd be pretty hard for anyone else to access code that is just on your own laptop plus encrypted off-site backup storage, but once you get to the point where you need to collaborate with other people and need some sort of a service available on the web, I'd put more trust in the security chops of a trustworthy third party than I would in myself.
Re:GitHub and Rails: You have let us all down. by zalew on Sunday March 04, 2012 @07:22PM (#3664718)
You should check out http://bitbucket.org
Re:GitHub and Rails: You have let us all down. by rogerbinns on Sunday March 04, 2012 @09:54PM (#3665200)
What makes you think they are saints? About a year ago I discovered that they didn't protect attachments to tickets in private repositories (since fixed). Anyone who could guess the URL could access the content. (It looked like the cause was keeping the attachments in S3 without front-ending them.)

On contacting them I was told it would be fixed in a day or two, and that it was no big deal since you had to guess the URL. The values you had to guess in the URL were a ticket number (they start from 1), a repository name, a date (YMD) and a filename. Sure there is some variety in there but it is not in the billions of possibilities, just hundreds and that won't make any computer break into a sweat and in my words at the time "easy". To make matters worse you can't delete the attachments to tickets.

This may not affect you. It certainly affected me. For example we had some keyfiles in one ticket. Coredumps in others.

Two weeks later the issue still hadn't been fixed and I don't know when it was. I've never seen disclosure of the issue. There wasn't even any way of knowing if attachments had been accessed in an unauthorized way since there was no checking in the first place.

Re:GitHub and Rails: You have let us all down. by zalew on Sunday March 04, 2012 @11:35PM (#3665433)
> What makes you think they are saints?

What makes you think I think that?

Re:GitHub and Rails: You have let us all down. by rogerbinns on Sunday March 04, 2012 @11:45PM (#3665459)
You suggested bitbucket as an alternative to the github the thread starter had lost trust in.
Re:GitHub and Rails: You have let us all down. by dangrossman on Sunday March 04, 2012 @07:29PM (#3664749)
I prefer to pay someone to host the private repos. No free tier means every user is treated like a paying customer, and every user's data is considered valuable. It also means that as long as the pricing is sane, the company isn't going to shut its doors for lack of revenue. Before RH I was paying Springloops.

It's $6/month to take care of my most important assets. That doesn't even buy a meal at McDonalds anymore; it's worth it.

Re:GitHub and Rails: You have let us all down. by zalew on Sunday March 04, 2012 @07:37PM (#3664775)
> as long as the pricing is sane, the company isn't going to shut its doors for lack of revenue.

BitBucket is owned by Atlassian for 2 years now and they don't look like they're about to go out of business ($60mil revenue in 2011, 400employees, worldwide offices). When they bought it, it was them who set private repos to unlimited (when @jespern was running it alone, it was set to 5), so I believe they know what they're doing and that it fits their business model. Over 5 collaborators need a paid plan and that's just how they set up the pricing scheme.

As far as I can see as an active user and lurking through their blog and bugtracker, BB is actively developped, so I assume you don't have to worry about them running out of business, looks like it's a valuable asset in Atlassian's software portfolio (at least valuable enough to work on it).

Re:GitHub and Rails: You have let us all down. by batista on Sunday March 04, 2012 @09:01PM (#3665051)
I prefer to pay someone to host the private repos.

Yeah, and people payed GitHub to host their private repos --how did that go?

Re:GitHub and Rails: You have let us all down. by jcoder on Monday March 05, 2012 @02:50AM (#3665836)
It's going _just fine_.
Re:GitHub and Rails: You have let us all down. by batista on Monday March 05, 2012 @01:10PM (#3667532)
Except when they don't handle security well, and you end up with anybody that feels like it capable of reading your private source code... Like, say, NOW.
Re:GitHub and Rails: You have let us all down. by zavulon on Sunday March 04, 2012 @07:34PM (#3664766)
I've always plugged the here on HN before, and will do it again: http://www.assembla.com

Unlimited private Git, SVN and Mercurial repos for free.

We've been using them for years for all our projects with no issues.

Re:GitHub and Rails: You have let us all down. by Simucal on Sunday March 04, 2012 @07:49PM (#3664818)
I used to use them years ago and it certainly wasn't issue free. When they took away their free private accounts it was a pretty big pain only to have them re-implement them less than a year later.
Re:GitHub and Rails: You have let us all down. by rada on Monday March 05, 2012 @03:40PM (#3668246)
Great recommendation, thanks! For others, I just signed up with this promo: SVN55 (50% off first month).
Re:GitHub and Rails: You have let us all down. by angrycoder on Sunday March 04, 2012 @09:38PM (#3665156)
Clearly the only secure and rational solution for all of us is to print out our source code every hour and store it in a shoebox under our beds.
Re:GitHub and Rails: You have let us all down. by raganwald on Sunday March 04, 2012 @09:52PM (#3665196)
Try to be serious. What are you gonna do, type your source back in by hand? Punch cards, paper tape, cassette recorder, pick one.
Re:GitHub and Rails: You have let us all down. by GFischer on Monday March 05, 2012 @06:25AM (#3666173)
You're snarky, but that's exactly the way we used to protect source code intellectual property here in Uruguay until recently.

Nowadays you can hand a CD, plus a printed manual. Printing the code is now optional. But you still have to register every version :)

http://www.cuti.org.uy/registro-de-software.html

Re:GitHub and Rails: You have let us all down. by tdoggette on Sunday March 04, 2012 @10:44PM (#3665319)
OCR, duh.
Re:GitHub and Rails: You have let us all down. by ComputerGuru on Sunday March 04, 2012 @10:11PM (#3665235)
He was being snarky.
Re:GitHub and Rails: You have let us all down. by chrisacky on Sunday March 04, 2012 @06:55PM (#3664648)
This is a perfect summary and exactly the sentiments that I couldn't express in the article. I've quoted you with attribution if you are okay with that?
Re:GitHub and Rails: You have let us all down. by epistasis on Sunday March 04, 2012 @07:06PM (#3664686)
Of course. I can't imagine that I'm the only person leaving GitHub because of this.
Re:GitHub and Rails: You have let us all down. by tar on Sunday March 04, 2012 @07:27PM (#3664739)
This is probably the perfect time to switch to http://bitbucket.org/ . They offer free unlimited public and private repositories for both Git and Mercurial. However, the free private repositories are limited to five collaborators.
Re:GitHub and Rails: You have let us all down. by codesuela on Sunday March 04, 2012 @06:53PM (#3664644)
^ this, I just moved my prive repo to bitbucket hoping that Atlassian would have handled this issue better. At least they seem to have more experience looking at their long history in software. I will also look into setting up my own git(orious) server.
Re:GitHub and Rails: You have let us all down. by DeusExMachina on Sunday March 04, 2012 @07:49PM (#3664819)
I personally know some people that work for Atlassian and they are awesome. Moreover, they really do care for their customers. I have no experience using Bitbucket, but given the people I know I would definitely trust them.
Re:GitHub and Rails: You have let us all down. by phzbOx on Sunday March 04, 2012 @06:55PM (#3664646)
I have to agree that suspending the account was dumb as if he wanted to be malicious, he'd have created dummy accounts and would have committed malicious code to popular projects.

But then, going so far to say losing all trust in github.. there was a bug, it's fixed and they suspended the "attacker". I wonder what will happen in the following days with script kiddies trying to "hack" all rails website. In fact, isn't the overloading of parameters something as old as the earth that security experts would check first as a vulnerability?

Re:GitHub and Rails: You have let us all down. by res0nat0r on Sunday March 04, 2012 @08:56PM (#3665038)
Not to downplay the exploit at all, but for everyone raging that this occurred and are worrying about the integrity of their codebase, we are talking about an SCM for god sakes aren't we? Git is distributed and all most users would need to do who are freaking out right now about evil commits is to go back and audit your git commit history no?