Summary
Togoder Security scanned the Go package go.uber.org/mock@v0.6.0 on Nov 13, 2026. An AI review of 24 source files produced 1 medium, 2 low severity findings. The overall verdict is medium: the findings flag risky but common patterns that the package's purpose explains (dynamic code, telemetry, native installers, broad file or network access), not malware.
Findings 3
What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.
Files reviewed
| File | Verdict | Result |
|---|---|---|
| mockgen/mockgen.go | medium | 3 findings |
| gomock/call.go | safe | Clear |
| gomock/callset.go | safe | Clear |
| gomock/controller.go | safe | Clear |
| gomock/doc.go | safe | Clear |
| gomock/internal/mock_gomock/mock_matcher.go | safe | Clear |
| gomock/matchers.go | safe | Clear |
| gomock/string.go | safe | Clear |
| mockgen/archive.go | safe | Clear |
| mockgen/deprecated.go | safe | Clear |
| mockgen/generic.go | safe | Clear |
| mockgen/gob.go | safe | Clear |
| mockgen/model/model.go | safe | Clear |
| mockgen/model/model_gotypes.go | safe | Clear |
| mockgen/package_mode.go | safe | Clear |
| mockgen/parse.go | safe | Clear |
| mockgen/version.go | safe | Clear |
| sample/concurrent/concurrent.go | safe | Clear |
| sample/concurrent/mock/concurrent_mock.go | safe | Clear |
| sample/imp1/imp1.go | safe | Clear |
| sample/imp2/imp2.go | safe | Clear |
| sample/imp3/imp3.go | safe | Clear |
| sample/imp4/imp4.go | safe | Clear |
| sample/user.go | safe | Clear |
Scanned versions of go.uber.org/mock
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| v0.6.0 | Needs review | 24 | Nov 13, 2026 |
Frequently asked questions
Is go.uber.org/mock safe to use?
No confirmed malware was found in go.uber.org/mock@v0.6.0, but the review flagged 1 medium, 2 low severity findings for risky patterns worth checking before you rely on it.
Does go.uber.org/mock contain malware?
No malware was identified in go.uber.org/mock@v0.6.0 when Togoder Security scanned it on Nov 13, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was go.uber.org/mock checked?
Togoder Security downloaded the published Go package and had an AI model read its 24 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan go.uber.org/mock together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in go.uber.org/mock@v0.6.0, cost nothing.