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

Apple MacBook Pro with PROLED XDR Display family lineup feature

Apple Announces OLED MacBook Pro With Touch Display

Wednesday October 28, 2026 10:11 am PDT by
Apple today announced a new high-end MacBook Pro, which is available in 14-inch and 16-inch sizes. The new device has a PROLED XDR display that supports touch gestures, and a glowing rear Apple logo. Pricing on the MacBook Pro starts at $2,899 for the 14-inch model and $3,399 for the 16-inch model. Apple says the MacBook Pro has the "world's best display in a pro laptop." The PROLED...
Apple MacBook Pro 14 in with M6 hero

Apple Announces New 14-Inch MacBook Pro With M6 Chip

Tuesday October 27, 2026 6:01 am PDT by
Apple today announced a refreshed 14-inch MacBook Pro featuring the M6 chip, upgraded connectivity specifications, and more. The M6 chip in the MacBook Pro features a 12-core CPU with 2 super cores, 4 performance cores, and 6 efficiency cores, paired with a 12-core GPU. This is up from the M5 chip with a 10-core CPU with 4 super cores and 6 efficiency cores, paired with a 10-core GPU. M6...
iPad mini OLED feature 1

Apple Executive Comments on New iPad Mini Lacking 120Hz Display

Thursday October 29, 2026 1:47 pm PDT by
While the new iPad mini has an OLED display, the device does not support ProMotion, meaning the display's refresh rate is limited to 60Hz instead of 120Hz. ProMotion support would have allowed for the iPad mini's refresh rate to automatically adjust from 10Hz to 120Hz depending on the content being displayed, but evidently Apple has kept the feature exclusive to the iPad Pro among iPad...

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
Russia Places Apple on State Surveillance Registry
Russia Places Apple on State Surveillance Registry
1 hour ago
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
2 hours ago
Apple Has Released More Than 25 New Products in the Past Two Months
Apple Has Released More Than 25 New Products in the Past Two Months
2 hours ago
Local Code Launches as Free, Private AI Assistant Tool for Mac
Local Code Launches as Free, Private AI Assistant Tool for Mac
2 hours ago
Apple Acquires Ascend.io
Apple Acquires Ascend.io
3 hours ago
HomePod Mini 2 Launches Today: All the New Features
HomePod Mini 2 Launches Today: All the New Features
3 hours ago
AirTag 2 4-Pack Drops to New Low Price of $69.99
AirTag 2 4-Pack Drops to New Low Price of $69.99
4 hours ago
Rian Johnson's iPhone Camera App Goes Viral
Rian Johnson's iPhone Camera App Goes Viral
4 hours ago
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
6 hours ago
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
7 hours ago
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
15 hours ago
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
19 hours ago
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
20 hours ago
Apple Lowers App Store Fees in Taiwan Starting October 31
Apple Lowers App Store Fees in Taiwan Starting October 31
21 hours ago
HomeView Pre-Order Returns to $289.99 on Amazon
HomeView Pre-Order Returns to $289.99 on Amazon
21 hours ago
Apple Avoids Showing Pinched Fingers on iPad Mini Page in South Korea
Apple Avoids Showing Pinched Fingers on iPad Mini Page in South Korea
21 hours ago
Old 'Popcorn Time' App Left Hundreds of Thousands of Macs at Risk
Old 'Popcorn Time' App Left Hundreds of Thousands of Macs at Risk
23 hours ago
You Can Turn Off the New MacBook Pro's Touchscreen Functionality
You Can Turn Off the New MacBook Pro's Touchscreen Functionality
23 hours ago
MacBook Pro Mini-LED vs. OLED Buyer's Guide: Every Difference
MacBook Pro Mini-LED vs. OLED Buyer's Guide: Every Difference
1 day ago
Where to Pre-Order Apple's New MacBooks, iPad Mini, and iMac
Where to Pre-Order Apple's New MacBooks, iPad Mini, and iMac
1 day ago
Apple Releasing HomePod Mini 2 Tomorrow With These New Features
Apple Releasing HomePod Mini 2 Tomorrow With These New Features
1 day ago
How macOS Adapts Its Controls for Touch on the New MacBook Pro
How macOS Adapts Its Controls for Touch on the New MacBook Pro
1 day ago
Just Got an iPhone Duo? Try These Features First
Just Got an iPhone Duo? Try These Features First
1 day ago
Apple Announced Scott Forstall's Departure 14 Years Ago Today
Apple Announced Scott Forstall's Departure 14 Years Ago Today
1 day ago
Best Buy Opens Pre-Orders for PROLED XDR MacBook Pro With $100 Bonus Gift Cards
Best Buy Opens Pre-Orders for PROLED XDR MacBook Pro With $100 Bonus Gift Cards
2 days ago
Here's Everything Apple Announced This Week
Here's Everything Apple Announced This Week
2 days ago
Here's a Real-World Look at the New MacBook Pro's Glowing Apple Logo
Here's a Real-World Look at the New MacBook Pro's Glowing Apple Logo
2 days ago
How Accurate Were Rumors About Apple's OLED Touchscreen MacBook Pro?
How Accurate Were Rumors About Apple's OLED Touchscreen MacBook Pro?
2 days ago
Apple Has 8 New Products Available for Pre-Order
Apple Has 8 New Products Available for Pre-Order
2 days ago
iPhone Duo: Turn the Hinge Into an App Launcher
iPhone Duo: Turn the Hinge Into an App Launcher
2 days ago