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.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...
iOS 28 AI

Apple Taking New Approach to Developing iOS 28 and macOS 28

Sunday November 8, 2026 7:42 am PST by
Apple has made a change to its development process for iOS 28, macOS 28, and corresponding software updates, according to Bloomberg's Mark Gurman. In his Power On newsletter today, he said Apple separates development of each year's new operating systems into three major stages. Typically, he said each stage consists of four weeks of coding followed by a four-week "convergence" period where...
apple pro tell logo

Apple Launching Two More New Products This Friday

Monday November 9, 2026 4:22 am PST by
The Apple launches keep coming! The company is set to release two new products on Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and...

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
'Apple Support Community' Permanently Closing on November 20
'Apple Support Community' Permanently Closing on November 20
4 hours ago
Apple's Holiday Gift Guide Highlights iPhone Duo and More
Apple's Holiday Gift Guide Highlights iPhone Duo and More
7 hours ago
Three Workers Die at Tata iPhone Parts Plant in India
Three Workers Die at Tata iPhone Parts Plant in India
7 hours ago
iCloud Mail, Calendar, Contacts and More Experiencing Outage [Updated]
iCloud Mail, Calendar, Contacts and More Experiencing Outage [Updated]
8 hours ago
Apple's Claris Testing 'Harbor' App for Local AI on Macs
Apple's Claris Testing 'Harbor' App for Local AI on Macs
8 hours ago
iFixit's PROLED MacBook Pro Teardown Reveals Logo LEDs
iFixit's PROLED MacBook Pro Teardown Reveals Logo LEDs
10 hours ago
10 Free iPhone Duo Apps Worth Downloading
10 Free iPhone Duo Apps Worth Downloading
11 hours ago
Apple Releases New AirPods Firmware
Apple Releases New AirPods Firmware
12 hours ago
Amazon Begins Early Black Friday Sale, Featuring Sitewide Discounts on Tech and Decor
Amazon Begins Early Black Friday Sale, Featuring Sitewide Discounts on Tech and Decor
14 hours ago
Apple Announces Swift Student Challenge Ahead of WWDC 2027
Apple Announces Swift Student Challenge Ahead of WWDC 2027
14 hours ago
Next iPad Air Likely to Have These 10 New Features
Next iPad Air Likely to Have These 10 New Features
14 hours ago
iPad Mini 2021 vs. 2026 Buyer's Guide: Is It Worth Upgrading?
iPad Mini 2021 vs. 2026 Buyer's Guide: Is It Worth Upgrading?
15 hours ago
New Apple TV Sign Language Feature Announced
New Apple TV Sign Language Feature Announced
15 hours ago
Disable Touch on MacBook Pro PROLED XDR and When Using Sidecar
Disable Touch on MacBook Pro PROLED XDR and When Using Sidecar
16 hours ago
Anker's Early Black Friday Sale Surprises With Mystery Boxes and Big Discounts
Anker's Early Black Friday Sale Surprises With Mystery Boxes and Big Discounts
16 hours ago
Apple Arcade Adding These Four Games in December
Apple Arcade Adding These Four Games in December
16 hours ago
OLED iPad Air Rumored to Launch in Two Sizes in Early 2027
OLED iPad Air Rumored to Launch in Two Sizes in Early 2027
18 hours ago
The Original iPod Went on Sale 25 Years Ago Today
The Original iPod Went on Sale 25 Years Ago Today
19 hours ago
Apple Maps Could Factor Parking Into Your Arrival Time
Apple Maps Could Factor Parking Into Your Arrival Time
20 hours ago
Waze Now Alerts Drivers to Nearby Cyclists Using Garmin LiveTrack
Waze Now Alerts Drivers to Nearby Cyclists Using Garmin LiveTrack
20 hours ago
iPhone 20 Pro: Ten Big Changes That Could Redefine Apple's Flagship
iPhone 20 Pro: Ten Big Changes That Could Redefine Apple's Flagship
20 hours ago
Here's What Apple Fixed in iOS 27.2.1 and macOS 27.2.1
Here's What Apple Fixed in iOS 27.2.1 and macOS 27.2.1
1 day ago
Webex Gets iPhone Duo Support
Webex Gets iPhone Duo Support
1 day ago
Meta's Muse AI Agent Comes to Apple Watch
Meta's Muse AI Agent Comes to Apple Watch
1 day ago
Anker Launches Eufy Security Cam With Auto-Tracking Light
Anker Launches Eufy Security Cam With Auto-Tracking Light
1 day ago
macOS 27.2.1 Fixes eMudhra Certificate Flaw in Command-Line Tools
macOS 27.2.1 Fixes eMudhra Certificate Flaw in Command-Line Tools
1 day ago
Anthropic Launches Claude Fable 5.2 and Mythos 5.2
Anthropic Launches Claude Fable 5.2 and Mythos 5.2
2 days ago
Apple Releases macOS Golden Gate 27.2.1
Apple Releases macOS Golden Gate 27.2.1
2 days ago
Apple Releases iOS 27.2.1 With Bug Fixes
Apple Releases iOS 27.2.1 With Bug Fixes
2 days ago
Apple Releases watchOS 27.2.1 and visionOS 27.2.1 With Security Fixes
Apple Releases watchOS 27.2.1 and visionOS 27.2.1 With Security Fixes
2 days ago