TikTok's In-App Browser Reportedly Capable of Monitoring Anything You Type - MacRumors
Skip to Content

TikTok's In-App Browser Reportedly Capable of Monitoring Anything You Type

TikTok's custom in-app browser on iOS reportedly injects JavaScript code into external websites that allows TikTok to monitor "all keyboard inputs and taps" while a user is interacting with a given website, according to security researcher Felix Krause, but TikTok has reportedly denied that the code is used for malicious reasons.

tiktok logo
Krause said TikTok's in-app browser "subscribes" to all keyboard inputs while a user interacts with an external website, including any sensitive details like passwords and credit card information, along with every tap on the screen.

"From a technical perspective, this is the equivalent of installing a keylogger on third party websites," wrote Krause, in regards to the JavaScript code that TikTok injects. However, the researcher added that "just because an app injects JavaScript into external websites, doesn't mean the app is doing anything malicious."

In a statement shared with Forbes, a TikTok spokesperson acknowledged the JavaScript code in question, but said it is only used for debugging, troubleshooting, and performance monitoring to ensure an "optimal user experience."

"Like other platforms, we use an in-app browser to provide an optimal user experience, but the Javascript code in question is used only for debugging, troubleshooting and performance monitoring of that experience — like checking how quickly a page loads or whether it crashes," the statement said, according to Forbes.

Krause said users who wish to protect themselves from any potential malicious usage of JavaScript code in in-app browsers should switch to viewing a given link in the platform's default browser if possible, such as Safari on the iPhone and iPad.

"Whenever you open a link from any app, see if the app offers a way to open the currently shown website in your default browser," wrote Krause. "During this analysis, every app besides TikTok offered a way to do this."

Facebook and Instagram are two other apps that insert JavaScript code into external websites loaded in their in-app browsers, giving the apps the ability to track user activity, according to Krause. In a tweet, a spokesperson for Facebook and Instagram parent company Meta said that the company "intentionally developed this code to honor people's App Tracking Transparency (ATT) choices on our platforms."

Krause said he created a simple tool that allows anyone to check if an in-app browser is injecting JavaScript code when rendering a website. The researcher said users simply need to open an app they wish to analyze, share the address InAppBrowser.com somewhere inside the app (such as in a direct message to another person), tap on the link inside the app to open it in the in-app browser, and read the details of the report shown.

Apple did not immediately respond to a request for comment.

Update: A spokesperson for TikTok issued the following statement to MacRumors.

"The report's conclusions about TikTok are incorrect and misleading. The researcher specifically says the JavaScript code does not mean our app is doing anything malicious, and admits they have no way to know what kind of data our in-app browser collects. Contrary to the report's claims, we do not collect keystroke or text inputs through this code, which is solely used for debugging, troubleshooting, and performance monitoring."

According to the TikTok spokesperson, the JavaScript code is part of a software development kit (SDK) that TikTok is leveraging, and the "keypress" and "keydown" functions mentioned by Krause are common inputs that TikTok does not use for keystroke logging.

Tag: TikTok

Popular Stories

imac video apple feature

November 20 to Mark the End of an Era at Apple

Wednesday November 11, 2026 7:51 am PST by
Apple has announced that the long-running Apple Support Community discussion forums for user-to-user tech support will be permanently closing on Friday, November 20. The forums have existed in some form for nearly 30 years, so it is the end of an era. Effective immediately, the Apple Support Community forums are in a read-only state, with new posts no longer being accepted. The final message ...
johny srouji

Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang

Thursday November 12, 2026 4:29 am PST by
Apple's chief hardware officer Johny Srouji is being considered as a potential successor to Nvidia CEO Jensen Huang as the chipmaker's board prepares to remove its co-founder, according to Semafor. Citing a person familiar with the matter, the publication identified Srouji as one of the people under consideration for Nvidia's top job. It is unclear if Srouji has yet been approached or...
airpods 5 new blue

Apple Releases New AirPods Firmware

Tuesday November 10, 2026 12:11 pm PST by
Apple today released new firmware for the AirPods Pro 2, AirPods Pro 3, AirPods 4, AirPods 5, and AirPods Max 2. The firmware has a build number of 9B47, up from 9A348/9A350. Apple has been beta testing the new firmware for the last several weeks. In a support document, Apple merely mentioned the new firmware contains "bug fixes and other improvements." Firmware updates can be downloaded...

Top Rated Comments

sniffies Avatar
55 months ago
TikTok is a tikking bomb that needs to be defused ASAP.
Score: 53 Votes (Like | Disagree)
DHagan4755 Avatar
55 months ago
It's owned by a Chinese company with alleged ties to the CCP. If you're concerned about it, don't use it. It's quite simple.
Score: 52 Votes (Like | Disagree)
bigandtasty Avatar
55 months ago
We were told TikTok was shady and monitoring people almost 2 years ago. Nothing surprising here.
Score: 42 Votes (Like | Disagree)
55 months ago
This is why I hate in-app browser. Let's face it, Google, Facebook, they all do/did it, which is why they're insistence in forcing users to remain in their app with these in-app browser "experience." This is an issue on Android as well, where Google searches on Google app are sticking with Chrome/in-app browser by default even if I have another browser as my default browser.

