Skip to content

Windows Defender reports Trojan:Win32/Wacatac.H!ml when launching the latest version of OpenCode #7919

Closed

Description

@Suaig

Hi team,

I encountered a security issue when launching the latest version of OpenCode on Windows.
Windows Defender immediately identifies the startup process as malicious activity and reports the threat Trojan:Win32/Wacatac.H!ml.

Environment:

  • OS: Windows 10 / Windows 11 (Windows 11)
  • OpenCode version: 1.1.8+ all of them

Detection details from Windows Defender:

  • Threat: Trojan:Win32/Wacatac.H!ml
  • Status: Active
  • Description: This program is dangerous and executes commands from an attacker.
  • Affected files are temporary DLLs generated under:
    C:\Users\{UserName}\AppData\Local\Temp\{random}.dll

(Example from my system:)

C:\Users\xxx\AppData\Local\Temp\3aebf761ddfd7fd5-00000001.dll
C:\Users\xxx\AppData\Local\Temp\3aebf761ded7a7ed-00000000.dll
C:\Users\xxx\AppData\Local\Temp\3aebf67cd73efd-00000001.dll
C:\Users\xxx\AppData\Local\Temp\3aebf67d8c57b6f5-00000000.dll

Steps to Reproduce:

  1. Install the latest version of OpenCode
  2. Launch the application
  3. Windows Defender immediately pops up a threat alert

Expected behavior:
Launching OpenCode should not trigger antivirus warnings.

Actual behavior:
Windows Defender flags the startup as malware and quarantines or blocks generated temp DLLs, preventing the program from running normally.

Additional notes:

  • This may be a false positive, but it severely affects normal usage.
  • Please help confirm whether this behavior is expected, and whether code signing or packaging needs adjustment.

Thanks! Let me know if you need more logs or diagnostic information.

Plugins

No response

OpenCode version

1.1.8+ all of them

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. theepicsaxguy commented on Jan 12, 2026

    @theepicsaxguy

    Happens to me too

  3. kfuglsang commented on Jan 12, 2026

    @kfuglsang

    Same here

  4. silverkhan commented on Jan 12, 2026

    @silverkhan

    I have the same problem.

  5. myt960 commented on Jan 12, 2026

    @myt960

    Same here

  6. ham-zax commented on Jan 12, 2026

    @ham-zax

    Same here

  7. rekram1-node commented on Jan 12, 2026

    @rekram1-node
    Collaborator

    I think we need code signing to prevent this

  8. vincentlarkin commented on Jan 13, 2026

    @vincentlarkin

    Same issue, was also blocked by Edge download security.

  9. A-Hsiang commented on Jan 13, 2026

    @A-Hsiang

    Same issue.

  10. developerchengang commented on Jan 13, 2026

    @developerchengang

    Same issue

  11. teo8860 commented on Jan 13, 2026

    @teo8860

    Same issue

  12. thdxr commented on Jan 14, 2026

    @thdxr
    Member

    this will probably keep happening until we get through the code signing process

    opencode has a few binary deps (opentui for example) and on first start extracts them to a tmp folder

    unfortunately some virus protectors are treating this is always malicious behavior

  13. bagleytravis68 commented on Jan 15, 2026

    @bagleytravis68

    This is a bad one. Can't make it stop or get past it. Causes Opencode to just hang.

  14. c4droid369 commented on Jan 16, 2026

    @c4droid369

    Same issue for me

  15. bbagwang commented on Jan 16, 2026

    @bbagwang

    It happened again in 1.1.23.
    1.1.20 was okay.

  16. Nitmi commented on Jan 17, 2026

    @Nitmi

    same here

  17. 77tb commented on Jan 17, 2026

    @77tb

    Me too, v1.1.25

  18. repfigit commented on Jan 17, 2026

    @repfigit

    me too. unusable

  19. stefaneidelloth commented on Jan 22, 2026

    @stefaneidelloth

    In addition to Defender warning for the installer:

    Image

    there is also a Cordex warning when starting the app from the installer:

    Image
  20. github-actions commented on Mar 28, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  21. Hona commented on Mar 29, 2026

    @Hona
    Member

    As of OpenCode v1.3.4 across the CLI + Desktop apps, we have full code signing - so there should be no more warnings.

    Please let me know otherwise

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions