It could cure cancer; it is still done without consent of the user whose computer it runs on, which is unethical. It violates their privacy, which is an abuse of their human rights.
You should not make software that abuses the human rights of your users.
If you bought a plain old alarm clock and it silently connected to wi-fi and told the manufacturer every time you were in the room with it via a motion sensor, without notifying you when it did so or asking you if you want that, you would call that a defective product, and you would say that the front of the box, that says nothing about being a tracking device, is fraudulent.
It’s the same with a package manager, or any other software tool. Tracking in this way without consent is not acceptable, even if there is some fine print on the back of the box that tells you about it.