A lot of people forget that Facebook ends up on your iphone via dylibs included in almost every other app.
[0] https://www.gizchina.com/2021/05/26/researcher-found-a-secur... [1] https://appleinsider.com/articles/14/09/25/researcher-accuse... [2] https://www.forbes.com/sites/thomasbrewster/2014/09/04/creat... [3] https://www.wired.com/story/macos-malware-shlayer-gatekeeper...
I'm pretty sure they're not the only ones who do that either. It's a pretty effective method to get around app sandboxes.
Unfortunately Apple and Google work extremely hard to make this somewhere between difficult and impossible.
I haven't touched iOS development in years but I believe you don't even need a dev account to publish these.
Do not install apps, unless absolutely necessary.