Moq

Moq is the most popular and friendly mocking framework for .NET.

4.21.0Latest, 24 Sep 2026
1.3BDownloads, all time
0Advisories on the latest
1Advisories, all versions
BSD-3-ClauseLicence
6.4KStars
5.0/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Low Moq v4.20.0-rc to 4.20.1 share hashed user data GHSA-6r78-m64m-qwcf Fixed in 4.20.2 10 Aug 2023

In the news

On Hacker News

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.