Skip to content

Privacy concerns regarding Moq library in Hangfire #2266

Open
@todorovicg

Description

@todorovicg

Hi,

This isn't really an issue, but rather a concern.
I am writing to discuss a concern regarding the recent changes introduced in the Moq library, specifically starting from version 4.20.x.
This library is used in Hangfire as well.

After 4.20.x changes, library has exhibited behavior similar to malware (or spyware), collecting and sending unauthorized (apparently hashed) emails from Git to external cloud services. This, of course, is done without any knowledge of a consumer where a potentially malicious code will execute after "quiet period" ends.

This may pose a significant privacy risk for this library and it's contributors and therefore I'd like to propose to author of Hangfire to find an alternative as a long term solution. There are a couple of libraries that similar to Moq like NSubstitute for example.

One of the short-term solutions is to remain on version 4.18.4 and below which was proven to be safe and clean.

Sources:
https://github.com/moq/moq/issues/1370
https://github.com/moq/moq/issues/1372
https://www.bleepingcomputer.com/news/security/popular-open-source-project-moq-criticized-for-quietly-collecting-data/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions