{"id":36761,"date":"2022-08-12T16:39:10","date_gmt":"2022-08-12T20:39:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=36761"},"modified":"2022-08-12T16:52:48","modified_gmt":"2022-08-12T20:52:48","slug":"meta-apps-inject-tracking-code","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/08\/12\/meta-apps-inject-tracking-code\/","title":{"rendered":"Meta Apps Inject Tracking Code"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/KrauseFx\/status\/1557412851018596352\">Felix Krause<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=32415470\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/KrauseFx\/status\/1557412851018596352\">\n<p>Meta injects tracking code into all websites displayed inside their app without the user&rsquo;s consent, nor the website operator&rsquo;s permission<\/p>\n<p>This is done by the iOS and Android apps of Instagram, Facebook and FB Messenger<\/p>\n<p>This introduces a range of big security and privacy implications for the end-user, with Instagram being able to steal usernames, passwords and addresses, as well as monitoring screenshots you take, hiding website encryption status from the user and more<\/p>\n<p>[&#8230;]<\/p>\n<p>Apple has built &ldquo;App-Bound Domains&rdquo;, which could help avoid this kind of platform abuse, however it&rsquo;s not mandatory yet.<\/p>\n<p>Unfortunately, even the iOS Lockdown Mode doesn&rsquo;t prevent Instagram fetching user data from third party websites.<\/p>\n<\/blockquote>\n\n<p>Here&rsquo;s <a href=\"https:\/\/krausefx.com\/blog\/ios-privacy-instagram-and-facebook-can-track-anything-you-do-on-any-website-in-their-in-app-browser\">the post<\/a>.<\/p>\n\n<p><a href=\"https:\/\/webkit.org\/blog\/10882\/app-bound-domains\/\">Kate Cheney<\/a>:<\/p>\n<blockquote cite=\"https:\/\/webkit.org\/blog\/10882\/app-bound-domains\/\">\n<p>Once the <code>WKAppBoundDomains<\/code> key is added to the Info.plist, all <code>WKWebView<\/code> instances in the application default to a mode where JavaScript injection, custom style sheets, cookie manipulation, and message handler use is denied. To gain back access to these APIs, a <code>WKWebView<\/code> can set the <code>limitsNavigationsToAppBoundDomains<\/code> flag in their WKWebView configuration[&#8230;]<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/08\/11\/french-publishers-make-app-store-antitrust-complaint\/\">French Publishers Make App Store Antitrust Complaint<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/07\/18\/facebook-encrypting-links-to-prevent-url-stripping\/\">Facebook Encrypting Links to Prevent URL Stripping<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/07\/06\/lockdown-mode\/\">Lockdown Mode<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Felix Krause (Hacker News): Meta injects tracking code into all websites displayed inside their app without the user&rsquo;s consent, nor the website operator&rsquo;s permission This is done by the iOS and Android apps of Instagram, Facebook and FB Messenger This introduces a range of big security and privacy implications for the end-user, with Instagram being [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-08-12T20:39:12Z","apple_news_api_id":"85a9a625-81d9-4400-a8ee-93beaa46252b","apple_news_api_modified_at":"2022-08-12T20:52:51Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAg==","apple_news_api_share_url":"https:\/\/apple.news\/AhammJYHZRACo7pO-qkYlKw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[25,1162,1286,31,2078,26,2137,355,48],"class_list":["post-36761","post","type-post","status-publish","format-standard","hentry","category-technology","tag-facebook","tag-facebook-messenger","tag-instagram","tag-ios","tag-ios-15","tag-iosapp","tag-meta","tag-privacy","tag-security"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=36761"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36761\/revisions"}],"predecessor-version":[{"id":36769,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/36761\/revisions\/36769"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=36761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=36761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=36761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}