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...
iOS 18 Siri Personal Context

Siri AI Settlement Website Now Live: Apple to Pay Some iPhone Owners

Sunday September 20, 2026 7:24 pm PDT by
In May, Apple agreed to pay $250 million to settle a U.S. class action lawsuit over Siri AI's delayed launch, and the settlement website is now live. Apple will pay an estimated $25 per eligible iPhone to eligible customers, who can submit a claim via the settlement website between September 21 and December 21 of this year. The exact payment may be higher or lower than $25 depending on the...
iOS 26 Home Feature

Apple Will Soon Announce an All-New Operating System

Tuesday September 22, 2026 9:19 am PDT by
Apple is developing an all-new operating system that is essentially a mix of tvOS, watchOS, and iOS, according to Bloomberg's Mark Gurman. In his latest Power On newsletter, Gurman reiterated that the operating system will feature a grid of app icons, widgets, and customizable clock faces. The new software platform is intended for Apple's long-rumored smart home hub. With built-in facial...

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
New Mac Mini Has Two Storage Downsides, Including Unremovable SSD
New Mac Mini Has Two Storage Downsides, Including Unremovable SSD
6 hours ago
Apple Card Savings Account's Interest Rate Just Went Up
Apple Card Savings Account's Interest Rate Just Went Up
7 hours ago
Apple Releases First Public Betas of iOS 27.2 and macOS Golden Gate 27.2
Apple Releases First Public Betas of iOS 27.2 and macOS Golden Gate 27.2
11 hours ago
OpenAI's New GPT-6 Sol and Luna Models Bring Astra Improvements to Cheaper Tiers
OpenAI's New GPT-6 Sol and Luna Models Bring Astra Improvements to Cheaper Tiers
13 hours ago
Apple Park Visitor Center Just Lost an Attraction Offered Since 2017
Apple Park Visitor Center Just Lost an Attraction Offered Since 2017
14 hours ago
Shazam App for iPhone Updated With New Icon and iMessage Stickers
Shazam App for iPhone Updated With New Icon and iMessage Stickers
14 hours ago
Anthropic Launches Claude Opus 5.5 With Fable-Level Performance at a Lower Price
Anthropic Launches Claude Opus 5.5 With Fable-Level Performance at a Lower Price
14 hours ago
Apple Releases Firmware Update for Beats 360
Apple Releases Firmware Update for Beats 360
16 hours ago
Beats 360 Pre-Orders Open at Amazon With Cushion Kits on Sale, Plus More Beats Deals
Beats 360 Pre-Orders Open at Amazon With Cushion Kits on Sale, Plus More Beats Deals
16 hours ago
Apple Puts AirTag-Sized AI Pin on Hold
Apple Puts AirTag-Sized AI Pin on Hold
16 hours ago
Beats 360 Ear Cushion Kits Just $9.99 Each Until the End of October
Beats 360 Ear Cushion Kits Just $9.99 Each Until the End of October
17 hours ago
Apple Testing Prototypes of Whoop-Like Screenless Fitness Band
Apple Testing Prototypes of Whoop-Like Screenless Fitness Band
17 hours ago
Apple Will Soon Announce an All-New Operating System
Apple Will Soon Announce an All-New Operating System
17 hours ago
Apple Watch Series 10 vs. Series 12 Buyer's Guide: Should You Upgrade?
Apple Watch Series 10 vs. Series 12 Buyer's Guide: Should You Upgrade?
18 hours ago
Apple's Smart Glasses to Enter a Rapidly Growing Market
Apple's Smart Glasses to Enter a Rapidly Growing Market
18 hours ago
Apple Event This October? These 7 New Products Expected Next Month
Apple Event This October? These 7 New Products Expected Next Month
18 hours ago
Beats 360 Deliver Customizability and a Revamped Over-Ear Headphone Design
Beats 360 Deliver Customizability and a Revamped Over-Ear Headphone Design
20 hours ago
Massive Discounts Hit 2026 MacBook Pro, Save Up to $600 on Amazon
Massive Discounts Hit 2026 MacBook Pro, Save Up to $600 on Amazon
20 hours ago
Apple Planning to Bring iPhone Duo Display Tech to Pro in 2029
Apple Planning to Bring iPhone Duo Display Tech to Pro in 2029
20 hours ago
Apple Announces 'Tap to Pay on iPhone' Availability in 8 More Countries
Apple Announces 'Tap to Pay on iPhone' Availability in 8 More Countries
20 hours ago
New Mac Mini and Mac Studio Now Available for Same-Day Pickup at Apple Stores
New Mac Mini and Mac Studio Now Available for Same-Day Pickup at Apple Stores
22 hours ago
Apple Still Working on Anti-Snatching Feature That Locks Stolen iPhones
Apple Still Working on Anti-Snatching Feature That Locks Stolen iPhones
22 hours ago
Apple Quietly Excludes Older iPhones From New Camera Feature
Apple Quietly Excludes Older iPhones From New Camera Feature
1 day ago
App Switcher Returns in watchOS 27.2 Beta With New Launch Gesture
App Switcher Returns in watchOS 27.2 Beta With New Launch Gesture
1 day ago
Apple Music Hall Spatial Audio Venue Opens in Battersea Power Station
Apple Music Hall Spatial Audio Venue Opens in Battersea Power Station
1 day ago
Apple CEO John Ternus Talks iPhone Duo Design, Siri AI, and Becoming CEO
Apple CEO John Ternus Talks iPhone Duo Design, Siri AI, and Becoming CEO
1 day ago
You Can No Longer Downgrade From iOS 27 to iOS 26
You Can No Longer Downgrade From iOS 27 to iOS 26
1 day ago
macOS 27.2 Beta Brings New Volume and Brightness Sliders
macOS 27.2 Beta Brings New Volume and Brightness Sliders
2 days ago
GM Wants You to Know It Still Plans to Ditch Apple CarPlay in Future EVs
GM Wants You to Know It Still Plans to Ditch Apple CarPlay in Future EVs
2 days ago
iPhone 14 Pro vs. iPhone 18 Pro Buyer's Guide: Should You Upgrade?
iPhone 14 Pro vs. iPhone 18 Pro Buyer's Guide: Should You Upgrade?
2 days ago