edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

gel project init in windows pwsh completely made my antivirus (BitDefender) freak out and quarantine files

Open Lars-O-Knudsen opened this issue 7 months ago • 4 comments

  • Gel Version:
  • PS C:\Users\Fanless AMD\Documents\Develop\projects\sql\gel> gel query 'select sys::get_version_as_str()' Connecting to Gel instance 'gel' at localhost:10700... gel error: I/O error. Check your connection to the database: ClientConnectionFailedError: Der kunne ikke oprettes forbindelse, fordi destinationscomputeren aktivt nægtede det. (os error 10061)
  • Gel CLI Version: Gel CLI 7.4.0+a0caba5
  • OS Version: Win 11 / PowerShell 7.5.1

Steps to Reproduce:

  1. I tried to run gel project init
  2. But after a long time of installing the pwsh shell simply closed, and the anti virus came up and said it had prevented a malicious attack and had quarantined a lot of files. See screen shots

Image Image

  1. Things dont work as you can see from the version query above. The local instance is inactive.

gel instance list ┌───────┬──────┬─────────────────┬─────────────┬──────────┐ │ Kind │ Name │ Location │ Version │ Status │ ├───────┼──────┼─────────────────┼─────────────┼──────────┤ │ local │ gel │ localhost:10700 │ 6.7+0d93b1f │ inactive │ └───────┴──────┴─────────────────┴─────────────┴──────────┘

  1. ==> Please advise how I can clean up this mess and either make installation work or remove it completely from pwsh as well as wsl

Lars-O-Knudsen avatar May 29 '25 00:05 Lars-O-Knudsen

You can have this as well

Image

Lars-O-Knudsen avatar May 29 '25 00:05 Lars-O-Knudsen

Yeah, Windows malware detection has been a whack-a-mole for us, we'll check out this particular issue. In the meantime, running in WSL or using Docker should work if that's something that you can do.

scotttrinh avatar May 29 '25 00:05 scotttrinh

Filed case ID 00968934 with BitDefender as a false positive.

If you can, please submit these quarantined files as a false-positive here:

https://www.bitdefender.com/en-us/business/submit

mmastrac avatar May 29 '25 20:05 mmastrac

I would recommend that you whitelist the AppData\Roaming\edgedb, AppData\Local\EdgeDBand Documents\Develop to prevent BitDefender from continuing to improperly flag these development files.

mmastrac avatar May 29 '25 20:05 mmastrac