| ▲ | btown 2 hours ago | |||||||
I may be incorrect, but I believe SFSafariViewController doesn't allow JS or cookie interaction from the app's code - you can get notified on a page navigation, which is sufficient for legitimate e.g. OAuth use cases, but shouldn't allow exfiltration of data from a non-cooperating website. And this doesn't seem to be used, per the OP: > Apple provides a safe way to "Log in with Facebook": the system sign-in window (ASWebAuthenticationSession), which shows the website's name and keeps its cookies away from the app. Meta's own login kit uses it. These apps use neither. So this is just (pretty clever) social engineering to get someone to think they're needing to log in afresh to a Meta app, using a fresh isolated web view they can fully script and control. | ||||||||
| ▲ | jshier an hour ago | parent [-] | |||||||
Yeah, I think they changed SFSafariViewController to be more restricted at some point. And even if it could access all the cookies, it's in a separate process and doesn't return anything to the app, so it's not really an exfiltration risk either, it would just mean the web content could be logged into your account. | ||||||||
| ||||||||