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...
iphone duo screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...
Apple Music iPod Page Not Found

Apple Music Has a Hidden iPod You Can Play With

Friday October 23, 2026 7:11 am PDT by
Apple Music has a 404 page easter egg on the web: a functional iPod that appears when you load a page that does not exist, such as music.apple.com/macrumors. "Page Not Found," says Apple. "Give this a spin instead." Apple is clever with this. If you navigate to music.apple.com/ipod instead, the page says "Looking for something?" instead of "Page Not Found." The easter egg is only...

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
New iPad Mini Announced Today Has More Than 12 New Features
New iPad Mini Announced Today Has More Than 12 New Features
1 hour ago
Apple Raises iPad and Mac Trade-In Values
Apple Raises iPad and Mac Trade-In Values
1 hour ago
New iPad Mini Gains Adaptive True Tone Flash
New iPad Mini Gains Adaptive True Tone Flash
2 hours ago
Quickly Silence iPhone Duo Without a Ring/Mute Switch
Quickly Silence iPhone Duo Without a Ring/Mute Switch
2 hours ago
Anker Launches Halloween Sale With Sitewide Discounts and Labubu Bundles
Anker Launches Halloween Sale With Sitewide Discounts and Labubu Bundles
2 hours ago
OLED iPad Mini Fast Charge Needs a 35W Adapter, Sold Separately
OLED iPad Mini Fast Charge Needs a 35W Adapter, Sold Separately
2 hours ago
Apple Brings TechWoven to iPad With All-New $79 iPad Mini Smart Folio
Apple Brings TechWoven to iPad With All-New $79 iPad Mini Smart Folio
3 hours ago
All Current iPads Now Feature a Landscape Front Camera
All Current iPads Now Feature a Landscape Front Camera
3 hours ago
OLED iPad Mini Starts at $699 After Second Price Hike This Year
OLED iPad Mini Starts at $699 After Second Price Hike This Year
3 hours ago
New iPad Mini Available in Just Two Colors
New iPad Mini Available in Just Two Colors
3 hours ago
512GB OLED iPad Mini Gets Extra CPU Core and Dual Neural Engine
512GB OLED iPad Mini Gets Extra CPU Core and Dual Neural Engine
3 hours ago
New iPad Mini Offers Nano-Texture Display on Select Models
New iPad Mini Offers Nano-Texture Display on Select Models
3 hours ago
Apple Teases 'Exciting Week' Ahead After Announcing New iPad Mini
Apple Teases 'Exciting Week' Ahead After Announcing New iPad Mini
3 hours ago
New iPad Mini Is Apple's First Water-Resistant iPad
New iPad Mini Is Apple's First Water-Resistant iPad
3 hours ago
OLED iPad Mini Pre-Orders and Release Date Announced
OLED iPad Mini Pre-Orders and Release Date Announced
3 hours ago
New iPad Mini Uses 'Acoustic Display' for Redesigned Speaker System
New iPad Mini Uses 'Acoustic Display' for Redesigned Speaker System
3 hours ago
New iPad Mini Still Lacks ProMotion Despite Upgrade to OLED
New iPad Mini Still Lacks ProMotion Despite Upgrade to OLED
3 hours ago
Apple Announces New iPad Mini With 8.5-Inch OLED Display, A20 Pro Chip, and More
Apple Announces New iPad Mini With 8.5-Inch OLED Display, A20 Pro Chip, and More
4 hours ago
Apple Watch Users in Europe Report Daylight Saving Glitch
Apple Watch Users in Europe Report Daylight Saving Glitch
4 hours ago
iPad Mini 8 With These 10 New Features Expected Today or Tomorrow
iPad Mini 8 With These 10 New Features Expected Today or Tomorrow
4 hours ago
Gurman: Apple's Three-Day Announcement Run Could Start Today
Gurman: Apple's Three-Day Announcement Run Could Start Today
5 hours ago
iPhone Duo: Give Your Camera Subject a Picture Preview
iPhone Duo: Give Your Camera Subject a Picture Preview
5 hours ago
Conversion Kit Aims to Put PC Hardware Inside 2019 Mac Pro
Conversion Kit Aims to Put PC Hardware Inside 2019 Mac Pro
5 hours ago
MacBook Pro's Switch to OLED Could Spell Trouble for Mini-LED Industry
MacBook Pro's Switch to OLED Could Spell Trouble for Mini-LED Industry
6 hours ago
Apple Display Veterans Step Back as New Leaders Take Over
Apple Display Veterans Step Back as New Leaders Take Over
12 hours ago
OLED MacBook Air and iMac Remain in Testing
OLED MacBook Air and iMac Remain in Testing
13 hours ago
Apple Addresses Web Security Threat, Working on macOS Update With Additional Fix
Apple Addresses Web Security Threat, Working on macOS Update With Additional Fix
18 hours ago
iPhone Duo Can Run Automations When You Open or Close It
iPhone Duo Can Run Automations When You Open or Close It
18 hours ago
Adjust iPhone Duo's Outer Display to Accommodate Your Case
Adjust iPhone Duo's Outer Display to Accommodate Your Case
19 hours ago
iFixit iPhone Duo Teardown Points to Possible Cause of Screen Cracks
iFixit iPhone Duo Teardown Points to Possible Cause of Screen Cracks
19 hours ago