Repository navigation
Windows installer: restore the split-layout comment in setup.ps1 (Defender ML false positive) - #14520
Conversation
…ender ML false positive)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
On main, VirusTotal's Microsoft engine flags
studio/setup.ps1asTrojan:Script/Wacatac.C!ml(engine 1.26090, signatures 2026-10-20). That is the Windows Defender cloud machine-learning verdict. Every other engine is clean.setup.ps1runs on every Windows install andunsloth studio update, and PowerShell passes the script text to AMSI before it runs it. If the endpoint agrees with this verdict, it can stop the install partway through.This PR changes one comment and no code.
How it was found
The file was scanned at each step between the last clean main and the current one:
studio/setup.ps1d9aded3801c90a3460...1a7529b6...c3bd31a3...Trojan:Script/Wacatac.C!ml1a7529b6...0820e9d2...f752d87c...Neither change was a problem alone. The detection needed both #14293 shortening a 5-line explanatory comment in
Test-MasterRootNoteIsHonouredto one line and #14473's "Unsloth Studio" wording. Together they pushed the ML score over its threshold. Nothing in either change downloads, runs or hides anything, so this is a false positive.The change
The comment is restored as a 4-line explanation. Its wording is updated for current behaviour: the old text said install.ps1 does not read
UNSLOTH_HOME, which #14293 made untrue. The #14473 branding stays as it is.Testing
comment_tools.py check --strict-ext: comment-only, no code changed.studio/setup.ps1parses with 0 errors in PowerShell.studio/setup.ps1: 9391 passed, 0 failed.Notes
!mlverdicts are fragile, so a later edit to this file could tip it over again. Re-scanstudio/setup.ps1andinstall.ps1on VirusTotal before each release.studio/setup.shcarries the same one-line comment. Defender does not scan it on Windows, so it is left unchanged.