Security Researchers Discover XcodeSpy Malware That Targets Developers - MacRumors
Skip to Content

Security Researchers Discover XcodeSpy Malware That Targets Developers

Developers need to look out for "XcodeSpy," a malicious Xcode project that installs a custom variant of the "EggShell" backdoor on a macOS computer, according to new research shared today by SentinelOne (via Ars Technica).

iu 2 1
Xcode is software designed for developers who want to write apps for the iOS and macOS platforms, and the malicious project that's circulating mirrors TabBarInteraction, a legitimate open source project.

Developers who download the XcodeSpy project think they're getting TabBarInteraction, but the malware includes a hidden "run Script" executable that downloads and installs the EggShell open source back door that's able to spy on users through the microphone, camera, and keyboard as well as upload and download files.

Two variants of the custom EggShell attack were found to be uploaded in Japan, first in August and then in October, so this is an attack that's been out in the wild for some time.

We have thus far been unable to discover other samples of trojanized Xcode projects and cannot gauge the extent of this activity. However, the timeline from known samples and other indicators mentioned below suggest that other XcodeSpy projects may exist. By sharing details of this campaign, we hope to raise awareness of this attack vector and highlight the fact that developers are high-value targets for attackers.

SentinelOne says that all Apple Developers that use Xcode should exercise caution when using shared Xcode projects.

Tag: Xcode

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...
iPhone Duo Outer Display Hand

Apple Aiming to Upgrade the iPhone Duo in Four Ways

Sunday November 15, 2026 8:42 am PST by
Bloomberg's Mark Gurman today said Apple has four goals for future iPhone Duo models: Face ID, an Action button, a telephoto camera, and a thinner-and-lighter design. Gurman said Apple has already developed iPhone Duo 2 prototypes with Face ID on the outer display, but it is "running out of time" to finalize the feature for that model, so it might not arrive until the iPhone Duo...
Apple Health AI Study App Feature

Apple Just Released a New App

Monday November 16, 2026 9:43 am PST by
Apple today launched a new research study in the U.S. to explore the use of AI for health, and it has released a dedicated iPhone app for participants. In a press release, Apple said the study and app are "designed to advance the understanding of how people interact with conversational health AI tools." The Apple Health AI Study App contains a generative AI chatbot that participants can...

Top Rated Comments

jonnysods Avatar
74 months ago
Get ready for lots of Justin Long Intel videos about this next week.
Score: 9 Votes (Like | Disagree)
Apple_Robert Avatar
74 months ago

Laughing on my Linux developer laptop.
What is so funny? It's not like Linux hasn't had Malware problems.
Score: 7 Votes (Like | Disagree)
I7guy Avatar
74 months ago
Comes under the heading, be very careful about what you download.
Score: 6 Votes (Like | Disagree)
hot-gril Avatar
74 months ago

Why is it being called a Trojan when it has to be actively installed?
Cause that's what trojans are.
Score: 5 Votes (Like | Disagree)
hot-gril Avatar
74 months ago

Comes under the heading, be very careful about what you download.
Xcode does warn you when opening an xcodeproj downloaded from the Internet, but given how frequently you legitimately have to open and build random projects, I wish there were better sandboxing. The "run script" phase runs arbitrary code, ofc necessary when building many things but also an attack vector.

Edit: And even if you're not manually opening/building projects, you're probably using Cocoapods, which is. Of course other dev platforms have similar risks.
Score: 4 Votes (Like | Disagree)
Unsupported Avatar
74 months ago

Why is it being called a Trojan when it has to be actively installed?
https://usa.kaspersky.com/resource-center/threats/trojans

A Trojan horse or Trojan is a type of malware that is often disguised as legitimate software. Trojans can be employed by cyber-thieves and hackers trying to gain access to users' systems. Users are typically tricked by some form of social engineering into loading and executing Trojans on their systems. Once activated, Trojans can enable cyber-criminals to spy on you, steal your sensitive data, and gain backdoor access to your system. These actions can include:

•Deleting data
•Blocking data
•Modifying data
•Copying data
•Disrupting the performance of computers or computer networks


Modifying data?

So it could infect the project that the developer is working on?

