News for hackers. Stuff that matters.
Re:GitHub Copi­lot inves­ti­ga­tion by randomdata on Monday October 17, 2022 @11:18PM (#33242576)
I learned to code when a misconfigured CGI server spit out an application's code (it was written in Perl) instead of executing it. While that starts going down the long and complicated road of whether or not the machine is acting definitively, I think for our purposes here we can assume that the intent was for me to not have access to the code.
Re:GitHub Copi­lot inves­ti­ga­tion by bamboozled on Monday October 17, 2022 @11:38PM (#33242691)
So you were probably illegally accessing another person or companies systems.

Nice you got something out of it, I'm not judging you either, but it was probably not the correct way to operate. What you should've done was notify the owners of the incorrectly configured system and left it at that.

You're also not a massive international conglomerate who should know better than to read every ones code and use it to turn a profit.

I use Github like a bank, not a public library (unless I'm working on open source). I never would've allowed them to read through all my code and use it for profits without at least asking.

Re:GitHub Copi­lot inves­ti­ga­tion by randomdata on Tuesday October 18, 2022 @12:34AM (#33243019)
> So you were probably illegally accessing another person or companies systems.

Illegal would imply some kind of intent or malice. I was legitimately trying to access the executed result, which I would have been authorized to do if the service was operating normally.

> What you should've done was notify the owners of the incorrectly configured system and left it at that.

Seems unrealistic to "leave it at that". I had to read the output to understand it wasn't what I expected, and once I read it I knew how to code, at least to a cursory degree. The code was simple and it was a service I used frequently, so it was immediately clear how the code translated to the results I was accustomed to.

> I use Github like a bank, not a public library (unless I'm working on open source). I never would've allowed them to read through all my code and use it for profits without at least asking.

I don't know what kind of banks you deal with, but banks normally do read through your banking records and use that information to sell services to their clients – notably loans, which require knowledge of your deposits to offer.

Re:GitHub Copi­lot inves­ti­ga­tion by cfeduke on Tuesday October 18, 2022 @12:49AM (#33243088)
> So you were probably illegally accessing another person or companies systems.

Misconfigured CGI handlers in Apache were very common in the late 90s, treating Perl as text/plain. There's no laws being broken, just a bad httpd.conf and no one is getting locked up for malicious intent.

Re:GitHub Copi­lot inves­ti­ga­tion by bamboozled on Tuesday October 18, 2022 @12:58AM (#33243146)
If I leave my door unlocked, is it ok for you to come into my home and have a party ? Could I do that at your house or place of business ?

What if you intentionally or unintentionally took down a server that controlled important infrastructure which people depended greatly on? Flood warning system for example ?

Grow up.

Re:GitHub Copi­lot inves­ti­ga­tion by lolc on Tuesday October 18, 2022 @03:27AM (#33244090)
So I write you a letter asking for information and you accidentally copy me your notes on how to gather the information in your response. Nothing illegal is happening when I read your notes. Maybe I should not read them for ethical reasons, but it's not illegal.
Re:GitHub Copi­lot inves­ti­ga­tion by bamboozled on Wednesday October 19, 2022 @04:29AM (#33259232)
This only applies if you were reading the code, not executing any code on the remote system (which I thought you were doing). It sounds like you were doing something different.

Either way, I still think you're in the wrong, kind of like checking out a naked person getting changed because they accidentally left their blind open. It was available, maybe it was clever, but it's a strange way to learn how to code. Why didn't you just buy a coding book, or borrow some from the library ? Was the code really of good quality if the server was configured so badly?

Obviously we have a difference of opinion and that's ok.

Re:GitHub Copi­lot inves­ti­ga­tion by lolc on Wednesday October 19, 2022 @09:07AM (#33261567)
The issue as described by the original poster was that the code was not executed but displayed. They read it and understood how it works. This set them on a trajectory to try it themselves. This is how they started. Maybe a book was involved at a later stage.

Sure, you can argue that they were not supposed to read the code, so they shouldn't have. But without some tangible harm I don't see why we're supposed to disapprove of it. Maybe allow some hacker spirit while posting on Hacker News :-)

Re:GitHub Copi­lot inves­ti­ga­tion by bamboozled on Wednesday October 19, 2022 @08:56PM (#33269670)
I’ve done similar things in the past so I said I’m not judging them, but after some time working with computers myself I’ve become more compassionate and I think the better thing to do is help a fellow sys admin and report the problem. That’s the hacker spirit.