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...
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...
Apple TV 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...

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
Apple 'Welcome Home' Launch: Everything to Expect Tomorrow
Apple 'Welcome Home' Launch: Everything to Expect Tomorrow
4 hours ago
You Can Now Set Up Your iPhone Duo Pre-Order - Do It Before Friday
You Can Now Set Up Your iPhone Duo Pre-Order - Do It Before Friday
4 hours ago
Apple Plans Two-Day Event to Showcase Trio of New Macs and iPad Mini
Apple Plans Two-Day Event to Showcase Trio of New Macs and iPad Mini
5 hours ago
Apple and Pokémon Tease Special Pikachu-Themed Beats Pill Speaker
Apple and Pokémon Tease Special Pikachu-Themed Beats Pill Speaker
5 hours ago
Apple Announces 'Indie Games Week' on App Store
Apple Announces 'Indie Games Week' on App Store
7 hours ago
Amazon Discounting 2026 MacBook Pro by as Much as $600 This Week
Amazon Discounting 2026 MacBook Pro by as Much as $600 This Week
7 hours ago
Apple Watch Ultra 1 vs. Ultra 4 Buyer's Guide: Is It Worth Upgrading?
Apple Watch Ultra 1 vs. Ultra 4 Buyer's Guide: Is It Worth Upgrading?
7 hours ago
Apple Watch SE 3 Available From Just $199.99 on Amazon
Apple Watch SE 3 Available From Just $199.99 on Amazon
7 hours ago
Tim Cook Visits China for the Third Time in 2026
Tim Cook Visits China for the Third Time in 2026
7 hours ago
OLED iPad Mini Could Be $200 More Expensive Than Current Model
OLED iPad Mini Could Be $200 More Expensive Than Current Model
10 hours ago
Apple Launches Special Edition AirPods 5 in India
Apple Launches Special Edition AirPods 5 in India
11 hours ago
New Apple TV 4K and HomePod Mini 2 Pre-Orders Expected to Begin This Week
New Apple TV 4K and HomePod Mini 2 Pre-Orders Expected to Begin This Week
18 hours ago
New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked
New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked
1 day ago
New Entry-Level iPad Not Expected Until Early 2027
New Entry-Level iPad Not Expected Until Early 2027
1 day ago
Apple Plans Major iPhone Duo Retail Showcase, But Supply Will Be Limited
Apple Plans Major iPhone Duo Retail Showcase, But Supply Will Be Limited
1 day ago
Apple TV 4K Getting A19 Chip and a Potentially Easier-to-Find Siri Remote
Apple TV 4K Getting A19 Chip and a Potentially Easier-to-Find Siri Remote
1 day ago
New Mac Mini and Mac Studio Receive Up to $200 Price Cuts at Amazon
New Mac Mini and Mac Studio Receive Up to $200 Price Cuts at Amazon
1 day ago
Apple HomeView Smart Hub to Ship in Mid-November in Four Colors
Apple HomeView Smart Hub to Ship in Mid-November in Four Colors
1 day ago
New Apple TV 4K and HomePod Mini to Ship on October 30
New Apple TV 4K and HomePod Mini to Ship on October 30
1 day ago
AirPods Max 2 Available for $429 in All Colors on Amazon
AirPods Max 2 Available for $429 in All Colors on Amazon
1 day ago
Rumor: Apple to Announce New Partnership With ADT
Rumor: Apple to Announce New Partnership With ADT
2 days ago
AirPods 5 vs. AirPods 5 With Wireless Charging Case Buyer's Guide
AirPods 5 vs. AirPods 5 With Wireless Charging Case Buyer's Guide
2 days ago
Accessory Deals This Weekend: Save on TVs, Headphones, and Smart Home Gear
Accessory Deals This Weekend: Save on TVs, Headphones, and Smart Home Gear
2 days ago
Apple's All-New Home Hub Will Be Revealed October 13: What to Expect
Apple's All-New Home Hub Will Be Revealed October 13: What to Expect
2 days ago
Apple Announcing HomePod Mini 2 Next Week With These New Features
Apple Announcing HomePod Mini 2 Next Week With These New Features
2 days ago
A New Apple TV 4K is Finally Coming on Tuesday
A New Apple TV 4K is Finally Coming on Tuesday
2 days ago
Top Stories: Apple's 'Welcome Home' Launch on October 13 and More
Top Stories: Apple's 'Welcome Home' Launch on October 13 and More
2 days ago
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
3 days ago
SpaceX Inches Closer to Becoming a U.S. Carrier
SpaceX Inches Closer to Becoming a U.S. Carrier
3 days ago
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
3 days ago