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

iPhone Duo Outer Display Hand

Apple Aiming to Upgrade the iPhone Duo in Four Ways

Sunday November 15, 2026 8:42 am PST by
Bloomberg's Mark Gurman today said Apple has four goals for future iPhone Duo models: Face ID, an Action button, a telephoto camera, and a thinner-and-lighter design. Gurman said Apple has already developed iPhone Duo 2 prototypes with Face ID on the outer display, but it is "running out of time" to finalize the feature for that model, so it might not arrive until the iPhone Duo...
iphone duo yellow hand

Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3

Monday November 16, 2026 10:17 am PST by
Apple today added a new option for unlocking the iPhone Duo using the front-facing camera, giving device users multiple ways to access their content. The feature is available in the second iOS 27.3 beta. The option to unlock with facial recognition is only available on the Lock Screen, and authentication via Touch ID is still needed for Apple Pay purchases, adding passwords and logins, and...
Apple Health AI Study App Feature

Apple Just Released a New App

Monday November 16, 2026 9:43 am PST by
Apple today launched a new research study in the U.S. to explore the use of AI for health, and it has released a dedicated iPhone app for participants. In a press release, Apple said the study and app are "designed to advance the understanding of how people interact with conversational health AI tools." The Apple Health AI Study App contains a generative AI chatbot that participants can...

Top Rated Comments

sniffies Avatar
56 months ago
TikTok is a tikking bomb that needs to be defused ASAP.
Score: 53 Votes (Like | Disagree)
DHagan4755 Avatar
56 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
56 months ago
We were told TikTok was shady and monitoring people almost 2 years ago. Nothing surprising here.
Score: 42 Votes (Like | Disagree)
56 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)
56 months ago
<shocked pikachu face>
Score: 37 Votes (Like | Disagree)
smoking monkey Avatar
56 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
Everything New in iOS 27.3 Beta 2
Everything New in iOS 27.3 Beta 2
8 hours ago
Apple Plans to Release These 18 New Products Next Year
Apple Plans to Release These 18 New Products Next Year
9 hours ago
New Apple TV 4K Discount Returns at Amazon
New Apple TV 4K Discount Returns at Amazon
10 hours ago
iPhone Duo Orders Will Now Arrive Before the Holidays
iPhone Duo Orders Will Now Arrive Before the Holidays
10 hours ago
Hands-On With the iPhone Duo's New Face Unlock
Hands-On With the iPhone Duo's New Face Unlock
10 hours ago
macOS 27.3 Warns Against Giving AI Apps Full Mac Control
macOS 27.3 Warns Against Giving AI Apps Full Mac Control
11 hours ago
iPad and Mac Get Apple Intelligence in China in 27.3 Betas
iPad and Mac Get Apple Intelligence in China in 27.3 Betas
11 hours ago
Apple News+ Puzzles Come to UK, Australia, and French Canada
Apple News+ Puzzles Come to UK, Australia, and French Canada
12 hours ago
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
macOS Golden Gate 27.3 Beta 2 Now Available for Developers
13 hours ago
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
Apple Celebrates Pokémon With iPhone Wallpapers and Special Gift Card
13 hours ago
Apple TV App Gets Video Podcasts in iOS 27.3
Apple TV App Gets Video Podcasts in iOS 27.3
13 hours ago
Best Early AirPods Black Friday Deals Include AirPods Pro 3 for $179
Best Early AirPods Black Friday Deals Include AirPods Pro 3 for $179
13 hours ago
iOS 27.3 Adds 'Ask About Page' Siri AI Feature to Safari
iOS 27.3 Adds 'Ask About Page' Siri AI Feature to Safari
13 hours ago
Apple Says More Than 200,000 Apps Now Optimized for iPhone Duo
Apple Says More Than 200,000 Apps Now Optimized for iPhone Duo
13 hours ago
Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3
Apple Adds Facial Unlock Option on iPhone Duo in iOS 27.3
14 hours ago
iOS 27.3 Beta Adds Daily Siri AI Limits and iCloud+ Upgrades
iOS 27.3 Beta Adds Daily Siri AI Limits and iCloud+ Upgrades
14 hours ago
iOS 27.3 Beta 2 Now Available for Developers
iOS 27.3 Beta 2 Now Available for Developers
14 hours ago
Apple Launches Spanish Version of Its U.S. Website
Apple Launches Spanish Version of Its U.S. Website
14 hours ago
Apple Releases Second watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
Apple Releases Second watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
14 hours ago
Some OLED MacBook Pro Owners Report Eye Strain and Dizziness
Some OLED MacBook Pro Owners Report Eye Strain and Dizziness
14 hours ago
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
Didn't Order Apple's HomeView Yet? Wait Times Are Significant Now
15 hours ago
Apple Pushes Back Against Canada's Plan to Access User Data
Apple Pushes Back Against Canada's Plan to Access User Data
15 hours ago
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
Black Friday TV Deals Include Year's Best Prices on Samsung, Sony, LG, and Many More
16 hours ago
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
Adobe's Black Friday Sale Takes 57% Off Creative Cloud Pro for Your First Year
17 hours ago
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
Apple's New HomeView Smart Home Hub Has Issues, Say Owners
17 hours ago
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
'Slow Horses' to Hit 10-Season Milestone With Apple TV Renewal
18 hours ago
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
Apple Watch SE 3 Black Friday Deals Arrive With $50 Off Every Model
18 hours ago
Apple Confirms iOS 27.3 Beta 2 Coming Today
Apple Confirms iOS 27.3 Beta 2 Coming Today
18 hours ago
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
'iPhone 20 Pro' Rumored to Be Based on iPhone Air
18 hours ago
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
iPhone 20 Pro Rumored to Feature New 17nm Camera Sensor
19 hours ago