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...
MacBook Neo 2 on Yellow Feature

Apple Reportedly Plans to Release These Products in February or March

Sunday November 22, 2026 7:32 am PST by
Apple plans to unveil an iPhone 18e, iPhone 18, updated entry-level iPad, and new MacBook Neo and MacBook Air models around February or March next year, according to the latest word from Bloomberg's Mark Gurman. In his Power On newsletter today, Gurman said Apple has some additional products planned for the first half of 2027, including the iPhone Air 2 and new iPad Air and iPad Pro models,...
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

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
Google Search Gets Wallet Access, With Drive Coming Soon
Google Search Gets Wallet Access, With Drive Coming Soon
53 minutes ago
Apple Store With All-New Design Opening in UK Next Month
Apple Store With All-New Design Opening in UK Next Month
2 hours ago
Apple Announces 'Ted Lasso' Renewed for Fifth Season
Apple Announces 'Ted Lasso' Renewed for Fifth Season
2 hours ago
MacBook Neo Sees Record Low $599 Price in Latest Black Friday Sale ($100 Off)
MacBook Neo Sees Record Low $599 Price in Latest Black Friday Sale ($100 Off)
3 hours ago
Grab an AirTag 2 for Just $18 at Best Buy and Amazon
Grab an AirTag 2 for Just $18 at Best Buy and Amazon
3 hours ago
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
Apple Bringing Back (PRODUCT)RED With Red HomePod Mini 2 and AirPods Max 2
4 hours ago
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
Best Black Friday Streaming Deals on Apple TV, Peacock, HBO Max, and More
4 hours ago
Threads is Getting an iPad App
Threads is Getting an iPad App
4 hours ago
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor
5 hours ago
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
A Decade Later, Apple Remains Berkshire's Biggest Stock Bet
6 hours ago
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
Black Friday Video Game Deals Include Rare Sale on Nintendo Switch 2 Mario Kart World Bundle
7 hours ago
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
M5 MacBook Air Now Starts at $989.10 for Black Friday, Get Up to $310 Off
7 hours ago
Apple Wallet Driver's License Feature Coming to Connecticut
Apple Wallet Driver's License Feature Coming to Connecticut
7 hours ago
Coalition of 55,000 EU Businesses Challenges Apple
Coalition of 55,000 EU Businesses Challenges Apple
8 hours ago
Apple Watch Series 12 Drops to $299 on Amazon
Apple Watch Series 12 Drops to $299 on Amazon
8 hours ago
Apple May Be Stuck With Samsung for iPhone Duo Screens
Apple May Be Stuck With Samsung for iPhone Duo Screens
8 hours ago
Jensen Huang Reinstated as Nvidia CEO
Jensen Huang Reinstated as Nvidia CEO
9 hours ago
iPhone Air 2 May Not Feature Smaller Dynamic Island
iPhone Air 2 May Not Feature Smaller Dynamic Island
10 hours ago
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
iPad Mini 8 Gets First Major Discount for Black Friday at $100 Off
10 hours ago
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
AirPods Pro 3 Plunge to $149 for Black Friday ($100 Off)
10 hours ago
Apple Explores Using Light to Move Data Between Server Chips
Apple Explores Using Light to Move Data Between Server Chips
11 hours ago
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
iPhone Sales Ban in India Sought by Startup Over NameDrop Feature
11 hours ago
MacBook Neo Could Get New Colors and Upgrades Every Year
MacBook Neo Could Get New Colors and Upgrades Every Year
12 hours ago
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
AirPods Pro 3 Drop to $169.99 in Amazon Black Friday Sale
1 day ago
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
iPhone Duo Could Get More Lock Screen Widgets, Leak Suggests
1 day ago
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
Gurman: Siri Layoffs Spared Newer AI Systems, But Problems Persist
1 day ago
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
M6 MacBook Pro Drops to $1,799 in New Black Friday Sale ($200 Off)
1 day ago
Apple Reportedly Plans to Release These Products in February or March
Apple Reportedly Plans to Release These Products in February or March
1 day ago
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
Apple Watch SE 3 Lineup Sees Record Low Prices Starting at Just $179
1 day ago
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
Apple Black Friday Deals Available Now: AirPods, Apple Watches, MacBooks, and More
4 hours ago