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.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...
macOS 27 next to MacBook Pro Running macOS 27

Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents

Friday October 2, 2026 12:59 pm PDT by
In a post on its developer news website today, Apple announced that it will be introducing "additional controls" for the "Full Disk Access" setting on macOS due to new risks posed by AI agents. This announcement comes amid the rise of always-on AI agents like Meta's Muse and OpenAI's Dots, which have prompted privacy concerns. "Some developers are using Full Disk Access in ways that could...
iPhone 18 Pro Max Glacier Camera

Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced

Friday October 2, 2026 8:21 pm PDT by
Apple today confirmed that a "small number" of iPhone 18 Pro Max users on the AT&T network have experienced an issue that causes the device to lose cellular service, thereby preventing phone calls, text messages, and data from working. Thousands of users complained about the issue across the Apple Support Community and other platforms. Apple said it released iOS 27.0.1 earlier this week and...

Top Rated Comments

jonnysods Avatar
73 months ago
Get ready for lots of Justin Long Intel videos about this next week.
Score: 9 Votes (Like | Disagree)
Apple_Robert Avatar
73 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
73 months ago
Comes under the heading, be very careful about what you download.
Score: 6 Votes (Like | Disagree)
hot-gril Avatar
73 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
73 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
73 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
tvOS 27.2 Code Hints at Apple Intelligence for New Apple TV
tvOS 27.2 Code Hints at Apple Intelligence for New Apple TV
12 minutes ago
Apple Seeds Third macOS Golden Gate 27.2 Beta to Developers
Apple Seeds Third macOS Golden Gate 27.2 Beta to Developers
3 hours ago
Apple Releases Third watchOS 27.2, tvOS 27.2 and visionOS 27.2 Betas
Apple Releases Third watchOS 27.2, tvOS 27.2 and visionOS 27.2 Betas
3 hours ago
Apple Releases Third iOS 27.2 Beta
Apple Releases Third iOS 27.2 Beta
3 hours ago
Apple Cash Adds ID Check for Reloads, Teases Bank Funding
Apple Cash Adds ID Check for Reloads, Teases Bank Funding
3 hours ago
Apple Configurator App Updated
Apple Configurator App Updated
4 hours ago
Apple One Just Went Up in Price in These Countries
Apple One Just Went Up in Price in These Countries
4 hours ago
iPhone 13 Pro vs. iPhone 18 Pro Buyer's Guide: Is It Worth Upgrading?
iPhone 13 Pro vs. iPhone 18 Pro Buyer's Guide: Is It Worth Upgrading?
5 hours ago
iPad Could Get Significantly Thinner Bezels, Leaker Says
iPad Could Get Significantly Thinner Bezels, Leaker Says
5 hours ago
Prime Day Is Not Just Amazon: See the Biggest Competing Deals From Sony, Best Buy, and Walmart
Prime Day Is Not Just Amazon: See the Biggest Competing Deals From Sony, Best Buy, and Walmart
6 hours ago
Apple's Newest Macs Just Got Their Biggest Price Cuts Yet on Amazon
Apple's Newest Macs Just Got Their Biggest Price Cuts Yet on Amazon
8 hours ago
Apple Watch Prime Day Deals Arrive With New All-Time Low Prices for Series 12 and Ultra 4
Apple Watch Prime Day Deals Arrive With New All-Time Low Prices for Series 12 and Ultra 4
8 hours ago
Apple Releases MagSafe 3 Charging Cable Firmware Update
Apple Releases MagSafe 3 Charging Cable Firmware Update
8 hours ago
AirPods Max 2 Drop to $429 in All Colors for Prime Day
AirPods Max 2 Drop to $429 in All Colors for Prime Day
8 hours ago
Apple Quietly Triples iCloud Mail Alias Limit to Nine
Apple Quietly Triples iCloud Mail Alias Limit to Nine
9 hours ago
Mac Users Reclaim 12GB+ of Storage With Apple Intelligence Removal Tool
Mac Users Reclaim 12GB+ of Storage With Apple Intelligence Removal Tool
7 hours ago
iPhone Duo Makes Focus Modes Easier to Toggle From the Lock Screen
iPhone Duo Makes Focus Modes Easier to Toggle From the Lock Screen
11 hours ago
EU iPhone and iPad Users Could Still Face Months-Long Wait for Siri AI
EU iPhone and iPad Users Could Still Face Months-Long Wait for Siri AI
11 hours ago
Today Marks the 15th Anniversary of Steve Jobs' Death
Today Marks the 15th Anniversary of Steve Jobs' Death
12 hours ago
iPhone 18 Pro's Triple Live Activity Support Comes With a Catch
iPhone 18 Pro's Triple Live Activity Support Comes With a Catch
13 hours ago
Apple's New CEO John Ternus is Making Product Design a 'Major Priority'
Apple's New CEO John Ternus is Making Product Design a 'Major Priority'
18 hours ago
Apple Hiring 'iCup' Specialist
Apple Hiring 'iCup' Specialist
19 hours ago
MacBook Pro With OLED Display Rumored to Be 'Significantly Lighter'
MacBook Pro With OLED Display Rumored to Be 'Significantly Lighter'
20 hours ago
Apple Event Reportedly Planned for October 13
Apple Event Reportedly Planned for October 13
21 hours ago
Amazon Launches Early Prime Day Discounts on AirPods, iPad, MacBook Air, and More
Amazon Launches Early Prime Day Discounts on AirPods, iPad, MacBook Air, and More
8 hours ago
AirPods Pro 3 Hit Record Low $179 Price During Early Prime Day Sale
AirPods Pro 3 Hit Record Low $179 Price During Early Prime Day Sale
1 day ago
Top Stories: Apple Smart Home Launch on October 13, iPhone Duo Production Issues, and More
Top Stories: Apple Smart Home Launch on October 13, iPhone Duo Production Issues, and More
2 days ago
Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced
Apple Says iPhone 18 Pro Max Users With AT&T Cellular Issue Need to Have Device Replaced
3 days ago
Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents
Apple Announces 'Full Disk Access' Changes on macOS Due to AI Agents
3 days ago
AT&T and Apple Just Took Steps Toward Fixing iPhone 18 Pro Max Issue
AT&T and Apple Just Took Steps Toward Fixing iPhone 18 Pro Max Issue
3 days ago