I believe it’s critical to have Sci-Hub become open-source, and so did the r/datahoarder torrent effort when Sci-Hub was under fire.
Source for the two claims in the title (I also saw it myself on the donations page): https://torrentfreak.com/sci-hub-pledges-open-source-ai-alongside-crypto-donation-drive-210809/
Edit: just saw that there is a new FOSS project called STC and that the lawsuit is ongoing, that explains it