Not sure what your mean, Golang has solved this problem. Packages are not dependent on GitHub, and trust and namespacing is done by domain which works really well.
In my personal opinion, if a rogue actor can compromise your project by buying you the equivalent of a beer and a pizza, I don't think anyone should trust you as a dependency to any extent.
Average monthly salary in Nigeria is $220.42. Median monthly income is $65.02. Minimum wage is $0.26/hour.
I know this kind of money sounds banal for us now, but even I, when I was a student (especially in high school), tried to avoid spending any money on my hobby (programming).