New Mac Malware Found to Infect via Xcode - MacRumors
Skip to Content

New Mac Malware Found to Infect via Xcode

Security researchers at Trend Micro have discovered a new kind of Mac malware which can "command and control" a target system.

xcode 6

The researchers described the malware, which is part of the XCSSET family, as "an unusual infection related to Xcode developer projects." The malware is unusual because it is injected into Xcode projects, and when the project is built, the malicious code is run. A developer's Xcode project was found to be able to contain the malware, which "leads to a rabbit hole of malicious payloads."

The discovery poses a significant risk for Xcode developers. Trend Micro identified developers affected by the malware who share their projects via GitHub, leading to a potential supply-chain attack for users who rely on repositories for their own projects. Google's VirusTotal scanning software managed to identify the malware, which indicates the threat is at large.

The malware spreads via infected Xcode projects because it can create maliciously modified applications. 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, block password changes, and steal newly modified passwords. 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.

Affected developers may unwittingly distribute the trojan to their users in the form of compromized Xcode projects and built applications. The malware is particularly dangerous because verification methods, such as checking hashes, would not identify infection as the developers would be unaware that they are distributing malicious files.

To protect against this type of threat, Trend Micro encourages users to only download apps from official marketplaces and consider multilayered security solutions.

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

80 months ago
If only there was the technology to prevent this spread. Perhaps something similar to containing a bunch of sand in some kind of box-shaped enclosure.
Score: 15 Votes (Like | Disagree)
russell_314 Avatar
80 months ago
This is why we can’t have nice things 😂
Score: 11 Votes (Like | Disagree)
80 months ago
Now imagine if the malware made it into a Mac App Store app.

This is why we notarize our Mac apps.
Score: 7 Votes (Like | Disagree)
Scottsoapbox Avatar
80 months ago
Can't blame the non-tech savy people for this one.
Score: 6 Votes (Like | Disagree)
lostngone Avatar
80 months ago
Good thing I never migrated to Xcode... CodeWarrior Pro 4 is the only way to compile!
Score: 6 Votes (Like | Disagree)
80 months ago
This whole thing is super fishy. From Trend Micro's technical brief:


We have found two Xcode projects infected by the malware from researching online. One happened on July 13 and the other on July 31. Fortunately, these projects are not too relevant for other users to download and integrate these into their own projects. Still, this proves how dangerous the XCSSET malware could be for developers.
This is really the definition of FUD, no?

So out of the millions of users on GitHub and trillions of lines of code, Trend Micro found just 2 repos with Mac malware?

No self-respecting developer is going to ever use these two repos in the first place. Developers use projects with good documentation that serve an actual need.

Occam's razor more likely says they found malware authors posting to GitHub. A conspiracy theorist might even say they perhaps planted it themselves.

And why are these repos even still active? Malware is against GH's TOS. If Trend Micro actually cared, they'd report these repos as nefarious. Otherwise they have little proof as reporting anything.

And on the linked page:

To protect systems from this type of threat, users should only download apps from official and legitimate marketplaces. Users can also consider multilayered security solutions such as Trend Micro Home Security for Mac, which provides comprehensive security and multidevice protection against cyberthreats. Enterprises can take advantage of Trend Micro’s Smart Protection Suites with XGen™ security, which infuses high-fidelity machine learning into a blend of
Alerting users to security threats is one thing. Hawking your products at the exact same time is a little desperate IMO.
Score: 5 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
33 minutes ago
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
Elevation Lab Pulls AirTag Silencer After Stalking Concerns
38 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
8 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