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

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...
apple pro tell logo

Apple Launching Five New Products This Friday

Monday November 2, 2026 1:22 am PST by
Apple is releasing five new products this Friday, November 6, following pre-orders that opened last week, including its first touchscreen MacBook Pro models. The following new products will be available from Friday: iPad mini with OLED display and A20 Pro chip iMac with M6 chip 14-inch MacBook Pro with M6 chip 14-inch MacBook Pro with OLED touchscreen 16-inch MacBook Pro with OLED...
iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....

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
Apple Requiring Developers to Disclose Location Sharing and Dating Features in Apps
Apple Requiring Developers to Disclose Location Sharing and Dating Features in Apps
5 hours ago
Apple's Q4 2026 Earnings Call Takeaways
Apple's Q4 2026 Earnings Call Takeaways
5 hours ago
Apple Dodges Question on More Price Hikes as Memory Costs Climb
Apple Dodges Question on More Price Hikes as Memory Costs Climb
6 hours ago
Apple CEO Ternus Says iPhone Duo Shortages Have No End Date in Sight
Apple CEO Ternus Says iPhone Duo Shortages Have No End Date in Sight
8 hours ago
Apple Reports 4Q 2026 Results: $30.7B Profit on $114.5B Revenue
Apple Reports 4Q 2026 Results: $30.7B Profit on $114.5B Revenue
8 hours ago
Early Black Friday Brings Steep Price Drops on Apple's Latest iPhone Cases
Early Black Friday Brings Steep Price Drops on Apple's Latest iPhone Cases
11 hours ago
John Ternus Hosting His First Earnings Call as Apple CEO Today
John Ternus Hosting His First Earnings Call as Apple CEO Today
12 hours ago
Here's What Spotify Looks Like on Apple's HomeView
Here's What Spotify Looks Like on Apple's HomeView
13 hours ago
iOS 27.2.1 Coming Soon, iOS 27.3 Beta Likely Available Tomorrow
iOS 27.2.1 Coming Soon, iOS 27.3 Beta Likely Available Tomorrow
13 hours ago
Mark Gurman: Apple Initially Aimed to Release iPhone Duo in November
Mark Gurman: Apple Initially Aimed to Release iPhone Duo in November
14 hours ago
Best Early Black Friday Deals on Apple Products Available Now
Best Early Black Friday Deals on Apple Products Available Now
14 hours ago
Apple Isn't Done With 2026: Here's What's Still Coming
Apple Isn't Done With 2026: Here's What's Still Coming
14 hours ago
Apple 'HomeView Ultra' With 9-Inch 360º Screen Detailed in New Report
Apple 'HomeView Ultra' With 9-Inch 360º Screen Detailed in New Report
15 hours ago
Apple TV 4K Pre-Order Discount Returns at Amazon
Apple TV 4K Pre-Order Discount Returns at Amazon
15 hours ago
Zoom and These Microsoft Apps Now Optimized for iPhone Duo
Zoom and These Microsoft Apps Now Optimized for iPhone Duo
15 hours ago
Canva Brings Free All-in-One Affinity App to iPad
Canva Brings Free All-in-One Affinity App to iPad
16 hours ago
iPhone Duo: Latest Buyer Wait Times
iPhone Duo: Latest Buyer Wait Times
17 hours ago
iPhone Duo Owners Can't Change Display Zoom After Setup
iPhone Duo Owners Can't Change Display Zoom After Setup
13 hours ago
Apple HomeView Could Double as a Security Camera
Apple HomeView Could Double as a Security Camera
20 hours ago
Apple Launching Five New Products This Friday
Apple Launching Five New Products This Friday
20 hours ago
Nearly Every M5 MacBook Air Now $200 Off on Amazon
Nearly Every M5 MacBook Air Now $200 Off on Amazon
2 days ago
Apple's HomeView Ships With Six-Month-Old Software
Apple's HomeView Ships With Six-Month-Old Software
2 days ago
Three New iPads Rumored to Launch in First Half of 2027
Three New iPads Rumored to Launch in First Half of 2027
2 days ago
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
Apple Offers Steps to Fix Daylight Saving Time Bug on Apple Watch
2 days ago
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
3 days ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
3 days ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
3 days ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
3 days ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
3 days ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
3 days ago