microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.49k stars 2.44k forks source link

Ngrok Executable Flagged as Potentially Unwanted Software by Microsoft Defender #6654

Closed deena211 closed 6 days ago

deena211 commented 3 months ago

We encountered an issue where the Ngrok executable, which is used for connecting the parent bot to the child bot, was flagged and quarantined as potentially unwanted software by Microsoft Defender. This software is mentioned as tunneling software to connect the bot locally in the Microsoft Bot Framework documentation.

Ngrok was used by us for a very long time and was working fine. And it suddenly started getting blocked by Windows Defender.

The error message in Windows Defender is "Defender detected and quarantined active 'PUA /Ngrok!MTB' in file 'ngrok.exe' during a scheduled scan."

We request the Bot Framework SDK team to review the documentation and potentially update the guidance regarding the use of Ngrok or suggest any other alternate software, ensuring it is not flagged by security systems like Microsoft Defender. Any additional steps to whitelist or properly configure the use of Ngrok in the development environment would be highly appreciated.

Maurizioxx commented 2 months ago

i have this issue, windows defender: PUA:Win32/Packunwan. when i try run npx expo start --tunnel in my react native expo project

ZarmDev commented 2 months ago

I have the exact same problem as Maurizioxx! I'm glad I found someone else with this issue

rmill2016 commented 1 month ago

Also running into this issue as well starting a new RN Ignite Boilerplate npx ignite-cli@latest new xyz

tracyboehrer commented 6 days ago

NGrok is being removed from Emulator. We will also remove instructions for it's use from Samples and docs. Use devtunnels instead. https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows