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...
iphone duo screen crack

Apple Responds to iPhone Duo Display Cracking Reports

Monday October 26, 2026 10:20 am PDT by
Shortly after the iPhone Duo launched, a few users reported hinge issues that were causing cracks in the inner display. Apple has now responded to the reports in a statement to MacRumors, saying a small number of units are affected. The response to iPhone Duo from early users has been incredibly positive, and we are seeing exciting things from developers who are rapidly updating their apps...
iPad mini OLED feature 1

Apple Announces New iPad Mini With 8.5-Inch OLED Display, A20 Pro Chip, and More

Monday October 26, 2026 6:05 am PDT by
Apple today announced a new iPad mini with a larger 8.5-inch OLED display, a nano-texture display option, a thinner and lighter design, an A20 Pro chip, a new Acoustic Display audio system that eliminates speaker holes, IP67-rated water and dust resistance, a landscape front camera, Apple's N1 chip with Wi-Fi 7 and Bluetooth 6 support, and more. Altogether, Apple says this amounts to the iPad...

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
Illuminated Apple Logo Returns to MacBook Pro After 10 Years
Illuminated Apple Logo Returns to MacBook Pro After 10 Years
9 minutes ago
Apple Announces OLED MacBook Pro With Touch Display
Apple Announces OLED MacBook Pro With Touch Display
10 minutes ago
Apple Store Down Ahead of 'Pro and Tell' Launch Today
Apple Store Down Ahead of 'Pro and Tell' Launch Today
35 minutes ago
South Korea Rules Against Apple Over App Store Payment Rules
South Korea Rules Against Apple Over App Store Payment Rules
1 hour ago
iOS 27.2 Adds Selfie-Based Age Verification
iOS 27.2 Adds Selfie-Based Age Verification
3 hours ago
Beats 360 Get First Price Drop Alongside Return of Record Low for AirPods 4
Beats 360 Get First Price Drop Alongside Return of Record Low for AirPods 4
3 hours ago
Apple Raises MacBook Neo's Starting Price to $649 on Education Store
Apple Raises MacBook Neo's Starting Price to $649 on Education Store
3 hours ago
MacBook Studio?
MacBook Studio?
4 hours ago
Apple CEO John Ternus Teases Touchscreen MacBooks: 12 Final Rumors
Apple CEO John Ternus Teases Touchscreen MacBooks: 12 Final Rumors
4 hours ago
Touchscreen MacBook Pro's New Hinge Linked to iPhone Duo 2
Touchscreen MacBook Pro's New Hinge Linked to iPhone Duo 2
5 hours ago
macOS 27 Assets Hint at Dynamic Island for MacBook Pro
macOS 27 Assets Hint at Dynamic Island for MacBook Pro
6 hours ago
Touchscreen MacBook Pro to Debut Today With These 5 Features
Touchscreen MacBook Pro to Debut Today With These 5 Features
7 hours ago
Apple to Open Pre-Orders for Five New Products Today
Apple to Open Pre-Orders for Five New Products Today
8 hours ago
MacPaw Launches 'Eney' AI Assistant for Mac and iPhone
MacPaw Launches 'Eney' AI Assistant for Mac and iPhone
10 hours ago
Apple Shares New Apple Watch Survival Stories
Apple Shares New Apple Watch Survival Stories
18 hours ago
Apple Shares tvOS 27.2 Release Notes With List of New Features
Apple Shares tvOS 27.2 Release Notes With List of New Features
18 hours ago
OLED Touchscreen MacBook Pro Could Start at $2,899
OLED Touchscreen MacBook Pro Could Start at $2,899
19 hours ago
M6 iMac Sticks With Its Five-Year-Old Color Lineup
M6 iMac Sticks With Its Five-Year-Old Color Lineup
21 hours ago
ChatGPT Can Now Access Your iCloud Mail and Calendar
ChatGPT Can Now Access Your iCloud Mail and Calendar
22 hours ago
Best Buy Details Black Friday Plans With Early Deals Available on Halloween
Best Buy Details Black Friday Plans With Early Deals Available on Halloween
1 day ago
Apple Reportedly Plans to Release MacBook Neo 2 in First Half of 2027
Apple Reportedly Plans to Release MacBook Neo 2 in First Half of 2027
1 day ago
M5 vs. M6 MacBook Pro Buyer's Guide: All Differences Compared
M5 vs. M6 MacBook Pro Buyer's Guide: All Differences Compared
1 day ago
New iMac Available With 2.5 Gigabit Ethernet Port on Power Adapter
New iMac Available With 2.5 Gigabit Ethernet Port on Power Adapter
1 day ago
M4 vs. M6 iMac Buyer's Guide: Should You Upgrade?
M4 vs. M6 iMac Buyer's Guide: Should You Upgrade?
1 day ago
Apple Expected to Announce MacBook Pro With Touchscreen Tomorrow
Apple Expected to Announce MacBook Pro With Touchscreen Tomorrow
1 day ago
Banktivity Offers 30% Off First Year Subscriptions for MacRumors Readers
Banktivity Offers 30% Off First Year Subscriptions for MacRumors Readers
1 day ago
M6 MacBook Pro's 170GB/s Memory Bandwidth Skips Base 16GB Model
M6 MacBook Pro's 170GB/s Memory Bandwidth Skips Base 16GB Model
1 day ago
M6 iMac Pre-Orders and Release Date Announced
M6 iMac Pre-Orders and Release Date Announced
1 day ago
Apple Updates Creator Studio With New Tools and AI Features
Apple Updates Creator Studio With New Tools and AI Features
1 day ago
M6 14-Inch MacBook Pro: Pre-Orders and Release Date Announced
M6 14-Inch MacBook Pro: Pre-Orders and Release Date Announced
1 day ago