News for hackers. Stuff that matters.
Re:A Whole New Code Search by MattRogish on Wednesday January 23, 2013 @03:35PM (#5105124)
Re:A Whole New Code Search by bitops on Wednesday January 23, 2013 @04:41PM (#5105456)
Re:A Whole New Code Search by donretag on Wednesday January 23, 2013 @04:49PM (#5105508)
That is not the only disturbing part. SSH private key by itself is not much of a threat, but bundled together with known_hosts is a recipe for disaster.
Re:A Whole New Code Search by graywh on Wednesday January 23, 2013 @04:55PM (#5105528)
Re:A Whole New Code Search by enneff on Wednesday January 23, 2013 @09:45PM (#5106830)
At least now someone can push to his GitHub account to remove it for him. :-)
Re:A Whole New Code Search by ibrahima on Thursday January 24, 2013 @01:13AM (#5107869)
Not if he has a passphrase, right?
Re:A Whole New Code Search by enneff on Saturday January 26, 2013 @11:42PM (#5123087)
Correct.
Re:A Whole New Code Search by barkingcat on Wednesday January 23, 2013 @06:00PM (#5105873)
Why would people put dotfiles like ssh keys up on public github?

This kind of thing is best suited for a private repo (github is still ok, just make it private) - cause it's most likely of no use to anyone but that single user.

Re:A Whole New Code Search by jcoder on Wednesday January 23, 2013 @06:07PM (#5105904)
I would not suggest that it's okay even for a private repo. Never let your private keys leave your machine or its dedicated, encrypted backup.
Re:A Whole New Code Search by conradev on Wednesday January 23, 2013 @07:29PM (#5106306)
Although I would never do this myself, if the keys themselves are encrypted with a password and then uploaded, it's not nearly as bad.
Re:A Whole New Code Search by qznc on Thursday January 24, 2013 @04:15AM (#5108540)
In the case of ssh keys, you usually should use a different key per device/home directory and let your server accept all the keys.
Re:A Whole New Code Search by graywh on Wednesday January 23, 2013 @10:26PM (#5106990)
And that was just the one on the first page of results I got.
Re:A Whole New Code Search by jrochkind1 on Wednesday January 23, 2013 @05:47PM (#5105812)
Nothing new about that, you didn't need github's improved search to do it.

https://www.google.com/search?q=site%3Agithub.com+inurl%3A.s...

Re:A Whole New Code Search by cryowaffle on Wednesday January 23, 2013 @07:15PM (#5106250)
Or Bitcoin RPC password!
Re:A Whole New Code Search by libria on Wednesday January 23, 2013 @03:56PM (#5105214)
A hacker-with-a-heart-of-gold will write a script to harvest these emails and send them a warning message with a link to this thread.
Re:A Whole New Code Search by beaumartinez on Wednesday January 23, 2013 @04:48PM (#5105498)
The one time those spammy GitHub bots could be put to good use
Re:A Whole New Code Search by eli on Wednesday January 23, 2013 @08:02PM (#5106441)
Most of those are examples or dummy data. Most of the messages this bot sends will be annoying and unwanted.
Re:A Whole New Code Search by sergiotapia on Wednesday January 23, 2013 @05:11PM (#5105621)
That is terrifying, I just logged in with three separate accounts and they worked. Obviously I logged out without fucking around with anything; why mess with somebody's professional work.

This is dangerous. But then again, is it Github's responsibility to keep these people from shooting themselves in the foot?

Re:A Whole New Code Search by brown9-2 on Wednesday January 23, 2013 @05:30PM (#5105730)
is it Github's responsibility to keep these people from shooting themselves in the foot?

No.

Re:A Whole New Code Search by sergiotapia on Wednesday January 23, 2013 @06:17PM (#5105965)
Re:A Whole New Code Search by yuchi on Thursday January 24, 2013 @03:27AM (#5108355)
Actually I'd like the presence of a "Report fool user" button just after "Report user"
Re:A Whole New Code Search by driverdan on Wednesday January 23, 2013 @04:17PM (#5105334)
Out of the ones I tried fb_secret seemed to have the most real results.

https://github.com/search?q=fb_secret&type=Code&ref=...

Re:A Whole New Code Search by donretag on Wednesday January 23, 2013 @03:53PM (#5105193)
Re:A Whole New Code Search by donretag on Wednesday January 23, 2013 @05:18PM (#5105668)
Someone is interested in what you and I have to say: https://github.com/ruggeri/hn-local-copy

Found via Github search

Re:A Whole New Code Search by ARama on Wednesday January 23, 2013 @08:58PM (#5106643)
I'm one of the students of App Academy ( which Ned Ruggeri is co-founder of ). The reason for that is because today one of the tasks was to create a version of HN in ou terminals. HN was blocking people due to repeated requests and thus Ned made a local version of HN for students to use.
Re:A Whole New Code Search by tiktaktoe on Wednesday January 23, 2013 @08:27PM (#5106527)
Creepy...

That's Ned Ruggeri, co-founder of App Academy (http://www.appacademy.io/). His HN account: http://news.ycombinator.com/user?id=ruggeri

Re:A Whole New Code Search by vinhboy on Wednesday January 23, 2013 @11:39PM (#5107379)
I think github should keep an active list of filters that they apply to all code submitted to their service.

Such as when it is a key file, or is a known credential file -- "amazon_s3.yml" for example, they should send a warning to the committer.

And then show a big red flag on the website if the repo is public.

And of course, remove the results from search.

I know it's not github's responsibility, but it would help make the web a bit safer.

Re:A Whole New Code Search by benjamincburns on Wednesday January 23, 2013 @10:17PM (#5106936)
It took me all of two seconds to think of the same thing, too. Here's hoping this is a big net win for parameterized security tokens.
Re:A Whole New Code Search by orangethirty on Wednesday January 23, 2013 @04:35PM (#5105420)
I found about that a short time ago while crawling github with Nuuton. A lot of people don't seem to be security aware. This is one of those things that search allows you to have fun with (by fun I mean be surprised, and by with I mean to only look and not use). You should see the stuff to be found on facebook.
Re:A Whole New Code Search by puppymaster on Wednesday January 23, 2013 @09:07PM (#5106681)
real "crypto_key" is pretty widespread as well :(