Airtel allegedly injecting ‘suspicious’ code to track users’ browsing habits in India
Bangalore-based programmer finds suspicious code while browsing on Airtel’s 3G network and gets threatened with criminal wrongdoing notice
In a Twitter post dated June 3, Bengaluru-based Independent Technologist Thejesh G.N. has claimed that “Airtel 3G is quietly injecting java script into your browsing session.” He also posted a screenshot of the code on GitHub. According to Mr. Thejesh’s post in GitHub, the IP address from which the Java code originated was from Bharti Airtel in Bengaluru.
— Thejesh GN (@thej) June 3, 2015
That’s all very vague. But that’s just the very beginning of this story. On June 8, Thejesh received the most absurd legal threat letter, coming from a lawyer named Ameet Mehta from the law firm Solicis Lex. It claims to be representing an Israeli company, Flash Network, which is apparently responsible for the code injection software and it claimed that by merely revealing to the public that Airtel was doing these injections, Thejesh had engaged in criminal copyright infringement under the Information Technology Act, 2000.
On June 9, the order was followed by a takedown notice (under the Digital Millennium Copyright Act of the US) posted to GitHub. After this, Thejesh’s files became unreachable although a cached version is available here.
So I got cease and desist letter for exposing JS injection by big a telco for publishing JS code & screenshots. I will probably remove it 🙁
— Thejesh GN (@thej) June 8, 2015
The case’s conspiracy stems from the objective of Flash Networks, which it never discusses in its notices. In their C&D order, what the attorneys don’t mention is what Anchor.js enables for Flash as well as, and more significantly, the Airtel network. When Thejesh or any susceptible user for that matter visits a webpage on the Airtel 3G network, Anchor.js loads a third party popup, like an advertisement, on that page.
When the user views or interacts with that popup, whoever has made that popup makes some money. In this case, since Flash Networks the source of Anchor.js is hosted on Airtel’s IP address, the implication is that Airtel is using Anchor.js to make money for itself using the user’s browsing experience. There is also the additional threat of Flash Networks using its unverified script to seek for user data.
However, since Thejesh did not intend commercial use of Anchor.js (nor did he expose code that wasn’t already confidential), it’s uncertain how Flash’s copyright was infringed. Pranesh Prakash, Policy Director at the Centre for Internet and Society tweeted that irrespective of how Anchor.js harmed Thejesh’s experience, his act of uploading it to GitHub was protected by the Section 52(1)(ac) of the Indian Copyright Act 1957.
It states that “the study or test of functioning of the computer program in order to determine the ideas and principles which underline any elements of the program while performing such acts necessary for the functions for which the computer program was supplied.”
The intent of Flash Networks signals that the ISP is violating net neutrality because a user on the Airtel 3G network sees a website X differently than a user on, say, BSNL, because of the asset loaded by the injected script.
Recently, while the net neutrality debate was rising in India following a controversial policy document from TRAI, Airtel Zero was in the thick of things. It involved Airtel being paid by, say, Facebook to let users access Facebook for free on Airtel networks. The deal desecrated net neutrality because it disguised the preferential treatment of data packets based on their sources.
In fact, Airtel also distanced itself from the order issued by Flash Networks to Thejesh: “We … categorically state that we have no relation, whatsoever, with the notice.” Even so, that the two companies are and have been associated with each other is betrayed by one of Flash’s press releases from 2014 that includes Airtel and Vodafone among its clients.
If the ISP’s involvement is more convincingly established, it is likely to face legal action for violating user privacy as the script could also have been injected when people viewed Thejesh’s website via Airtel’s network, the ISP is also liable to have distorted his content to his audience.
It has also emerged since Thejesh’s disclosure that Vodafone might also be engaging in similar insertions of third-party software into browsers.
For those who argue that copyright is never used for censorship: explain this story. Of course, it all seems to be backfiring in a big way. Flash may have wanted to hide what they were up to, but now it’s getting much, much, much more attention. Maybe, next time, rather than threatening whistleblowers of your bad practices with claims of criminal copyright infringement, Flash and Airtel will think more about their own crappy business practices that put users at risk.