Rethink Scarf usage
See original GitHub issueExpected Behavior
I expect this dependency to not collect any of my (personal) data by default.
Actual Behavior
This package is using scarf with an opt-out functionality - not opt-in. Thereby collecting the following information on each install:
- installed packages (except
@org
scoped) - IP address (to track which company I am from)
- operating system
Possible Solution
- Make
scarf
opt-in. - Or Disable IP Tracking and disable reporting of other packages installed
It should at least be explained in the readme. There should be a note saying how to disable it before installation - as currently there is no way to opt-out of the first installation because the installing person simply does not know about the package.
Context
Even Google has made its usage statistics optional. I understand that information like: “Which versions are currently used?” are of particular interested for package managers and I would let you track this kind of data (also with opt-out) - no problem.
But as you are also collecting information about the installed packages (Wherefore? Github already has a way less invasive function with “Used by”) and part of who I am (IP Adress and Company info) - I don’t quite get it. Please also be aware that this is likely putting you into the reach of GDPR laws because IP addresses and company affiliation are both likely to uniquely identify a person.
I love your work and I am using this package for years now. But still, I think before collecting data the reasons behind it and what they are used for should be explained. Also, the amount of data should be minimized.
Your Environment
- Version used: 8.0.2
- Browser Name and version: Chrome 81
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:11 (9 by maintainers)
Top GitHub Comments
Hi, author of scarf-js here 👋 . I just wanted to clear up a few things brought up here:
SCARF_VERBOSE=true
to see the exact payload we’re sending, it’s very small), and actually sharing that with the maintainers, which will ultimately lead to better-maintained software for everyone.Hi,
Thanks for the great work on ngx-infinite-scroll.
I would like to add to this issue regarding the use of scarf, I’m currently running into problem installing my dependencies because scarf is failing with
SyntaxError: Unexpected end of JSON input
when installingngx-infinite-scroll
It’s a bit frustrating that, a dependency of a dependency is causing issues project-wide while it is itself not necessary. I tried to opt-out using the environment variable and modifying the package.json but it’s still failing for now (need to keep looking into it).
EDIT: looks like
SCARF_ANALYTICS=false npm install --scripts-prepend-node-path
is allowing me to install the dependenciesAdditionally to this, I’m not 100% convinced that the current behaviour is compliant with GDPR (for all European users) as consent should be explicitly given which isn’t the case here. I’m personally not too fussed about it but I know some people are, and knowing that information are being sent would have been nice to know before running into troubles.