I would qualify as living in such a country: the USA.
Some unfortunate medical issues put me on disability, which means living off of SSDI for a while. For various reasons the social security programs in this country are run with a focus on "stopping fraud" instead of "helping people", regardless of little shrinkage and waste actually exists.
A consequence of this is that you are required to be "in need" which is usually defined as not having more than like $30 in cash to your name. This includes all possible recoverable sources modulo a few enumerated items (such as one cheap car). As part of the application process, I had to liquidate stuff like the $70 i had in a "mandatory contribution" retirement account from a short-lived tech support job I had when I was an undergrad. Of course, as this was WAY before you were supposed to withdraw that money, it came with penalties that made that ~$70 worth only about $10. That was still considered "recoverable".
I have some stuff up on github. At the moment, none of it is very interesting or worthy of any tip. I suspect that for now the IRS/H&HS hasn't even heard of this kind of income. They certainly are not currently looking at potential income sources this new and unusual. That could change in time.
Regardless of the probably-low actual risk, I would be required to liquidate this kind of tip right now if any existed. Failure to do so could cause cancel my SSDI. That loss could even be retroactive back to the date the tip was sent.
I have no idea how this would play out in practice. It might not be as problematic as I described. What I do know is that social security moves by the whim of politicians and bureaucrats, making the entire topic very hard to predict. So yes, someone using my name in a fund-raiser can not only cause "tax issues", it also caries a (probably-)small but very real risk of removing my only source of income (aka "rent", "food").
No, these rules are not sane (or useful). Yes, this is a big problem, that is much larger than github. Unfortunately, the potential risk to anybody in a situation like mine is still very real.