4 ms·
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 abou
by manigandham 8y ago
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-learned-from-net-core-sdk-telemetry/ https://blogs.msdn.microsoft.com/dotnet/2017/07/21/what-weve...
- 0x0 8y agoCollecting 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").
- philliphaydon 8y agoThey don't collect command line arguments according to the github issue.
- 0x0 8y agoThey 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...
- dingo_bat 8y agoSo if you push your api key to github by accident is github responsible?
- 0x0 8y agoInvalid 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.
- philliphaydon 8y agoI 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)
- opencl 8y agoAccording to this PR they do collect command line arguments. https://github.com/dotnet/cli/pull/2145 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?
- smhg 8y ago> 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?
- 0x0 8y agoAny tool that purposefully builds in unnecessary minefields like these deserves to be shamed.
- netheril96 8y ago> 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.
- smhg 8y agoSo when you paste your secrets by mistake into your browsers' instant-search box, you blame your browser for sending that data over the network?
- 0x0 8y agoOf 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?
- smhg 8y agoI 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.
- 8y ago
- setquk 8y agoDoes this justify hashing user identification for later correlation with other products? https://github.com/dotnet/cli/blob/b45f1fb439b36872c249b07f1c6bddf20167f166/src/dotnet/Telemetry/Sha256Hasher.cs#L12 https://github.com/dotnet/cli/blob/b45f1fb439b36872c249b07f1...
- ptx 8y ago> 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?)
- josteink 8y ago> 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-contest-package-for#57811 https://askubuntu.com/questions/57808/what-is-the-popularity...
- ptx 8y agoHas 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/ https://popcon.debian.org/
- josteink 8y ago> 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.
- OnlyRepliesToBS 8y ago~"you're just overreacting" ~"good for the user" ~"just the tip" ~"look how honest they were" Absolute bullshit. It was like pulling teeth just trying to get that information from Microsoft and that's not an order-of-magnitude all of it.