fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Windows Defender reports trojan in NPM package

Open jsurbaitis opened this issue 7 years ago • 7 comments

Environment Information

  • Package version(s): 6.158.0 (older had this issue too)
  • Browser and OS versions: Windows 10.0.17763

Actual behavior:

After installing the office-ui-fabric-react package (npm install --save office-ui-fabric-react), Windows Defender complains about a trojan in some of the files: image

This has affected me and several colleagues starting yesterday afternoon (PST).

Expected behavior:

No trojans found 😃

Priorities and help requested:

Are you willing to submit a PR to fix? n/a, willing to help

Requested priority: Blocking development

jsurbaitis avatar Mar 21 '19 18:03 jsurbaitis

I just saw this as well. I'm using 6.150.0

amygl avatar Mar 21 '19 18:03 amygl

Thanks for raising awareness on this! We're investigating the issue right now working with the Windows Defender team to see what's happening since we believe this to be a false positive.

khmakoto avatar Mar 21 '19 18:03 khmakoto

If anyone would like to inspect the code for themselves, here are some links for convenience. (Definitely no trojans, just standard boring code.)

https://unpkg.com/[email protected]/lib/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.doc.js https://unpkg.com/[email protected]/lib-amd/components/ExtendedPicker/PeoplePicker/ExtendedPeoplePicker.doc.js https://unpkg.com/[email protected]/lib/components/Nav/Nav.doc.js https://unpkg.com/[email protected]/lib-amd/components/Nav/Nav.doc.js

ecraig12345 avatar Mar 21 '19 18:03 ecraig12345

Engaging with the Windows Defender team.

dzearing avatar Mar 21 '19 18:03 dzearing

They have resolved on their side. We are following up on an ETA of how soon customers should see the fix.

dzearing avatar Mar 21 '19 20:03 dzearing

Ok, this should be resolved now. If you continue to experience the error, try clearing the Defender's cache:

  1. Open command prompt as administrator and change directory to c:\Program Files\Windows Defender
  2. Run “MpCmdRun.exe -removedefinitions -dynamicsignatures”
  3. Run “MpCmdRun.exe -SignatureUpdate”

Can the OP please confirm this is working for them?

micahgodbolt avatar Mar 21 '19 21:03 micahgodbolt

@micahgodbolt that works! Thank you all for the quick turnaround on this.

jsurbaitis avatar Mar 21 '19 22:03 jsurbaitis