There are always shenanigans like this. I wish for Apple to simply disable in-app browsers, and force any links to just use the default browser externally.
Score: 40 Votes (Like | Disagree)
55 months ago
<shocked pikachu face>
Score: 37 Votes (Like | Disagree)
smoking monkey Avatar
55 months ago
Haha! The most obvious thing ever has just been confirmed.
This isn’t just Tiktok, it’s all social media.
Delete Twitter Facebook, Instagram. None of it makes us happier and that’s a scientific fact.
Score: 24 Votes (Like | Disagree)
Latest Stories
Hands-On With the New Apple TV 4K and Siri AI
Hands-On With the New Apple TV 4K and Siri AI
6 hours ago
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
7 hours ago
HomeView Launch Kicks Off as First Orders Reach Customers
HomeView Launch Kicks Off as First Orders Reach Customers
8 hours ago
Apple Continues to Move Up iPhone Duo Delivery Dates
Apple Continues to Move Up iPhone Duo Delivery Dates
10 hours ago
Apple Explains How HomeView Keeps Camera Data Private
Apple Explains How HomeView Keeps Camera Data Private
11 hours ago
Apple Releases Updated HomeView Software 27.2 Before Launch
Apple Releases Updated HomeView Software 27.2 Before Launch
12 hours ago
Apple Adds Samsung Foldables to Trade-In Program
Apple Adds Samsung Foldables to Trade-In Program
14 hours ago
Apple Sports App Now Features UFC
Apple Sports App Now Features UFC
14 hours ago
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
14 hours ago
Apple Releases Emotional 2026 Holiday Ad Featuring MacBook Neo
Apple Releases Emotional 2026 Holiday Ad Featuring MacBook Neo
15 hours ago
Apple's Official iPhone 18 Pro Cases and Watch Bands Get Big Discounts on Amazon
Apple's Official iPhone 18 Pro Cases and Watch Bands Get Big Discounts on Amazon
15 hours ago
Nintendo to End 'Sign in With Apple' Support in January
Nintendo to End 'Sign in With Apple' Support in January
15 hours ago
Walmart Black Friday Sale Begins With Early Deals on TVs, Laptops, and More
Walmart Black Friday Sale Begins With Early Deals on TVs, Laptops, and More
16 hours ago
Apple Says HomeView Software Update Coming Next Month With Siri Fix
Apple Says HomeView Software Update Coming Next Month With Siri Fix
16 hours ago
Review: Is Apple's All-New HomeView Smart Home Hub Worth $299?
Review: Is Apple's All-New HomeView Smart Home Hub Worth $299?
17 hours ago
Apple Home Collection: Select Accessories Available to Order This Friday
Apple Home Collection: Select Accessories Available to Order This Friday
17 hours ago
'Ratchet & Clank: Ranger Rumble' to Leave App Store This Month
'Ratchet & Clank: Ranger Rumble' to Leave App Store This Month
18 hours ago
Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang
Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang
18 hours ago
Apple Support Community Deserved a Proper Goodbye
Apple Support Community Deserved a Proper Goodbye
1 day ago
Apple on Fatal Vehicle Crash Near Apple Park: 'Our Hearts Are Broken'
Apple on Fatal Vehicle Crash Near Apple Park: 'Our Hearts Are Broken'
1 day ago
Apple Invites App Updated With Two New Features
Apple Invites App Updated With Two New Features
1 day ago
Google Says Gemini App Rolling Out on Apple CarPlay Starting Today
Google Says Gemini App Rolling Out on Apple CarPlay Starting Today
1 day ago
Is It Worth Buying a Ceramic Apple Watch?
Is It Worth Buying a Ceramic Apple Watch?
2 days ago
Samsung Early Black Friday Event Brings Major Sales to Frame TVs and More
Samsung Early Black Friday Event Brings Major Sales to Frame TVs and More
2 days ago
iPhone 18 Pro Max Wins Battery Test Involving 32 Smartphones
iPhone 18 Pro Max Wins Battery Test Involving 32 Smartphones
2 days ago
AirTag 2 4-Pack Hits Record Low $69.99 Price Ahead of Black Friday
AirTag 2 4-Pack Hits Record Low $69.99 Price Ahead of Black Friday
2 days ago
Rumored Apple Smart Glasses Mentioned in Supplier's Earnings Briefing
Rumored Apple Smart Glasses Mentioned in Supplier's Earnings Briefing
2 days ago
Make Apple Watch Listen for Sounds Like the Doorbell
Make Apple Watch Listen for Sounds Like the Doorbell
2 days ago
Apple Chip Supplier TSMC Approves $1 Billion AI Investment
Apple Chip Supplier TSMC Approves $1 Billion AI Investment
2 days ago
'Apple Support Community' Permanently Closing on November 20
'Apple Support Community' Permanently Closing on November 20
2 days ago