I found this website on reddit that is intended to be opened using inapp browsers and tells you what JS is injected into the browser (to the best of its ability)
Yep. There was a report about how all in-app browsers can do this, and that FB/IG/Twitter/etc. all did it. But, of course, saying TikTok does it gets the clicks.
On iOS at least there are more restrictions of using SafariViewController vs WebView. I could imagine Apple making a policy change to force towards that stricter surface.
This isn't surprising at all, but also it's a bit alarmist. Who ever uses the in-app browser other than to follow a quick link that usually opens up a native app from there (like YouTube, for example)? Seems like nothing to stress about really, esp. if you're already okay being on these apps to begin with.
Any Safari extension could theoretically do the same, even if it is available on the AppStore. I doubt app review does security audits of extensions they approve.