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

macOS 26 Xcode

Apple Releases Xcode 27.3 Beta With Three New Features

Wednesday November 4, 2026 11:27 am PST by
Apple on Tuesday released the first Xcode 27.3 beta with three new features: GitHub Copilot support within the built-in coding assistant, the ability for developers to test Siri AI integration in their apps, and additional APIs for developers to optimize their apps for the upcoming MacBook Pro models with...
1password deal blue

1Password Security Breach: What Was Accessed and What Wasn't

Wednesday November 25, 2026 1:09 pm PST by
Popular password management app 1Password today said it experienced a security breach earlier this month. 1Password says some customer names and email addresses were accessed, but no customer vault contents were compromised. On November 19, 1Password saw indications that an employee's GitHub account had been breached and began investigating. The company says the breached GitHub account was...
apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...

Top Rated Comments

cmaier Avatar
82 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
82 months ago
This is what your 30 percent buys
Score: 12 Votes (Like | Disagree)
rjohnstone Avatar
82 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)
82 months ago

This is what your 30 percent buys
And people want alternative app stores.... :D
Score: 9 Votes (Like | Disagree)
ArPe Avatar
82 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
82 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
The 50+ Best Apple Black Friday Deals on AirPods, iPads, MacBooks, and More
The 50+ Best Apple Black Friday Deals on AirPods, iPads, MacBooks, and More
12 minutes ago
The Best Black Friday Mac Deals
The Best Black Friday Mac Deals
1 minute ago
The Best Black Friday AirPods Deals
The Best Black Friday AirPods Deals
8 minutes ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
47 minutes ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
2 hours ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
20 hours ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
20 hours ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
21 hours ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
22 hours ago
Kodak Launches Unique AirTag Rival With E-Ink Display
Kodak Launches Unique AirTag Rival With E-Ink Display
23 hours ago
Here's Why the Apple Store is Going Down
Here's Why the Apple Store is Going Down
23 hours ago
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
1 day ago
iPhones Dominate China's Weak Singles' Day Smartphone Sales
iPhones Dominate China's Weak Singles' Day Smartphone Sales
1 day ago
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
1 day ago
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
Apple Faces Korean Regulator Review Over iPhone 16 AI Advertising
1 day ago
Apple Watch Ultra 4 Hits New Best-Ever Price of $649.99 for Black Friday
Apple Watch Ultra 4 Hits New Best-Ever Price of $649.99 for Black Friday
1 day ago
New Apple Store Opening in India, Download the Special Wallpaper Now
New Apple Store Opening in India, Download the Special Wallpaper Now
1 day ago
Redesigned OLED MacBook Air Could Launch in 2027 or 2028
Redesigned OLED MacBook Air Could Launch in 2027 or 2028
2 days ago
AirPods Pro 3 for $149 is One of The Best Black Friday Deals This Year
AirPods Pro 3 for $149 is One of The Best Black Friday Deals This Year
2 days ago
1Password Security Breach: What Was Accessed and What Wasn't
1Password Security Breach: What Was Accessed and What Wasn't
2 days ago
WhatsApp Finally Adds Scheduled Messages
WhatsApp Finally Adds Scheduled Messages
2 days ago
Get Apple's Cheapest iPad for $379 During Amazon's Black Friday Sale
Get Apple's Cheapest iPad for $379 During Amazon's Black Friday Sale
2 days ago
Rumor: iOS 28 to Revamp Notifications
Rumor: iOS 28 to Revamp Notifications
2 days ago
iPhone 18 Pro Max Battery Exhausts a Toy Cyclops in New Apple Ad
iPhone 18 Pro Max Battery Exhausts a Toy Cyclops in New Apple Ad
2 days ago
$799 Smart Glasses Promise Vision Pro-Style Controls in a 45g Frame
$799 Smart Glasses Promise Vision Pro-Style Controls in a 45g Frame
2 days ago
How To Get an iPhone Duo or iPhone 18 Pro at No Cost Through T-Mobile for Black Friday
How To Get an iPhone Duo or iPhone 18 Pro at No Cost Through T-Mobile for Black Friday
2 days ago
Apple Has an iPhone Notifications Problem
Apple Has an iPhone Notifications Problem
2 days ago
Amazon Sweetens Black Friday Deals on PROLED MacBook Pro
Amazon Sweetens Black Friday Deals on PROLED MacBook Pro
2 days ago
Apple Has iPads Running macOS Internally, Says Gurman
Apple Has iPads Running macOS Internally, Says Gurman
2 days ago
Apple Is Far From Done With 2026: Here's What's Still Coming
Apple Is Far From Done With 2026: Here's What's Still Coming
2 days ago