SMAPI Malware blocking in Stardew Valley on macOS

I'm trying to play Stardew Valley, which is modded with SMAPI, and despite playing the game with mods for almost 2 years now, NOW OS is refusing to open the game because SMAPI "contains malware". I tried reinstalling the mod, but no dice. It just automatically deletes the terminal and blocks the game from opening.


You can imagine my frustration because the mod is 100% safe. No option to "Open Anyway" in Security Settings, either. I have no say in this. Is there any way to override it??



[Re-Titled by Moderator]

MacBook Air 13″, macOS 15.1

Posted on Jan 17, 2025 6:46 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Jan 17, 2025 8:16 PM

You will need to codesign the app. Some background:


https://www.reddit.com/r/StardewValley/comments/1h071jl/mac_deleted_stardew_modding_api_because_of_malware/


(This is also more of an app development question, so probably better suited to the Apple Developer forums.)

5 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Jan 17, 2025 8:16 PM in response to thearianatosado

You will need to codesign the app. Some background:


https://www.reddit.com/r/StardewValley/comments/1h071jl/mac_deleted_stardew_modding_api_because_of_malware/


(This is also more of an app development question, so probably better suited to the Apple Developer forums.)

Reply

Jan 24, 2025 2:52 PM in response to MrHoffman

I REALLY appreciate you sending the forum, seriously. I was able to read through the whole thing, and then I followed the instructions three times—even the instructions for when the first set didn't work for some people—but I'm still getting the same stupid malware message. At this point, I've literally tried EVERYTHING, so I'll submit to the Apple Developer forums.


Honestly, I'm at the point where if we wanna install malware on our computers, just freaking let us, Apple.🤦‍♀️

Reply

Jan 17, 2025 7:08 PM in response to thearianatosado

Even very popular and respected applications are occasionally affected by what are called supply chain attacks that result in malware ending up in a typically trusted app. Therefore, you may want to do quite a bit more research before stating that a mod such as this is ever "100%" safe. Although the Mac's Gatekeeper could be flagging this due to a false positive, it may actually contain malware.


I would suggest first downloading the app and submitting it online to: https://www.virustotal.com/gui/home/upload


Then, if you are willing to risk it: Safely open apps on your Mac - Apple Support


Reply

Jan 17, 2025 7:36 PM in response to thearianatosado

It's possible that that option is only available when an application is simply unsigned, but not for "known malware". That document states:


"If macOS detects known malware, your Mac notifies you that the app can't be opened and moves it to the Trash. You might be asked to anonymously share a copy of the malware with Apple to help improve macOS security. If you choose to share, macOS uploads only the malware executable itself (or the containing app bundle, if the executable is contained in a bundle) and nothing else."


If the file ends up in the trash, try uploading to VirusTotal to see what they think. You should also use the "Send to Apple" button on the pop-up so they can analyze the app to determine if it really is a false positive detection (and correct Gatekeeper's classification).


If you insist on trusting this app, there are instructions in the following discussion for possibly allowing it to run: MacOS Sequoia -- "Allow Apps from Anywher… - Apple Community


Reply

Jan 17, 2025 7:18 PM in response to FishingAddict

I appreciate the timely reply, thank you. Unfortunately, no such option in Settings. Just tried to open the EA app for Sims 4 and I'm getting the same pop-up. I'm gonna be MEGA bummed if I can't play a single game on my Mac anymore.


For reference, here are my security settings right after closing the pop-ups.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SMAPI Malware blocking in Stardew Valley on macOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.