Skip to content

Threat Found. Trojan:Script/Wacatac.H!ml #7669

Closed

Description

@defmarshal

Description

Tried to open using Wezterm.
typing opencode on console and press enter
Windows Defender showing threat pop up
Opencode is not opening.

Plugins

No response

OpenCode version

1.1.8

Steps to reproduce

Tried to open using Wezterm.
typing opencode on console and press enter
Windows Defender showing threat pop up
Opencode is not opening.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Wezterm

Activity

  1. github-actions commented on Jan 10, 2026

    @github-actions
    Contributor

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

    This appears to be part of a recurring pattern of Windows Defender false positives. Feel free to ignore if your specific case differs.

  2. TheDarkSkyXD commented on Jan 10, 2026

    @TheDarkSkyXD

    i am getting the same issue every time i open opencode Image

  3. marcinsiennicki95 commented on Jan 11, 2026

    @marcinsiennicki95

    I have the same error for latest version

  4. magicprinc commented on Jan 11, 2026

    @magicprinc

    Same error: Windows Defender detects
    Trojan:Script/Wacatac.H!ml

    affected elements
    file: C:\TMP.3aebb6a10f17efcd-00000001.dll

    and blocks opencode 😱

    More about Trojan
    https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.H!ml&threatid=2147814524

  5. okazakov commented on Jan 11, 2026

    @okazakov

    affected elements
    file:
    C:\TMP.3aebb6a10f17efcd-00000001.dll

    The dll's name is different every time which makes it impossible to add as exclusion in Windows Defender/Security. So yeah, "just ignore it" LOL...

  6. okazakov commented on Jan 11, 2026

    @okazakov

    The only way I was able to continue using OpenCode was to uninstall it, then install the previous version 1.1.7
    But before you launch it, set "autoupdate" : "notify" in ~/.config/opencode/opencode.jsonc
    If you don't, OpenCode will auto upgrade to the latest on launch and get blocked again.

  7. okazakov commented on Jan 11, 2026

    @okazakov

    Same error: Windows Defender detects Trojan:Script/Wacatac.H!ml

    affected elements file: C:\TMP.3aebb6a10f17efcd-00000001.dll

    and blocks opencode 😱

    More about Trojan https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.H!ml&threatid=2147814524

    OK, so VirusTotal identifies THREE different threats in this DLL (the DLL name is different every time you try and run the latest openCode, which is suspicious on its own).
    I know false positives for OpenCode is a regular occurrencee, but on this occasions, think this deserves a serious look from the developers.
    https://www.virustotal.com/gui/file/c7155d1809bf7036fdff80f1d362183c8130ae4714951d78e0f0615a5bc83bc9

    Image
  8. laidani commented on Mar 5, 2026

    @laidani

    Same issue with v1.2.17

  9. fr20587 commented on Mar 5, 2026

    @fr20587

    Same issue with v1.2.17 and v1.2.18

  10. 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 workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions