Skip to content

gauge-java plugin v1.0.2 is being removed by Windows Defender #959

Closed

Description

@swpickle

Describe the bug
Windows Defender is flagging gauge-java plugin v1.0.2 with Trojan:Win32/Bearfoos.A!ml

We use several Azure Windows VMs to run automation. After updating to the latest plugin versions, the automation started failing with the message

[Gauge]
Failed to start gauge API: Failed to find the implementation for: java.
C:\Users<username>\AppData\Roaming\gauge\plugins\java\1.0.2\java.json does not exist.

Your Environment Information -----------
windows, 1.6.28, a120821
html-report (4.4.6), java (1.0.2), json-report (1.0.2), screenshot (1.0.2), spectacle (0.2.4), xml-report (1.0.1)


Digging into the Windows Defender logs found that the the files were removed due to finding
Trojan:Win32/Bearfoos.A!ml

Image
gauge -v

Gauge version: 1.6.28
Commit Hash: a120821

Plugins

html-report (4.4.6)
java (1.0.2)
json-report (1.0.2)
screenshot (1.0.2)
spectacle (0.2.4)
xml-report (1.0.1)

Activity

  1. chadlwilson commented on Aug 6, 2026

    @chadlwilson
    Contributor

    Unfortunately Windows Defender's "machine learning" detection (!ml) is full of false positives so this is likely noise. Probably made worse by gauge binaries not being signed by $$$ certs that are part of Windows' trust initiative.

    it's clear on virustotal as one would expect: https://www.virustotal.com/gui/file/29749b72a972a36992c5a44b3dd232182d4115f3fbea0d8f78dbf98b0eb0b0e9?nocache=1

    Tried releasing another 1.0.3 bump to see if that one is clear.

  2. swpickle commented on Aug 7, 2026

    @swpickle
    Author

    I know you already closed this, but it got worse.
    Defender isn't even allowing 1.0.3 to be installed.
    At least with 1.0.2, it could be installed, but might disappear later during gauge execution.

  3. chadlwilson commented on Aug 7, 2026

    @chadlwilson
    Contributor

    Is this a corporate/company machine with group policy?

  4. swpickle commented on Aug 7, 2026

    @swpickle
    Author

    Yes, it is a corporate VM. I got around the issue by adding an exception to Defender for the executable with the install directory/temp folders/etc.

    So far it is working

  5. chadlwilson commented on Aug 7, 2026

    @chadlwilson
    Contributor

    There's really nothing a free-to-use piece of open source software with no funding and no dedicated team can do about opaque Defender rules and corporate policies. It works fine for me on a Windows 11 VM so 🤷‍♂️ The only likely mitigation is signing, but Microsoft forced an approach to signing software that requires spending money on increasingly expensive signing certificates linked to distinct legal entities, of course almost entirely issued by only other commercial orgs. Money that projects do not have, and which the companies using software do not fund. That's just Windows life for you.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions