Malware Injected Into Xcode Projects Could Infiltrate Mac App Store - MacRumors
Skip to Content

Malware Injected Into Xcode Projects Could Infiltrate Mac App Store

Last week, we reported on a severe new kind of Mac malware that has been found to infect via Xcode, discovered by security researchers at Trend Micro.

In an exclusive interview with MacRumors, the security researchers behind the discovery, Oleksandr Shatkivskyi and Vlad Felenuik, have provided more information about their research.

iu 2 1

The malware, which is part of the XCSSET family, is "an unusual infection" that is injected into Xcode projects. When the project is built, the malicious code is run. This can lead to "a rabbit hole of malicious payloads," and poses a significant risk to Mac users.

Specifically, the malware was found to be capable of abusing Safari and other browsers to steal data. It can use a vulnerability to read and dump cookies, create backdoors in JavaScript, and in turn modify displayed websites, steal private banking information and passwords, and block password changes. It was also found to be able to steal information from apps such as Evernote, Notes, Skype, Telegram, QQ, and WeChat, take screenshots, upload files to the attacker's specified server, encrypt files, and display a ransom note.

Shatkivskyi and Felenuik told MacRumors that they believe the XCSSET malware will become extremely common among bad actors who seek to exploit Mac systems. The malware is particularly dangerous because verification methods, such as checking hashes, would not identify infection. It was found to be present in projects shared on GitHub. This means that developers who rely on repositories could face a supply-chain attack and be unaware that their project has become infected.

Xcode projects infected with the malware can create maliciously modified applications, unbeknownst to the developers who make the apps, and may then distribute them as trojans. Shatkivskyi and Felenuik believe that the Mac App Store review team will be largely unable to detect apps that contain the XCSSET malware. "As an iOS developer I know how easy it is to fool them and release an app with hidden features," Shatkivskyi said.

Shatkivskyi and Felenuik first approached Apple about the issue as early as December 2019, and they hope that Apple will be decisive and swift in its response to resolving the vulnerability. They suggest that Apple could implement privacy notifications, the likes of which came to iOS 14 and iPadOS 14, to alert Mac users when the malware is active on their systems, in an effort to explicitly alert users to a potential breach.

Shatkivskyi and Felenuik did not have access to a Mac Developer Transition Kit with Apple Silicon for testing, but they believe "there is no doubt that the malware will work" on Macs running Apple Silicon. In spite of the severity of the XCSSET malware, they maintain that macOS is a safe operating system and are optimistic about the future of combating malware.

"Apple have some work to do, but still macOS is the most secure platform available. I am delighted by how Apple stands for privacy. However, I am sure that malware development will get almost impossible in the future. But it has nothing to do with the Mac transition to Apple silicon."

Going forward, the researchers caution Mac users to be alert for unusual activity with permission alerts. Any repeated or suspicious notifications asking for permissions on macOS may be an indication of an infection. Trend Micro encourages users to consider multilayered security solutions.

"In order to stay safe, you have to be somewhat paranoid. Don't allow any app to record your screen. Also, pay attention to what is running on your Mac. I never use any pirated software due to its insecurity, I use only licensed ones," Shatkivskyi said.

The pair continue to actively research other threats to macOS.

Popular Stories

iPhone Duo Slack

Apple Announces iPhone Duo Apps Can Now Be Submitted to App Store

Monday October 5, 2026 7:15 pm PDT by
Apple today announced that apps optimized for the iPhone Duo can now be submitted for App Store approval, ahead of the foldable device launching on Friday, October 23. While existing App Store apps will automatically run on the iPhone Duo, only apps built with the iOS 27.1 SDK or later can dynamically resize to fill the entire space of the inner display, whereas unoptimized apps will have...
macOS 26 Xcode

Apple Releases Xcode 27.1 Beta With iPhone Duo Support

Friday September 18, 2026 11:06 am PDT by
Apple today released the first Xcode 27.1 beta. The latest version of the tool adds support for iPhone Duo app development. Available on Apple silicon Macs running macOS 26.6 or later, Xcode 27.1 includes updated SDKs for the iPhone Duo, and a simulator that supports the device's new poses and...
Apple TV 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...

Top Rated Comments

cmaier Avatar
80 months ago

So much for the 30% cut Apple takes to ensure the App Store is the SAFEST place to download 3rd party apps. 🙄
Not one person has downloaded an app with this infection. Seems like apple is doing its job.
Score: 18 Votes (Like | Disagree)
macfacts Avatar
80 months ago
This is what your 30 percent buys
Score: 12 Votes (Like | Disagree)
rjohnstone Avatar
80 months ago

As Microsoft owns github.com, I have every reason to believe this problem will be resolved very quickly.
/s
It's not Microsoft's responsibility to scan and validate every piece code uploaded to GitHub.
It is the responsibility of every developer to inspect and validate any third party code they choose to incorporate into their app.
Score: 11 Votes (Like | Disagree)
80 months ago

This is what your 30 percent buys
And people want alternative app stores.... :D
Score: 9 Votes (Like | Disagree)
ArPe Avatar
80 months ago
Bit of ignorance on the researcher’s part.

