I don't see this as particularly problematic if it's not replacing an existing referral code. It should definitely be opt-in and more transparent though.
In fact, as a Firefox user, I would like to be able to activate a feature that would make Firefox the default beneficiary of affiliate rewards linked to my purchases. After all, I would not be visiting this website without it.
Am I missing some way this could be hurting someone?