You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Saw "A script was blocked" - transformers==5.13.1 trips some scanners #18699
Hey team, I got the same block here. Had claude do some digging while the popup was still in play.
In summary: It looks like xprotectd has a reason to check something almost straight after the install manifest gets modified, possibly one of the three sidebars. That check (a safe browsing thing) fails and it nukes the container and declares it is malware. Interestingly, it immediately starts refusing pastes of the curl unsloth install command afterwards - it was fine for me to paste that to the terminal to kick it off, but after the block it no longer allowed me to paste that anymore.
Captured the unified log for it:
Environment
macOS 27.0.1 (26A434), Apple Silicon M4 Max
Terminal app: iTerm2
Updating an existing Studio install from v0.1.800-beta to unsloth 2026.11.9 / unsloth_zoo 2026.11.8
Command, pasted into the terminal: curl -fsSL https://unsloth.ai/install.sh | sh
install.sh SHA-256 96b18758d13d5150445a35819ce412a73ae56b16fd7a875e79591bf18103013c, fetched about 5 minutes after the run (not captured from the run itself); main was at e16d4b6 at the time
Timeline (2026-11-22, UTC)
09:01:19: command pasted, installer starts
09:02:22: unsloth_install_manifest.json records completed_at_ms
09:03:08: manifest last modified (the MLX health probe had just finished importing)
09:03:08.539: xprotectd sends a Safe Browsing CheckFullHashes request
09:03:09.160: reply received
09:03:09.161: Killing container due to rules engine deny
09:03:08.539 xprotectd [com.apple.Safari.SafeBrowsing:FullHash] Send CheckFullHashes message to safe browsing service with protection type 1
09:03:09.160 xprotectd [com.apple.Safari.SafeBrowsing:FullHash] Receive CheckFullHashes reply with protection type 1
09:03:09.161 xprotectd [com.apple.security.xprotectd.:main] Killing container due to rules engine deny
09:03:09.412 xprotectd [com.apple.security.xprotectd.:main] Prompting user about blocked scripted malware execution
09:03:09.414 syspolicyd [com.apple.syspolicy.exec:default] Displaying XProtect blocked prompt: type=19, uid=501
What the log shows
xprotectd made 357 Safe Browsing URL lookups during the install. Only one led to a full-hash check, and the kill came 1 ms after that reply. The matched string is redacted (<private>).
Lookups came in bursts during the uv installs, then none for 48 s (09:02:20 to 09:03:08), then three groups at 09:03:08.379, .497 and .539. The third triggered the full-hash check.
Afterwards, pasting the same command again was refused 20 times ("Malware Detected, Paste Blocked", type=CopyPasteBlocked). Each refusal logged There are no matches in databases with given url before paste denied, so the install URL itself is not on the Safe Browsing list. The same paste had been accepted at 09:01.
Where setup stopped
Python packages are updated and the manifest is written.
The transformers sidecars were never touched: .venv_t5_550 still holds 5.5.0 and .venv_t5_510 still holds 5.10.2, with August mtimes. The llama.cpp and whisper steps did not run.
The unsloth_studio.rollback.* directory is still present.
Guess, not verified
In studio/setup.sh the first thing after install_python_stack is three _sidecar_current calls (5.3.0, 5.5.4, 5.13.1), which run install_manifest.py sidecar <dir> transformers==<ver> huggingface_hub==1.8.0 hf_xet==1.4.2. Three calls and three lookup groups line up, with the third (5.13.1) being the one that hit. It is possible XProtect is treating something in those command lines as a URL or host. I could not confirm this because the log redacts the matched value.
This also seems to apply only to commands pasted into a terminal, which might explain why the non-interactive retry in #18034 completed cleanly.
Capture predicate, if anyone wants to compare: /usr/bin/log show --last 30m --info --predicate 'process == "xprotectd" OR process == "syspolicyd"'
We found the issue - transformers==5.13.1 trips as being an IP address haha - so a false positive - we will update it to transformers==5.15.1 which does not trip the false positive issue
http://<DO_NOT_PRESS>5.13.0.1/ is on the Safe Browsing malware list for Xprotect, so transformers==5.13.1 blocks it
changed the title [-][Bug] Saw "A script was blocked because it contains malware. This script did not harm your Mac." while updating unsloth today[/-][+][Bug] Saw "A script was blocked" - `transformers==5.13.1` trips some scanners[/+]on Nov 22, 2026
Actually hm - for now please get the build from mainline source or use Unsloth Desktop's installation process directly - we have to delay the release until tomorrow sorry
Activity
malzantot commentedon Nov 21, 2026
The command I was running
curl -fsSL https://unsloth.ai/install.sh | shaman-kumar-maersk commentedon Nov 21, 2026
Same issue. Seems to happen during or after installing torch
redspider commentedon Nov 22, 2026
Hey team, I got the same block here. Had claude do some digging while the popup was still in play.
In summary: It looks like xprotectd has a reason to check something almost straight after the install manifest gets modified, possibly one of the three sidebars. That check (a safe browsing thing) fails and it nukes the container and declares it is malware. Interestingly, it immediately starts refusing pastes of the curl unsloth install command afterwards - it was fine for me to paste that to the terminal to kick it off, but after the block it no longer allowed me to paste that anymore.
Captured the unified log for it:
Environment
curl -fsSL https://unsloth.ai/install.sh | shinstall.shSHA-25696b18758d13d5150445a35819ce412a73ae56b16fd7a875e79591bf18103013c, fetched about 5 minutes after the run (not captured from the run itself);mainwas at e16d4b6 at the timeTimeline (2026-11-22, UTC)
unsloth_install_manifest.jsonrecordscompleted_at_msCheckFullHashesrequestKilling container due to rules engine denytype=ScriptedMalware)What the log shows
<private>).type=CopyPasteBlocked). Each refusal loggedThere are no matches in databases with given urlbeforepaste denied, so the install URL itself is not on the Safe Browsing list. The same paste had been accepted at 09:01.Where setup stopped
.venv_t5_550still holds 5.5.0 and.venv_t5_510still holds 5.10.2, with August mtimes. The llama.cpp and whisper steps did not run.unsloth_studio.rollback.*directory is still present.Guess, not verified
In
studio/setup.shthe first thing afterinstall_python_stackis three_sidecar_currentcalls (5.3.0, 5.5.4, 5.13.1), which runinstall_manifest.py sidecar <dir> transformers==<ver> huggingface_hub==1.8.0 hf_xet==1.4.2. Three calls and three lookup groups line up, with the third (5.13.1) being the one that hit. It is possible XProtect is treating something in those command lines as a URL or host. I could not confirm this because the log redacts the matched value.This also seems to apply only to commands pasted into a terminal, which might explain why the non-interactive retry in #18034 completed cleanly.
Capture predicate, if anyone wants to compare:
/usr/bin/log show --last 30m --info --predicate 'process == "xprotectd" OR process == "syspolicyd"'danielhanchen commentedon Nov 22, 2026
We found the issue -
transformers==5.13.1trips as being an IP address haha - so a false positive - we will update it totransformers==5.15.1which does not trip the false positive issuedanielhanchen commentedon Nov 22, 2026
http://<DO_NOT_PRESS>5.13.0.1/ is on the Safe Browsing malware list for Xprotect, so
transformers==5.13.1blocks itdanielhanchen commentedon Nov 22, 2026
@redspider yes as you suggested it is in fact 5.13.1 transformers getting blocked
Studio: move the highest transformers sidecar from 5.13.1 to 5.15.1 (…
fareslassoued commentedon Nov 22, 2026
@danielhanchen so do we have to wait for next release although pr is merged?
danielhanchen commentedon Nov 22, 2026
I'm doing a new pypi now!
[-][Bug] Saw "A script was blocked because it contains malware. This script did not harm your Mac." while updating unsloth today[/-][+][Bug] Saw "A script was blocked" - `transformers==5.13.1` trips some scanners[/+]danielhanchen commentedon Nov 22, 2026
Actually hm - for now please get the build from mainline source or use Unsloth Desktop's installation process directly - we have to delay the release until tomorrow sorry
danielhanchen commentedon Nov 23, 2026
@redspider @malzantot @aman-kumar-maersk @fareslassoued Pypi is out!!
Q-coder commentedon Nov 23, 2026
Fixed the Malware warning for me. MacOs 26.7.3 on M4 Max