Live data from Hacker News

Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

techcrunch.com

81–90 of 125 posts

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#81
post #52

Earlier quoted context omitted.

Just because code/webpages are delivered to you over the web doesn't mean you can take them and republish them somewhere else.

Is illegal code (i.e. malware) protected by the copyright to begin with? If it is, then all antiviruses blatantly violate copyright. But something tells me they don't need to ask any permission from malware authors.

Regardless of whether or not it is, the article makes statements about how its " freely downloadable via any browser" and how "The crime, it seems, was the uploading of public code to a public repository". The point is that (legal or not), the code is not public and shouldn't be treated as such. No other code (eg javascript from all the HN starstups' web apps) that is downloadable is automatically "public code". Innocent until proven guilty and all that.

But... since copyright automatically applies to all works, yes, I think it does and should apply to illegal code (and every other code or work out there).

Having said that, I don't particularly see much morally objectionable with what this guy did in this case, even if its not legal.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#82
post #47

Earlier quoted context omitted.

Just because fingerprints were found at the scene of the burglary doesn't mean you take them and republish them somewhere else.

Fingerprints are not copyrighted, code is. You might claim fair use if you published it as part of an article, but probably not on GitHub which is intended for using and editing code.

That was a very imprecise analogy. What we actually have here is the intersection of copyright, digital forensic evidence, three jurisdictions, and facts and circumstances that are in dispute. Figuring out what the law actually says on this matter would be a sizable project for a law firm, and probably can't be settled without a judge.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#84
post #12

Earlier quoted context omitted.

Are you in the US and/or consuming primarily American media sources? I'd imagine the term might be more common in articles written in India and the term Indian programmer more common in articles written in the US.

I am in India. Never heard American programmer. Maybe Indian media doesn't cover much tech.

I felt it was more about the situation of the person (being an Indian ISP and in India) rather than a defining characteristic of the person. I would expect them to call a programmer American if it's an Indian newspaper and the piece of news happened in the US.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#85
I had a similar thing happen to me in the USA actually but had a different outcome.

I got on instagram.com (when it was still served over HTTP) one day and noticed an alignment issue. I believe reddit also had the issue. It was caused by a rogue iframe that was being injected into the page.

After some investigating the iframe domain was owned by my ISP. I sent emails to some of the higher ups telling them they should stop and the problem disappeared after about a month, and wrote a chrome extension to block the domains in the meantime. Not really sure what their idea was but it goes to show that you can't trust your ISP anywhere in the world (or anyone on the internet for that matter).

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#86
post #55

Earlier quoted context omitted.

Your site is down. Error 526 Ray ID: 1f474c500f7a0ef1 • 2015-06-10 18:56:46 UTC Invalid SSL certificate

The link in his profile works ( https://scott.arciszewski.me/ ) even though I see the same error when going directly to https://arciszewski.me/ does not. My guess is that arciszewski.me is not on the certificate because it is not meant to host web content, only the subdomains do.

Oh, right. I had SSL on both endpoints and the main site was intended to be just a list of family members' domains I hosted (and by that, I usually mean "reverse proxied" because I don't trust them).

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#87

Brief summary: Thejesh has accused Indian Airtel and Flash Networks Layer8 of something that may be a crime (depending on the particulars of Indian law) and is definitely a scandal. Specifically, the accusation is that Flash Networks Layer8 wrote a piece of malicious software and that Airtel injected it into customers' network connections. Thejesh republished the injected script on GitHub. Flash Networks sent a nasty…

Just because code/webpages are delivered to you over the web doesn't mean you can take them and republish them somewhere else.

"Just because", no. But:

1. The server has no access restrictions for the Javascript URL, presumably. So, if you trust the server's configuration to match the owner's intent, then the owner was saying "this page is intended for public consumption."

Which is to say, importantly, not only for their customers to view in exchange for their subscription fees (which would put the ad-injector script under license of whatever TOS the customers agreed to), but rather for anyone to view who has no prior relationship with them, for any purpose.

This is the "reproductions are allowed of works of artistic craftsmanship (buildings, sculptures, etc.) that are permanently situated in a public place or in premises open to the public" argument.

2. The owner never put a copyright claim against anyone else making copies of this work. Like the Internet Archive's copy of their website, say (if there is one.) That would suggest this takedown notice is a motivated use of copyright law to attack someone, rather than business-as-usual of them enforcing their IP.

Judges don't like it when you have a history of not caring about people doing something you could have complained about. They take that as evidence you don't care.

3. Fair use! This is a:

transformative use (it's visible source code, not an executing program!),

• of a small part of their copyrighted work (it's just the Javascript!),

• intended for a purpose that could be said to be both parody (revealing a previously-unnoticed essence of the original work through transformation) and edification (teaching people that the network is doing this thing.)

There's probably even more arguments than these. I hope the poster takes some of them to Github with a counter-takedown to get their repo back up.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#88
post #52

Earlier quoted context omitted.

Just because code/webpages are delivered to you over the web doesn't mean you can take them and republish them somewhere else.

Is illegal code (i.e. malware) protected by the copyright to begin with? If it is, then all antiviruses blatantly violate copyright. But something tells me they don't need to ask any permission from malware authors.

Yes, malicious code is protected by copyright.

Antivirus software isn't distributing the copyrighted virus, and I can't begin to wrap my head around the conception you must have of how they work, in order to think they do. Copyright is utterly irrelevant to the relationship between computer virii and antivirus software.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#89
post #47

Earlier quoted context omitted.

Just because fingerprints were found at the scene of the burglary doesn't mean you take them and republish them somewhere else.

Fingerprints are not copyrighted, code is. You might claim fair use if you published it as part of an article, but probably not on GitHub which is intended for using and editing code.

What about the copyright of the webpage whose code was altered with these injected ads? It's ironic that a company whose product disrespects the copyright of others would be so sensitive to the issue.

Re: Indian Programmer Exposes Code Injection, Gets a Cease and Desist from Injectors

#90
post #52

Earlier quoted context omitted.

Is illegal code (i.e. malware) protected by the copyright to begin with? If it is, then all antiviruses blatantly violate copyright. But something tells me they don't need to ask any permission from malware authors.

It seems like illegal works should be protected by copyright[1] But that begs the question, as ad injectors are probably not illegal. [1] http://www.cardozo.yu.edu/sites/default/files/Eldar%20Haber,...

In the UK it would be an offence under the section 3 of Computer misuse act.

"3.unauthorised modification of computer material, punishable by 12 months/maximum fine (or 6 months in Scotland) on summary conviction and/or 10 years/fine on indictment;[8]"

Does India not have something similar on the books.

Post reply on HN