[Bug]: Nim@2.2.0 `koch.exe` getting quarantined by Windows Defender
ArmoryNode opened this issue · 1 comments
ArmoryNode commented
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues/PRs to ensure it has not already been reported or fixed.
- I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
Nim
Expected/Current Behaviour
When attempting to update the Nim package (specifically from 2.0.8 to 2.2.0), Windows Defender intervenes and quarantines the koch.exe
executable.
Steps to Reproduce
PS> scoop install main/nim
Installing 'nim' (2.2.0) [64bit] from 'main' bucket
Loading nim-2.2.0_x64.zip from cache
Checking hash of nim-2.2.0_x64.zip ... ok.
Extracting nim-2.2.0_x64.zip ... Exception: C:\Users\user\scoop\apps\scoop\current\lib\core.ps1:889
Line |
889 | throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not find 'nim-2.2.0'! (error 11)
Possible Solution
None
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)
'main' bucket:
c2dcb7937 (HEAD -> master, origin/master, origin/HEAD) upbound-cli: Update to version 0.34.1
Scoop Config
PS> scoop config
last_update scoop_repo scoop_branch alias
----------- ---------- ------------ -----
10/10/2024 11:19:54 AM https://github.com/ScoopInstaller/Scoop master
PowerShell Version
PS> $PSVersionTable
Name Value
---- -----
PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Additional Softwares
No response
ArmoryNode commented
Closing as it seems related to Nim itself (or rather, antivirus heuristics). I don't believe anything further can be done in the scoop installer.