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...
apple pro tell logo

Apple Launching Five New Products This Friday

Monday November 2, 2026 1:22 am PST by
Apple is releasing five new products this Friday, November 6, following pre-orders that opened last week, including its first touchscreen MacBook Pro models. The following new products will be available from Friday: iPad mini with OLED display and A20 Pro chip iMac with M6 chip 14-inch MacBook Pro with M6 chip 14-inch MacBook Pro with OLED touchscreen 16-inch MacBook Pro with OLED...
Apple Logo Gradient 16x9 1

Apple Isn't Done With 2026: Here's What's Still Coming

Monday November 2, 2026 7:27 am PST by
Apple's busiest season isn't over yet. Far from it. With two hardware launch dates still to come in November, plus software updates and new smart home accessories running into December, there's more on the way from Apple before the end of 2026, so be sure to stick around. Below, we've rounded up what's still coming, along with one date in particular that's worth watching if you're a holiday...

Top Rated Comments

81 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
81 months ago
This is why we can’t have nice things 😂
Score: 11 Votes (Like | Disagree)
81 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
81 months ago
Can't blame the non-tech savy people for this one.
Score: 6 Votes (Like | Disagree)
lostngone Avatar
81 months ago
Good thing I never migrated to Xcode... CodeWarrior Pro 4 is the only way to compile!
Score: 6 Votes (Like | Disagree)
81 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
Everything New in the iOS 27.3 Beta
Everything New in the iOS 27.3 Beta
6 hours ago
Apple Music's New Selfie Sing Feature Lets You Record Karaoke Videos
Apple Music's New Selfie Sing Feature Lets You Record Karaoke Videos
6 hours ago
iPhone Jailbreak Gets Past Lockdown Mode and Survives an Update
iPhone Jailbreak Gets Past Lockdown Mode and Survives an Update
8 hours ago
iPadOS 27.3 Expands Siri Mode to Camera App
iPadOS 27.3 Expands Siri Mode to Camera App
9 hours ago
Veterans Day Apple Watch Activity Challenge Launches November 11
Veterans Day Apple Watch Activity Challenge Launches November 11
10 hours ago
Best Early Black Friday Mac Deals: Save Hundreds on MacBook Air, Mac Mini, and More
Best Early Black Friday Mac Deals: Save Hundreds on MacBook Air, Mac Mini, and More
11 hours ago
Apple Fitness+ Gets Gym Strength Plans in iOS 27.3
Apple Fitness+ Gets Gym Strength Plans in iOS 27.3
11 hours ago
iOS 27.3 Adding New StandBy Mode Features to iPhone 11 and Newer
iOS 27.3 Adding New StandBy Mode Features to iPhone 11 and Newer
11 hours ago
Apple Releases New AirPods Beta Firmware
Apple Releases New AirPods Beta Firmware
11 hours ago
iOS 27.3 Beta Brings Apple Intelligence to China
iOS 27.3 Beta Brings Apple Intelligence to China
11 hours ago
iPhone Duo Gets Reachability in iOS 27.3 Beta
iPhone Duo Gets Reachability in iOS 27.3 Beta
11 hours ago
Siri AI Gets More Capable in iOS 27.3
Siri AI Gets More Capable in iOS 27.3
11 hours ago
iOS 27.3 Adds Vertical Tabs and Adaptive Dark Mode to Safari
iOS 27.3 Adds Vertical Tabs and Adaptive Dark Mode to Safari
12 hours ago
watchOS 27.3 Brings Live Rewind and Siri Recap to Apple Watch
watchOS 27.3 Brings Live Rewind and Siri Recap to Apple Watch
12 hours ago
iOS 27.3 Beta Brings Back Apple's Redesigned Health App
iOS 27.3 Beta Brings Back Apple's Redesigned Health App
12 hours ago
Apple Releases First macOS Golden Gate 27.3 Beta
Apple Releases First macOS Golden Gate 27.3 Beta
12 hours ago
Apple Seeds First iOS 27.3 Beta
Apple Seeds First iOS 27.3 Beta
12 hours ago
Apple Releases First watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
Apple Releases First watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
12 hours ago
iPad Mini 8 Reviewer Dissatisfied With Apple's Excuse for Lack of 120Hz Display
iPad Mini 8 Reviewer Dissatisfied With Apple's Excuse for Lack of 120Hz Display
12 hours ago
iPad Mini 8 Review Claims Battery Life is Way Better Than Apple Says
iPad Mini 8 Review Claims Battery Life is Way Better Than Apple Says
13 hours ago
B&H Photo Launches Early Black Friday Sale With Discounts on Macs and Accessories
B&H Photo Launches Early Black Friday Sale With Discounts on Macs and Accessories
13 hours ago
iPhone Duo Could Take Nearly 30% of Foldable Market in 2027
iPhone Duo Could Take Nearly 30% of Foldable Market in 2027
14 hours ago
Apple Watch Automatically Identifies Songs Playing Around You
Apple Watch Automatically Identifies Songs Playing Around You
14 hours ago
iPhone 18 Rumored to Get Larger Battery and Potential Price Increase
iPhone 18 Rumored to Get Larger Battery and Potential Price Increase
15 hours ago
Apple Store in UK Permanently Closing Later This Month
Apple Store in UK Permanently Closing Later This Month
15 hours ago
Apple's Annual R&D Spending Jumps by More Than $11 Billion
Apple's Annual R&D Spending Jumps by More Than $11 Billion
16 hours ago
Will Apple Ever Merge iPadOS and macOS? John Ternus Responds
Will Apple Ever Merge iPadOS and macOS? John Ternus Responds
16 hours ago
MacBook Neo Gets Rare $30 Amazon Discount
MacBook Neo Gets Rare $30 Amazon Discount
16 hours ago
Hands-On: The OLED iPad Mini is Almost an iPad Pro Mini
Hands-On: The OLED iPad Mini is Almost an iPad Pro Mini
16 hours ago
tvOS 27.2.1 and macOS 27.2.1 Likely Coming Soon
tvOS 27.2.1 and macOS 27.2.1 Likely Coming Soon
17 hours ago