opencode v1.1.14 meet "Part of this app has been blocked" in Windows
Description
This application has been partially blocked.
detail information: Some features of Bun may not work properly because we are unable to confirm the publisher of the application attempting to load .3aebfcb94dbfefd5-00000000.dll.
And then we can not use the opencode.exe or opencode-cli.exe, they looks like hanged up, but can break with ctrl+c.
Plugins
Nothing
OpenCode version
1.1.14
Steps to reproduce
- The first time to download the opencode-desktop of windows from opencode.ai, during the installation I have changed the path from default one to
D:\tools\opencode - Add the installed path to environment %PATH%
- open a cmd or powershell,
- type opencode or opencode-cli, the app is blocked by windows
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal
This issue might be a duplicate of existing issues. Please check:
- #7951: Reports the same Windows DLL signing issue (Bun unable to confirm publisher of .dll files)
- #7919: Windows Defender flagging OpenCode as malicious due to unsigned DLLs generated in temp folder
Both issues are related to the same root cause: unsigned Bun-generated DLL files triggering Windows security warnings. Feel free to ignore if your specific case differs from these.
Get-FileHash '.\OpenCode Desktop Installer.exe'
Algorithm Hash Path
SHA256 E1611CD711064318D4885539A6F7568D94B08E1288BE48FFAE329C03CE64866E C:\Users\37855\Desktop\tmp\x...
Here is the log of running with opencode --log-level="DEBUG" --print-logs
INFO 2026-01-12T13:08:55 +371ms service=default version=1.1.14 args=["--log-level=DEBUG","--print-logs"] opencode INFO 2026-01-12T13:08:55 +2ms service=config path=C:\Users\37855.config\opencode\config.json loading INFO 2026-01-12T13:08:55 +2ms service=config path=C:\Users\37855.config\opencode\opencode.json loading INFO 2026-01-12T13:08:55 +0ms service=config path=C:\Users\37855.config\opencode\opencode.jsonc loading ERROR 2026-01-12T13:08:55 +142ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "C:\Users\37855\AppData\Local\Temp.3aebfdc15e3f2fe5-00000001.dll": error code 4556 rejection ERROR 2026-01-12T13:08:55 +0ms service=default Error: Failed to initialize OpenTUI render library: Failed to open library "C:\Users\37855\AppData\Local\Temp.3aebfdc15e3f2fe5-00000001.dll": error code 4556
this is a false alarm but we will get code signing to fix it