Nasty!
Score: 3 Votes (Like | Disagree)
Latest Stories
Target's Early Black Friday Event Offers Savings on Apple, TVs, and Accessories
Target's Early Black Friday Event Offers Savings on Apple, TVs, and Accessories
12 minutes ago
Apple Announces 2026 App Store Award Finalists
Apple Announces 2026 App Store Award Finalists
39 minutes ago
Amazon Offering $100 Off Nearly All M4 iPad Air Models
Amazon Offering $100 Off Nearly All M4 iPad Air Models
56 minutes ago
iPhone Duo 2 Likely to Retain Touch ID as Face ID Remains Uncertain
iPhone Duo 2 Likely to Retain Touch ID as Face ID Remains Uncertain
1 hour ago
Apple Releases Firmware Update for New Siri Remote
Apple Releases Firmware Update for New Siri Remote
1 hour ago
Amazon Takes $850 Off 2026 16-Inch MacBook Pro With M5 Max Chip
Amazon Takes $850 Off 2026 16-Inch MacBook Pro With M5 Max Chip
2 hours ago
WhatsApp's iCloud Backup Alternative Rolls Out to Beta Users on iPhone
WhatsApp's iCloud Backup Alternative Rolls Out to Beta Users on iPhone
2 hours ago
MacPaw's Moonlock Cybersecurity App Launches for iPhone
MacPaw's Moonlock Cybersecurity App Launches for iPhone
3 hours ago
Apple Reportedly Developing Two Designs for 20th Anniversary iPhone
Apple Reportedly Developing Two Designs for 20th Anniversary iPhone
3 hours ago
Apple Rolls Out All-New Maps Experience Across India
Apple Rolls Out All-New Maps Experience Across India
3 hours ago
iPhone Air 2 Reportedly Sticks With Same Display
iPhone Air 2 Reportedly Sticks With Same Display
4 hours ago
iPhone 18 and iPhone Air 2 Display Production to Begin Soon Ahead of Expected March Launch
iPhone 18 and iPhone Air 2 Display Production to Begin Soon Ahead of Expected March Launch
4 hours ago
Aqara Debuts Six Matter Smart Lights That Work With Apple Home
Aqara Debuts Six Matter Smart Lights That Work With Apple Home
15 hours ago
Disney+ and Hulu Will Fully Merge Into One App in December
Disney+ and Hulu Will Fully Merge Into One App in December
16 hours ago
iFixit Says Apple's HomeView is Unnecessarily Hard to Repair
iFixit Says Apple's HomeView is Unnecessarily Hard to Repair
18 hours ago
Final Cut Pro Now Includes MotionVFX for Creator Studio Users
Final Cut Pro Now Includes MotionVFX for Creator Studio Users
19 hours ago
Apple Blames Internal Update for Outage, Says It Wasn't a Cyberattack
Apple Blames Internal Update for Outage, Says It Wasn't a Cyberattack
20 hours ago
Nomad Launches Black Friday Sale With Up to 30% Off Apple Accessories
Nomad Launches Black Friday Sale With Up to 30% Off Apple Accessories
21 hours ago
Google Wallet Available on iPhone, But Without Tap to Pay
Google Wallet Available on iPhone, But Without Tap to Pay
21 hours ago
Apple Accounts, App Store and Apple Music Experiencing Issues
Apple Accounts, App Store and Apple Music Experiencing Issues
22 hours ago
Apple Moves Ahead With Better Dual SIM Support for Apps
Apple Moves Ahead With Better Dual SIM Support for Apps
23 hours ago
Former Apple Chairman Plans to Sell $32 Million in Apple Stock
Former Apple Chairman Plans to Sell $32 Million in Apple Stock
23 hours ago
Apple Accused of Silencing iPhone Duo Supplier Over 'Crackgate' Issue
Apple Accused of Silencing iPhone Duo Supplier Over 'Crackgate' Issue
23 hours ago
Apple Store App Now Optimized for iPhone Duo
Apple Store App Now Optimized for iPhone Duo
1 day ago
Apple Says iCloud+ Plans Will Not Include Increased Siri AI Usage in UK
Apple Says iCloud+ Plans Will Not Include Increased Siri AI Usage in UK
1 day ago
Amazon Offering Early Black Friday Discounts on TVs, Headphones, and Charging Devices
Amazon Offering Early Black Friday Discounts on TVs, Headphones, and Charging Devices
1 day ago
Apple Now Sells DIY Repair Parts for iPhone Duo
Apple Now Sells DIY Repair Parts for iPhone Duo
1 day ago
iPhone 20 Pro Screen Protectors Show Rumored Curved Design
iPhone 20 Pro Screen Protectors Show Rumored Curved Design
1 day ago
MacBook Neo Black Friday Deals Arrive With $49 Discounts on Nearly Every Model at Amazon
MacBook Neo Black Friday Deals Arrive With $49 Discounts on Nearly Every Model at Amazon
1 day ago
iPhone Users Targeted in Major Website Security Breach
iPhone Users Targeted in Major Website Security Breach
1 day ago