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...
ipod nano 7 ios project

iPod Nano Can Finally Run iOS

Sunday November 29, 2026 10:10 am PST by
A new, unofficial software project allows Apple's seventh-generation iPod nano to run iOS and classic iPhone apps. Despite looking like a miniature iPod touch, the device originally ran its own operating system with an unusual, iOS 6-like interface and round app icons, without support for iPhone apps. At just 5.4mm thick and weighing 31 grams, it remains Apple's thinnest standalone device...
apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...

Top Rated Comments

82 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
82 months ago
This is why we can’t have nice things 😂
Score: 11 Votes (Like | Disagree)
82 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
82 months ago
Can't blame the non-tech savy people for this one.
Score: 6 Votes (Like | Disagree)
lostngone Avatar
82 months ago
Good thing I never migrated to Xcode... CodeWarrior Pro 4 is the only way to compile!
Score: 6 Votes (Like | Disagree)
82 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
Tim Cook and John Ternus Pay Tribute to Warren Buffett
Tim Cook and John Ternus Pay Tribute to Warren Buffett
1 hour ago
Disney Finishes Merging Disney+ and Hulu Apps
Disney Finishes Merging Disney+ and Hulu Apps
2 hours ago
Meta Working on New 'IRL' Social App
Meta Working on New 'IRL' Social App
3 hours ago
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
4 hours ago
Honda Vehicles Could Soon Support iPhone Car Keys
Honda Vehicles Could Soon Support iPhone Car Keys
5 hours ago
Anthropic Launches Claude App for Apple Watch
Anthropic Launches Claude App for Apple Watch
6 hours ago
Apple Releases Firmware Update for Beats 360
Apple Releases Firmware Update for Beats 360
7 hours ago
YouTube Recap 2026 Now Available: How to See Yours
YouTube Recap 2026 Now Available: How to See Yours
7 hours ago
Meta Launches $299 Muse Charm
Meta Launches $299 Muse Charm
8 hours ago
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
8 hours ago
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
10 hours ago
iOS 27.3 Will Let You Buy App Subscriptions for Groups
iOS 27.3 Will Let You Buy App Subscriptions for Groups
11 hours ago
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
11 hours ago
Get These Black Friday/Cyber Monday Apple Deals Before They're Gone
Get These Black Friday/Cyber Monday Apple Deals Before They're Gone
12 hours ago
North Carolina Delays Mobile ID Rollout Until Spring 2027
North Carolina Delays Mobile ID Rollout Until Spring 2027
12 hours ago
iPhone 18 Downgrades Could Blur the Line With Cheaper iPhone 18e
iPhone 18 Downgrades Could Blur the Line With Cheaper iPhone 18e
12 hours ago
Apple's Battersea Christmas Display Project Returns
Apple's Battersea Christmas Display Project Returns
14 hours ago
iPhone 18 and iPhone 18e Rumored to Share A20 Chip and 9GB RAM
iPhone 18 and iPhone 18e Rumored to Share A20 Chip and 9GB RAM
14 hours ago
iPhone 18e Could Feature Dynamic Island
iPhone 18e Could Feature Dynamic Island
14 hours ago
PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]
PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]
1 day ago
Google Adding AI Training Opt-Out for Search History
Google Adding AI Training Opt-Out for Search History
1 day ago
Anthropic Delays Next Claude Model, Wants Rivals to Follow
Anthropic Delays Next Claude Model, Wants Rivals to Follow
1 day ago
Spyware Disguised as Network Test App Hid in App Store for Months
Spyware Disguised as Network Test App Hid in App Store for Months
1 day ago
HomePod Mini 2 Supports Siri AI With Latest Betas
HomePod Mini 2 Supports Siri AI With Latest Betas
1 day ago
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
1 day ago
Apple Releases Third Betas of iOS 27.3 and iPadOS 27.3
Apple Releases Third Betas of iOS 27.3 and iPadOS 27.3
1 day ago
Apple Releases Third watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
Apple Releases Third watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
1 day ago
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
1 day ago
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
1 day ago
Best Cyber Monday Accessory Discounts From Amazon, Anker, Sonos, and More
Best Cyber Monday Accessory Discounts From Amazon, Anker, Sonos, and More
1 day ago