When Apple vets a submitted app they check the application and system logs for behaviour like this.

Jobs already mentioned this process many years ago ‘Developers tell us the app does one thing and we find out it does something else.’

Apps downloaded outside the App Store are risky, especially if they are unsigned.
Score: 8 Votes (Like | Disagree)
ouimetnick Avatar
80 months ago
So much for the 30% cut Apple takes to ensure the App Store is the SAFEST place to download 3rd party apps. 🙄
Score: 8 Votes (Like | Disagree)
Latest Stories
HomePod Mini 2 Works as Default Speaker With Select Macs
HomePod Mini 2 Works as Default Speaker With Select Macs
31 minutes ago
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
36 minutes ago
iOS 27.2 Beta 4 Removes New Health App
iOS 27.2 Beta 4 Removes New Health App
1 hour ago
iPhone Duo Will Have Day-One iOS 27.1 Update
iPhone Duo Will Have Day-One iOS 27.1 Update
2 hours ago
Where to Pre-Order Apple's New HomeView, HomePod Mini 2, and Apple TV 4K
Where to Pre-Order Apple's New HomeView, HomePod Mini 2, and Apple TV 4K
2 hours ago
Apple Releases New AirPods Beta Firmware
Apple Releases New AirPods Beta Firmware
3 hours ago
Apple Seeds Fourth macOS Golden Gate 27.2 Beta to Developers
Apple Seeds Fourth macOS Golden Gate 27.2 Beta to Developers
3 hours ago
Apple Releases Fourth iOS 27.2 Beta
Apple Releases Fourth iOS 27.2 Beta
3 hours ago
Apple Releases Fourth watchOS 27.2 and visionOS 27.2 Betas
Apple Releases Fourth watchOS 27.2 and visionOS 27.2 Betas
4 hours ago
Anker and Jackery Offer Prime Day Encore Discounts on Power Stations
Anker and Jackery Offer Prime Day Encore Discounts on Power Stations
4 hours ago
New Apple TV 4K and Siri Remote Have These 14 New Features
New Apple TV 4K and Siri Remote Have These 14 New Features
4 hours ago
HomeView Runs Third-Party Apps From Your iPhone or iPad
HomeView Runs Third-Party Apps From Your iPhone or iPad
5 hours ago
RIP, homeOS
RIP, homeOS
5 hours ago
New Apple TV 4K Supports Surround Sound via Four HomePods
New Apple TV 4K Supports Surround Sound via Four HomePods
5 hours ago
Apple Says HomePod Mini 2 Won't Support Siri AI Right Away
Apple Says HomePod Mini 2 Won't Support Siri AI Right Away
6 hours ago
HomeView Can Dim to Apple's Lowest-Ever Display Brightness
HomeView Can Dim to Apple's Lowest-Ever Display Brightness
6 hours ago
New Apple TV 4K Adds Far-Field Microphones for Hands-Free Siri
New Apple TV 4K Adds Far-Field Microphones for Hands-Free Siri
6 hours ago
Apple Details HomeView's Audio Hardware
Apple Details HomeView's Audio Hardware
6 hours ago
Apple Shares Videos for HomeView, Apple TV 4K, and HomePod Mini 2
Apple Shares Videos for HomeView, Apple TV 4K, and HomePod Mini 2
6 hours ago
HomeView Comes in Four Colors, but Wall-Mounted Model Gets Just Two
HomeView Comes in Four Colors, but Wall-Mounted Model Gets Just Two
6 hours ago
Older Apple TV 4K Models to Gain Apple Intelligence and Siri AI Support
Older Apple TV 4K Models to Gain Apple Intelligence and Siri AI Support
7 hours ago
HomeView Brings Guided Recipes and Hands-Free Timers to the Kitchen
HomeView Brings Guided Recipes and Hands-Free Timers to the Kitchen
7 hours ago
New Siri Remote is $59 and Compatible With These Apple TV Models
New Siri Remote is $59 and Compatible With These Apple TV Models
7 hours ago
HomeView's Wall Model: Pay More, Get Less Speaker
HomeView's Wall Model: Pay More, Get Less Speaker
7 hours ago
Apple's HomeView Touts These 5 Privacy Features
Apple's HomeView Touts These 5 Privacy Features
7 hours ago
Apple Watch Ultra 3 Gets Major Discounts at Amazon and Best Buy
Apple Watch Ultra 3 Gets Major Discounts at Amazon and Best Buy
7 hours ago
Apple TV Finally Gaining Apple Intelligence and Siri AI
Apple TV Finally Gaining Apple Intelligence and Siri AI
7 hours ago
ADT to Offer In-Home Installation of Apple's New HomeView and More
ADT to Offer In-Home Installation of Apple's New HomeView and More
8 hours ago
HomeView Needs an iPhone or iPad for Some AI Features
HomeView Needs an iPhone or iPad for Some AI Features
8 hours ago
Apple Launches 'Apple Home Collection' With Cameras, Lock, Thermostats and More
Apple Launches 'Apple Home Collection' With Cameras, Lock, Thermostats and More
8 hours ago