Repository navigation
Description
Environment
Where are you using Unsloth?
- Unsloth desktop application
- Unsloth web UI (
unsloth studio) - Unsloth CLI (official shell installer/update)
- Python package or notebook
- Colab or Kaggle
Operating system and version: macOS 27.2.1, build 26B131 (verified with sw_vers).
GPU model(s) and accelerator backend: Apple M3 Ultra Mac Studio, 512 GiB unified memory; Metal / MLX.
Versions: Updating Unsloth 2026.11.4 to 2026.11.5. After the interruption, both unsloth-2026.11.5.dist-info and unsloth_zoo-2026.11.5.dist-info exist in the managed environment. Installer reports Python 3.13, retained torch 2.10.0, isolated Node v24.22.2 and npm 11.19.1. This was not a desktop-app updater run. No post-update runtime or backend validation has been performed.
What happened?
The official macOS shell update stopped after deps installed. During this update, macOS displayed Malicious Script Blocked. The unified log confirms an XProtect rules-engine denial and a ScriptedMalware prompt at 2026-11-16 17:30:28 EST (22:30:28 UTC).
Important: this report does not establish that Unsloth contains malware, or that this is a false positive. The blocked script/process identity is not exposed in the available log. The update interruption and security event coincide, but attribution to a specific installer step is unresolved.
Steps to reproduce (one observed occurrence; not deliberately rerun):
- Start with the existing 2026.11.4 Studio installation on this Mac.
- In Terminal, run the documented command:
curl -fsSL https://unsloth.ai/install.sh | sh - The installer preserves the previous environment, creates the new environment and installs 2026.11.5.
- Setup prints
mlx training stack ready, thendeps installed. - The malware-block dialog appears; the captured terminal output ends with
[Process completed], without a final setup success message.
Expected behavior: A completed, verifiable update without a malware-protection block. If interrupted, clear information about the affected component and a supported recovery path without disabling macOS protection.
Actual behavior: Package metadata shows the new version, but setup completion is unconfirmed. The installed studio/setup.sh contains further backend setup and a completion footer not present in this transcript. Terminal's [Process completed] is not an installer success receipt, and the exit status was not captured.
Model and operation involved: Studio installation/update, not inference or training.
Diagnostics and logs
Desktop application
Not applicable: official shell installer was used.
Unsloth web UI / terminal output
Below is the supplied terminal transcript with the username/home path replaced by <HOME> and formatting normalized. The two progress lines have terminal redraw artifacts in the original paste; their visible labels are preserved here.
Unsloth Studio Installer
platform macos
deps using prebuilt llama.cpp (cmake not found)
Install cmake only if you want a source build: brew install cmake
uv cache reusing this install's Unsloth Studio cache (<HOME>/.unsloth/studio/cache/uv)
found unsloth 2026.11.4
preserving existing environment for rollback...
previous environment preserved for rollback
venv creating Python 3.13 virtual environment
<HOME>/.unsloth/studio/unsloth_studio
venv using environment
<HOME>/.unsloth/studio/unsloth_studio
existing install has torch 2.10.0 -- keeping it (set UNSLOTH_TORCH_UPGRADE=1 to get the newest release)
gpu Apple Silicon (Metal, unified memory)
preparing Apple Silicon model support...
installing PyTorch (https://download.pytorch.org/whl/cpu)...
installing unsloth (this may take a few minutes)...
unsloth 2026.11.5 installed (was 2026.11.4)
setup running unsloth studio update...
Unsloth Studio Setup
frontend bundled (pip install)
installing isolated Node (system Node/npm left untouched)...
node v24.22.2 | npm 11.19.1 (isolated)
frontend up to date
deps 6/16 dependency overrides
torch 2.10.0 detected -- installing torchao==0.16.0
deps 16/16 torchcodec
torch 2.10.0 detected -- installing torchcodec>=0.10.0,<0.11.0
mlx training stack ready
deps installed
[Process completed]
Screenshot text (transcribed; image not attached)
Malicious Script Blocked
A script was blocked because it contains malware. This script did not harm your Mac.
The dialog has a Done button.
macOS unified-log excerpts
Read-only inspection; timestamps below are local EST. Identifying details are already redacted by macOS.
2026-11-16 17:30:27.958 xprotectd: Killing container due to rules engine deny
2026-11-16 17:30:28.209 xprotectd: Prompting user about blocked scripted malware execution
2026-11-16 17:30:28.212 syspolicyd: Displaying XProtect blocked prompt: type=19, uid=501
2026-11-16 17:30:28.213 syspolicyd: present prompt: uid=501, conn=yes, type=ScriptedMalware
2026-11-16 17:30:28.214 syspolicyd: Recorded malware block for identifier=<private> path=(none)
The third/fourth lines omit unrelated connection/UUID fields. No script filename, malware signature name, or target PID has been established from these excerpts.
Model-specific logs
Not applicable.
Python package or notebook
No Python traceback was printed. Package installation metadata exists, but imports and the new runtime have not been executed for diagnostic testing.
Additional context
- The previous environment remains in
<HOME>/.unsloth/studio/unsloth_studio.rollback.<timestamp>.<pid>. - No security override, quarantine removal, protection disabling, or installer retry was performed during diagnosis. The rollback has not been applied.
- Apple documents this exact alert separately from unidentified-developer and generic suspicious-paste warnings: https://support.apple.com/en-la/127377
- Related release: https://github.com/unslothai/unsloth/releases/tag/v0.1.918-beta
- Existing reports [Blocked] Windows: antivirus or security software blocked the installer (install.ps1 one-liner update) #11397 and [Bug] install.ps1 is flagged by antivirus, unable to proceed with update via powershell #10805 concern Windows/PowerShell antivirus blocks; they do not establish the cause of this macOS event. Searches for XProtect, ScriptedMalware, and the exact dialog wording did not identify a matching Mac report.
Could a maintainer investigate which installer/child process or accessed URL could trigger this block, advise how to collect the missing identifier safely, and provide a supported way to complete or roll back this partially installed update without bypassing XProtect?
Activity
NilayYadav commentedon Nov 16, 2026
Could you re-run the installer with
log stream --info --predicate 'process == "xprotectd" OR process == "syspolicyd"'open in another Terminal and paste what it shows when the block happens?leftbankvines commentedon Nov 16, 2026
Thanks @NilayYadav. I ran one controlled retry with the requested live capture. The retry completed with exit code 0; the earlier XProtect block did not reproduce in this capture.
Capture and conditions
log stream --style compact --info --predicate 'process == "xprotectd" OR process == "syspolicyd"'sh, with stdout/stderr captured and pipeline exit checked. Unlike the original Terminal attempt, this retry was noninteractive, usedteeto retain the installer script, and setUNSLOTH_SKIP_AUTOSTART=1 UNSLOTH_INSTALL_NO_ROLLBACK=0.d02623a86827c491bb7793aa33c6fe089ac07760ced6266fb366ac33f23c8066. The original attempt's script hash is unavailable.Installer output (selected excerpts)
The wrapper reported
INSTALLER_EXIT=0. Active environment metadata now lists both unsloth and unsloth_zoo 2026.11.5.Security capture
No matches in the captured output for
rules engine deny,ScriptedMalware,blocked scripted,Recorded malware block,Killing container,malware, ordenied.There were generic syspolicyd errors such as the following; I cannot attribute them specifically to the installer or interpret them as a malware verdict:
These are selected excerpts, not the full stream; process/thread identifiers and unrelated provenance/network activity are omitted. No personal filesystem paths or credentials are included.
This establishes successful installer completion on the retry, not the cause of the original block or proof it was a false positive. Studio launch/model inference was intentionally not tested in this attempt. Is the original block sequence already posted sufficient for further investigation, or is there a specific additional diagnostic artifact you need?
NilayYadav commentedon Nov 16, 2026
Thanks for checking. Since it installed fine this time, there's nothing more we need. If the block shows up again, please send that log.