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...
iOS 28 AI

Apple Taking New Approach to Developing iOS 28 and macOS 28

Sunday November 8, 2026 7:42 am PST by
Apple has made a change to its development process for iOS 28, macOS 28, and corresponding software updates, according to Bloomberg's Mark Gurman. In his Power On newsletter today, he said Apple separates development of each year's new operating systems into three major stages. Typically, he said each stage consists of four weeks of coding followed by a four-week "convergence" period where...
duo aquarium

More Fun iPhone Duo Apps: 30 New Picks to Try

Friday November 6, 2026 3:27 pm PST by
When the iPhone Duo launched, we shared a list of some of the fun apps developers created for the new form factor. Two weeks out, developers are continuing to come up with fresh ideas, so we thought we'd share some of our favorites. Games Marbles Unhinged ($2.99) - Marbles Unhinged is a marble maze designed for the Duo. When you fold it, the floor turns into a ramp. If you stand the top...

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 Releases macOS Golden Gate 27.2.1
Apple Releases macOS Golden Gate 27.2.1
46 minutes ago
Apple Releases iOS 27.2.1 With Bug Fixes
Apple Releases iOS 27.2.1 With Bug Fixes
50 minutes ago
Apple Releases watchOS 27.2.1 and visionOS 27.2.1 With Security Fixes
Apple Releases watchOS 27.2.1 and visionOS 27.2.1 With Security Fixes
52 minutes ago
Apple Watch Ultra 4 Gets $99 Amazon Discounts, Starting at $699.99
Apple Watch Ultra 4 Gets $99 Amazon Discounts, Starting at $699.99
1 hour ago
Apple Pay Ad Features Martial Arts Convenience Store Food Fight
Apple Pay Ad Features Martial Arts Convenience Store Food Fight
1 hour ago
Apple Continues to Say Some AI Features Will Have Fees for Extra Usage
Apple Continues to Say Some AI Features Will Have Fees for Extra Usage
1 hour ago
Apple Announces Türkiye Expansion Plans as Tim Cook Visits
Apple Announces Türkiye Expansion Plans as Tim Cook Visits
2 hours ago
Singapore Saved Apple $2.7 Billion in Taxes This Year
Singapore Saved Apple $2.7 Billion in Taxes This Year
3 hours ago
Apple Music's 2026 Artist of the Year is Olivia Dean
Apple Music's 2026 Artist of the Year is Olivia Dean
3 hours ago
This Could Be Your Last Chance to Pre-Order the HomeView at a Discount
This Could Be Your Last Chance to Pre-Order the HomeView at a Discount
3 hours ago
Some HomePod Mini 2 Buyers Returning Units Over Mac Speaker Issues
Some HomePod Mini 2 Buyers Returning Units Over Mac Speaker Issues
3 hours ago
MacBook Pro With PROLED XDR Display: Details You Might Have Missed
MacBook Pro With PROLED XDR Display: Details You Might Have Missed
4 hours ago
Satechi Offers MacRumors Readers 30% Off Select Accessories in Early Black Friday Sale
Satechi Offers MacRumors Readers 30% Off Select Accessories in Early Black Friday Sale
4 hours ago
Leaker Envisions a Shorter iPhone With a New iOS Layout
Leaker Envisions a Shorter iPhone With a New iOS Layout
4 hours ago
Apple to Give You More Control Over When Your Mac Passwords Lock
Apple to Give You More Control Over When Your Mac Passwords Lock
5 hours ago
Siri Is Getting a Better Memory
Siri Is Getting a Better Memory
6 hours ago
iPhone 18e Could Feature Bigger Display and Battery
iPhone 18e Could Feature Bigger Display and Battery
6 hours ago
Apple's Siri Boss May Leave - Here's Who Could Take Over
Apple's Siri Boss May Leave - Here's Who Could Take Over
6 hours ago
Apple Launching Two More New Products This Friday
Apple Launching Two More New Products This Friday
7 hours ago
Apple Store Subscription Sign-Up Controversy Exposed
Apple Store Subscription Sign-Up Controversy Exposed
16 hours ago
Siri AI Rumored to Become 'More Like an Agent' as Early as Next Year
Siri AI Rumored to Become 'More Like an Agent' as Early as Next Year
1 day ago
Apple Taking New Approach to Developing iOS 28 and macOS 28
Apple Taking New Approach to Developing iOS 28 and macOS 28
1 day ago
Early Apple Black Friday Deals on Apple Watch, MacBook Air, and More
Early Apple Black Friday Deals on Apple Watch, MacBook Air, and More
2 days ago
'Backglow' Lets You Customize New MacBook Pro's Glowing Apple Logo
'Backglow' Lets You Customize New MacBook Pro's Glowing Apple Logo
2 days ago
Top Stories: Apple Product Launches, iOS 27.3 Beta, and More
Top Stories: Apple Product Launches, iOS 27.3 Beta, and More
2 days ago
More Fun iPhone Duo Apps: 30 New Picks to Try
More Fun iPhone Duo Apps: 30 New Picks to Try
3 days ago
Hands-On With Apple's New OLED Touchscreen MacBook Pro
Hands-On With Apple's New OLED Touchscreen MacBook Pro
3 days ago
Apple Store With All-New Design Opening Soon in Southern California
Apple Store With All-New Design Opening Soon in Southern California
3 days ago
Control the Glowing Apple Logo on Your New MacBook Pro
Control the Glowing Apple Logo on Your New MacBook Pro
3 days ago
Apple Shares New 'Apple Card: Apply and Use in Minutes' Ad
Apple Shares New 'Apple Card: Apply and Use in Minutes' Ad
3 days ago