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

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...
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...
Prime Big Deal Days 25 Red and Green

Amazon Launches Prime Day Discounts on AirPods, iPad, MacBook Air, and More

Sunday October 4, 2026 9:15 am PDT by
Earlier this week, we began tracking early Prime Day deals on Apple-related accessories, and now Amazon has introduced major early deals on Apple products as well. This includes AirPods, iPads, MacBooks, and more, all available at some of the lowest prices of the year so far. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we may receive a small...

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
Three Years of 80% Charge Limits on iPhone: The Results
Three Years of 80% Charge Limits on iPhone: The Results
1 hour ago
macOS 27.2 Further Hints at MacBook With Touch-Enabled OLED Display
macOS 27.2 Further Hints at MacBook With Touch-Enabled OLED Display
3 hours ago
The 15 Best Apple Deals Under $200 for Prime Day
The 15 Best Apple Deals Under $200 for Prime Day
3 hours ago
AirPods Pro 3 and AirPods Max 2 Get Big Price Drops for Prime Day
AirPods Pro 3 and AirPods Max 2 Get Big Price Drops for Prime Day
4 hours ago
Apple Releases Second Public Betas of iOS 27.2 and macOS Golden Gate 27.2
Apple Releases Second Public Betas of iOS 27.2 and macOS Golden Gate 27.2
4 hours ago
'Crossy Road Rush' Launching Exclusively on Apple Arcade in November
'Crossy Road Rush' Launching Exclusively on Apple Arcade in November
5 hours ago
Apple Watch Series 9 vs. Series 12 Buyer's Guide: Is It Worth Upgrading?
Apple Watch Series 9 vs. Series 12 Buyer's Guide: Is It Worth Upgrading?
5 hours ago
Prime Day Savings: TVs, Headphones, Chargers, and Other Tech Accessories
Prime Day Savings: TVs, Headphones, Chargers, and Other Tech Accessories
6 hours ago
Apple TV 4K Rumored to Support Four HomePods for Surround Sound
Apple TV 4K Rumored to Support Four HomePods for Surround Sound
7 hours ago
iPhone 18 Pro and Duo Were Once Planned With 16GB RAM, Leaker Says
iPhone 18 Pro and Duo Were Once Planned With 16GB RAM, Leaker Says
7 hours ago
Apple's Entire Mac Lineup Gets Massive Discounts for Prime Day
Apple's Entire Mac Lineup Gets Massive Discounts for Prime Day
8 hours ago
Prime Day iPad Deals Include Low Prices on iPad Air, iPad Mini, and More
Prime Day iPad Deals Include Low Prices on iPad Air, iPad Mini, and More
8 hours ago
Apple's $634 Million Apple Watch Patent Bill Just Got Even Bigger
Apple's $634 Million Apple Watch Patent Bill Just Got Even Bigger
8 hours ago
Amazon Prime Big Deal Days Offers Major Discounts on AirPods, iPads, and Much More
Amazon Prime Big Deal Days Offers Major Discounts on AirPods, iPads, and Much More
3 hours ago
Microsoft OneDrive to Drop Support for These iPhone Models
Microsoft OneDrive to Drop Support for These iPhone Models
10 hours ago
HomePod Mini Waits Reach Eight Weeks Ahead of Rumored Refresh
HomePod Mini Waits Reach Eight Weeks Ahead of Rumored Refresh
10 hours ago
Apple Music Is Getting a New Logo
Apple Music Is Getting a New Logo
10 hours ago
Apple Quietly Boosts Email Feature for iCloud+ Subscribers
Apple Quietly Boosts Email Feature for iCloud+ Subscribers
11 hours ago
iOS 27.2 May Let You Hide Specific Suggested Actions in Messages
iOS 27.2 May Let You Hide Specific Suggested Actions in Messages
12 hours ago
Sources: Apple Planning Two Sets of Product Launches in October
Sources: Apple Planning Two Sets of Product Launches in October
19 hours ago
Apple Announces iPhone Duo Apps Can Now Be Submitted to App Store
Apple Announces iPhone Duo Apps Can Now Be Submitted to App Store
19 hours ago
macOS 27.2 Adds Touch Gestures Ahead of MacBook Ultra
macOS 27.2 Adds Touch Gestures Ahead of MacBook Ultra
1 day ago
Apple and AT&T Have Yet to Explain Cause of iPhone 18 Pro Max Issue
Apple and AT&T Have Yet to Explain Cause of iPhone 18 Pro Max Issue
1 day ago
tvOS 27.2 Code Hints at Apple Intelligence for New Apple TV
tvOS 27.2 Code Hints at Apple Intelligence for New Apple TV
1 day ago
Apple Seeds Third macOS Golden Gate 27.2 Beta to Developers
Apple Seeds Third macOS Golden Gate 27.2 Beta to Developers
1 day ago
Apple Releases Third watchOS 27.2, tvOS 27.2 and visionOS 27.2 Betas
Apple Releases Third watchOS 27.2, tvOS 27.2 and visionOS 27.2 Betas
1 day ago
Apple Releases Third iOS 27.2 Beta
Apple Releases Third iOS 27.2 Beta
1 day ago
Apple Cash Adds ID Check for Reloads, Teases Bank Funding
Apple Cash Adds ID Check for Reloads, Teases Bank Funding
1 day ago
Apple Configurator App Updated
Apple Configurator App Updated
1 day ago
Apple One Just Went Up in Price in These Countries
Apple One Just Went Up in Price in These Countries
1 day ago