News for hackers. Stuff that matters.
Re:Microsoft .Net Core telemetry is not opt-in by manigandham on Tuesday May 29, 2018 @05:30AM (#17177660)
Like all things, there must be a sense of context and proportionality. This issue is specifically about the .NET Core SDK command line tools.

Getting data about which commands are used most, if they're successful or throwing errors, possible typos, unclear command flags, etc, are useful when shipping software frameworks used by 10s of millions to build products that run the entire Fortune 500 and thousands of other businesses.

This is not ubiquitous spyware, and is about as generic as it gets while still remaining useful. Every software company (many of which are featured here on HN) does the same analytical tracking to figure out how their products are being used and it results in better features. What exactly is the danger here, especially with the lack of personal info and an opt-out method?

They even make the data public along with insights into how it helped: https://blogs.msdn.microsoft.com/dotnet/2017/07/21/what-weve...

Re:Microsoft .Net Core telemetry is not opt-in by ptx on Tuesday May 29, 2018 @09:20AM (#17178873)
> Like all things, there must be a sense of context and proportionality. This issue is specifically about the .NET Core SDK command line tools.

Exactly. Command line tools don't usually collect your data and send it off somewhere without asking. You wouldn't expect ls, cat and grep to spy on you. That's why it's so surprising.

But even big interactive applications like IDEs don't normally do this without asking. IntelliJ had a dialog pop up just a few days ago to ask me nicely to participate, defaulting to non-participation (!). Visual Studio and Office used to do the same thing, as I recall.

(Additionally, once you figure out how to opt-out in .NET Core, does it tell you somehow that you did so successfully? I think I've set the environment variable correctly, but how can I be sure?)

Re:Microsoft .Net Core telemetry is not opt-in by josteink on Tuesday May 29, 2018 @09:33AM (#17178982)
> Exactly. Command line tools don't usually collect your data and send it off somewhere without asking. You wouldn't expect ls, cat and grep to spy on you. That's why it's so surprising.

Except in Ubuntu Linux where apt-get it has done so for ages without anyone complaining:

https://askubuntu.com/questions/57808/what-is-the-popularity...

Re:Microsoft .Net Core telemetry is not opt-in by ptx on Tuesday May 29, 2018 @09:50AM (#17179121)
Has it? It says right on the page you're linking to that it's disabled by default, so you would have to explicitly opt in. Thus nobody complaining, as those who don't want it won't enable it.

I think it comes from Debian[1] actually, where it's also opt-in – my Debian machine doesn't have it installed. Like it says in the Debian package description: "Vote for your favourite packages automatically". It's voting, not spying – strictly voluntary. Those of us who don't want to vote don't have to.

[1] https://popcon.debian.org/

Re:Microsoft .Net Core telemetry is not opt-in by josteink on Tuesday May 29, 2018 @10:07AM (#17179262)
> it's disabled by default

Fair enough, but it wasn’t always like that.

> “Vote for your favourite packages automatically". It's voting, not spying

That’s just playing with words. What it does is exactly the same: provide the upstream author statistics about what is being used and not.

Surely you can’t mean that this is a serious argument.

Re:Microsoft .Net Core telemetry is not opt-in by ptx on Tuesday May 29, 2018 @10:35AM (#17179493)
My argument is in the part of the sentence you didn't quote.

When people go to vote for their government, is that implemented by sending government agents to eavesdrop on people's conversations to suss out what their political preference might be? No. People voluntarily (this is the core of my analogy) go to vote, to make their voice heard.

That's the difference between voting and spying.

Of course, if popcon were enabled by default, then that would be different and not like voting at all! But that's not what it said on the page you linked.

Re:Microsoft .Net Core telemetry is not opt-in by 0x0 on Tuesday May 29, 2018 @06:13AM (#17177844)
Collecting command line arguments is a HUGE invasion of privacy.

Imagine I ran a command "make.exe my-secret-project-name" or "make.exe process_gdrp_removal_request SOME_SSN".

And as the linked page admits, they really do collect all command line arguments, not just a white list of valid commands. Perhaps someone accidentally pastes an AWS API Secret into the wrong terminal window and it ended up as "dotnet.exe MY_AWS_SECRET". ("You will notice misspellings, like “bulid”. That’s what the user typed. It’s information").

Re:Microsoft .Net Core telemetry is not opt-in by philliphaydon on Tuesday May 29, 2018 @06:38AM (#17177919)
They don't collect command line arguments according to the github issue.
Re:Microsoft .Net Core telemetry is not opt-in by opencl on Tuesday May 29, 2018 @07:56AM (#17178276)
According to this PR they do collect command line arguments.

https://github.com/dotnet/cli/pull/2145

"My understanding is that this was recently discussed with our privacy team and we concluded that collecting the arguments themselves (hashed or not) is not acceptable per our privacy policies. Not sure whether the code already reflects that, but it's being worked on."

Somebody in the thread for the issue said it's "not acceptable per our privacy policies" and "being worked on" two years ago, but did they ever actually stop collecting command line arguments?

Re:Microsoft .Net Core telemetry is not opt-in by 0x0 on Tuesday May 29, 2018 @07:21AM (#17178072)
They do collect at least the first argument, how else do they end up with "bulid"? Accidents happen and someone could paste or tab-complete a confidential thing in that spot...
Re:Microsoft .Net Core telemetry is not opt-in by philliphaydon on Tuesday May 29, 2018 @12:18PM (#17180513)
I Guess they whitelist it. If someone types a valid command send the command. If someone types an invalid command then it prob sends something that isn’t descriptive. (Assumptions I’m making)
Re:Microsoft .Net Core telemetry is not opt-in by dingo_bat on Tuesday May 29, 2018 @07:31AM (#17178129)
So if you push your api key to github by accident is github responsible?
Re:Microsoft .Net Core telemetry is not opt-in by 0x0 on Tuesday May 29, 2018 @07:45AM (#17178214)
Invalid comparison, in my humble opinion.

Pushing a secret API key to github, even accidentally, does not happen covertly or as an unexpected side effect of some other tool written by github, and you'll soon realize what happens because you'll see your key sitting there. You also have a general idea of what you are playing with when you start using github, whether it's private repos or public repos.

Having a local CLI tool submit your secret API key as part of telemetry collecting command line arguments is totally unexpected and invisible for the user, and you won't even see it has happened.

Re:Microsoft .Net Core telemetry is not opt-in by smhg on Tuesday May 29, 2018 @07:28AM (#17178113)
> Perhaps someone accidentally pastes an AWS API Secret into the wrong terminal window and it ended up as "dotnet.exe MY_AWS_SECRET".

While I'm not defending the practice, I don't see how, when you make a copy-paste mistake into a wrong app, you blame the app for receiving the result of that mistake?

Re:Microsoft .Net Core telemetry is not opt-in by netheril96 on Tuesday May 29, 2018 @08:08AM (#17178342)
> you blame the app for receiving the result of that mistake

Yes. People all make mistakes. Good tools mitigate mistakes, while bad tools (like this telemetry) exacerbates problems.

Re:Microsoft .Net Core telemetry is not opt-in by smhg on Tuesday May 29, 2018 @08:24AM (#17178461)
So when you paste your secrets by mistake into your browsers' instant-search box, you blame your browser for sending that data over the network?
Re:Microsoft .Net Core telemetry is not opt-in by slenk on Tuesday May 29, 2018 @10:07AM (#17179268)
I would say there is a different expectation of privacy. When I am executing arguments on my command line, I am not expecting it to get collected and sent anywhere.

Does it happen in other apps? Sure. But I would not expect my command-line builds are phoning home what exactly I am doing.

Re:Microsoft .Net Core telemetry is not opt-in by 0x0 on Tuesday May 29, 2018 @09:17AM (#17178841)
Of course not. The browser performed its primary task, and the consequences are reasonably obvious to the user, who can at least make an informed corrective action.

Is the difference not obvious?

Re:Microsoft .Net Core telemetry is not opt-in by smhg on Tuesday May 29, 2018 @09:55AM (#17179163)
I think I should have said: the accidental paste is irrelevant here. It will always be troublesome if you paste secrets in the wrong place (especially if it takes it to the network).

When you run make.exe some-program-that-uses-aws YOUR_AWS_SECRET intentionally it is troublesome by itself.

Re:Microsoft .Net Core telemetry is not opt-in by netheril96 on Tuesday May 29, 2018 @10:16AM (#17179340)
> It will always be troublesome

You have a strange notion that small troubles and big troubles are all the same.

Re:Microsoft .Net Core telemetry is not opt-in by 0x0 on Tuesday May 29, 2018 @07:51AM (#17178239)
Any tool that purposefully builds in unnecessary minefields like these deserves to be shamed.
Re:Microsoft .Net Core telemetry is not opt-in by setquk on Tuesday May 29, 2018 @09:09AM (#17178776)
Does this justify hashing user identification for later correlation with other products?

https://github.com/dotnet/cli/blob/b45f1fb439b36872c249b07f1...