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...
M5 MacBook Pro

RIP, MacBook Ultra

Monday October 19, 2026 9:37 am PDT by
Apple today sent out invites for an experience in Los Angeles on Wednesday, October 28, and the "Pro and tell" tagline on the invitation likely means that the rumored MacBook models with touch-enabled OLED displays will stick with MacBook Pro branding instead of the once-rumored "MacBook Ultra" name. The long-rumored "iPhone Ultra" ended up being named iPhone Duo, so speculation that Apple...
iphone duo standby

Apple Retail Staff Told to Warn Against iPhone Duo Walk-In Purchases

Saturday October 17, 2026 2:30 pm PDT by
Some Apple retail employees have been told to warn customers against visiting to purchase an iPhone Duo without a pre-order on Friday, October 23. Apple Store employees told MacRumors that they have been advised that there will likely be no iPhone Duo stock available for walk-in purchases on launch day. Staff have been instructed to discourage customers without pre-orders from coming in...

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
WhatsApp Developing In-App Browser for All Chat Links on iPhone
WhatsApp Developing In-App Browser for All Chat Links on iPhone
11 minutes ago
Apple's App Store Chief Explains Its Push for Premium Games
Apple's App Store Chief Explains Its Push for Premium Games
28 minutes ago
Apple Could Owe Even More After $5.7 Billion Patent Verdict
Apple Could Owe Even More After $5.7 Billion Patent Verdict
1 hour ago
Skyrim Comes to Apple Silicon Macs With New Unofficial Installer
Skyrim Comes to Apple Silicon Macs With New Unofficial Installer
2 hours ago
Apple Highlights Mac and iPad Use in Paris Design Exhibition
Apple Highlights Mac and iPad Use in Paris Design Exhibition
2 hours ago
Apple Seeks 6G Modem Engineers as It Plans for Post-5G iPhones
Apple Seeks 6G Modem Engineers as It Plans for Post-5G iPhones
5 hours ago
First iPhone Duo Unboxing Video Appears Ahead of Friday Launch
First iPhone Duo Unboxing Video Appears Ahead of Friday Launch
5 hours ago
Perplexity Computer Can Now Run Fully Locally on Mac
Perplexity Computer Can Now Run Fully Locally on Mac
6 hours ago
Apple's Touchscreen OLED MacBook Pro: Everything We Know
Apple's Touchscreen OLED MacBook Pro: Everything We Know
9 hours ago
iPad Mini 8 Expected Next Week With These 10 New Features
iPad Mini 8 Expected Next Week With These 10 New Features
9 hours ago
Here's What Apple's Apps Look Like on the iPhone Duo
Here's What Apple's Apps Look Like on the iPhone Duo
10 hours ago
iOS 27.3 May Expand RCS Support to Australia's Telstra in December
iOS 27.3 May Expand RCS Support to Australia's Telstra in December
12 hours ago
New Apple TV 4K Features 'Whole Room Audio' With Four HomePods
New Apple TV 4K Features 'Whole Room Audio' With Four HomePods
14 hours ago
Apple Now Sells DIY Repair Parts for iPhone 18 Pro and Two New Macs
Apple Now Sells DIY Repair Parts for iPhone 18 Pro and Two New Macs
14 hours ago
Amazon's HomeView Pre-Order Discount Returns, Plus Save on Apple TV 4K
Amazon's HomeView Pre-Order Discount Returns, Plus Save on Apple TV 4K
15 hours ago
Apple Says Mac Mini Assembly in U.S. to Begin Later This Year
Apple Says Mac Mini Assembly in U.S. to Begin Later This Year
15 hours ago
Apple Says Nearly 100 iPhone Duo and iPhone 18 Pro Parts Made in USA
Apple Says Nearly 100 iPhone Duo and iPhone 18 Pro Parts Made in USA
15 hours ago
Apple Watch Ultra 3 Hits New Low Price With Amazon's $299 Discount [Updated]
Apple Watch Ultra 3 Hits New Low Price With Amazon's $299 Discount [Updated]
15 hours ago
Apple's October 28 'Pro and Tell' Launch: What's Coming
Apple's October 28 'Pro and Tell' Launch: What's Coming
1 day ago
Apple Limiting U.S. iPhone Duo Orders to Two Per Customer
Apple Limiting U.S. iPhone Duo Orders to Two Per Customer
1 day ago
Apple Buys AI Audio Editing App Samplab
Apple Buys AI Audio Editing App Samplab
1 day ago
EFF's Privacy Badger Anti-Tracking Extension Expands to Safari
EFF's Privacy Badger Anti-Tracking Extension Expands to Safari
1 day ago
HomePod 27.2 Adds Sound Glow to Existing HomePod Models
HomePod 27.2 Adds Sound Glow to Existing HomePod Models
1 day ago
Apple Starts Moving Up iPhone Duo Delivery Dates
Apple Starts Moving Up iPhone Duo Delivery Dates
1 day ago
tvOS 27.2 RC Lays Groundwork for HomePod Surround Sound
tvOS 27.2 RC Lays Groundwork for HomePod Surround Sound
1 day ago
Apple Says iPhone Duo Not Available on Walk-In Basis in Three Countries
Apple Says iPhone Duo Not Available on Walk-In Basis in Three Countries
1 day ago
Apple Seeds macOS Golden Gate 27.2 Release Candidate to Developers
Apple Seeds macOS Golden Gate 27.2 Release Candidate to Developers
1 day ago
Apple Releases iOS 27.2 Release Candidate
Apple Releases iOS 27.2 Release Candidate
1 day ago
Apple Seeds watchOS 27.2, tvOS 27.2 and visionOS 27.2 Release Candidates
Apple Seeds watchOS 27.2, tvOS 27.2 and visionOS 27.2 Release Candidates
1 day ago
Samsung Slashes Prices on Frame TVs With Biggest Savings Yet for 2026 Models
Samsung Slashes Prices on Frame TVs With Biggest Savings Yet for 2026 Models
1 day ago