Summary
Togoder Security scanned the Go package github.com/stretchr/testify@v1.5.1 on Nov 13, 2026. An AI review of 22 source files produced 2 low severity findings. No malicious behavior was identified; the low-severity notes are informational.
Findings 2
What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.
Login to view
Login to view
Files reviewed
| File | Verdict | Result |
|---|---|---|
| assert/assertions.go | low | 2 findings |
| assert/assertion_format.go | safe | Clear |
| assert/assertion_forward.go | safe | Clear |
| assert/assertion_order.go | safe | Clear |
| assert/doc.go | safe | Clear |
| assert/errors.go | safe | Clear |
| assert/forward_assertions.go | safe | Clear |
| assert/http_assertions.go | safe | Clear |
| doc.go | safe | Clear |
| http/doc.go | safe | Clear |
| http/test_response_writer.go | safe | Clear |
| http/test_round_tripper.go | safe | Clear |
| mock/doc.go | safe | Clear |
| mock/mock.go | safe | Clear |
| require/doc.go | safe | Clear |
| require/forward_requirements.go | safe | Clear |
| require/require.go | safe | Clear |
| require/require_forward.go | safe | Clear |
| require/requirements.go | safe | Clear |
| suite/doc.go | safe | Clear |
| suite/interfaces.go | safe | Clear |
| suite/suite.go | safe | Clear |
Affected version ranges
None of the 3 scanned versions of github.com/stretchr/testify are flagged high or critical. The latest scanned version, v1.12.1, is medium risk. Only versions we have scanned are listed; unscanned versions between them are not covered.
| Versions | Verdict | Count | Range | Top findings |
|---|---|---|---|---|
| v1.12.1 | Needs review | 1 | v1.12.1 | Login to view |
| v1.8.2 | No issues | 1 | v1.8.2 | |
| v1.5.1 | Low risk | 1 | v1.5.1 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of github.com/stretchr/testify
Frequently asked questions
Is github.com/stretchr/testify safe to use?
Our AI source review of github.com/stretchr/testify@v1.5.1 found no malicious code. It produced only low-severity, informational notes.
Does github.com/stretchr/testify contain malware?
No malware was identified in github.com/stretchr/testify@v1.5.1 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 github.com/stretchr/testify checked?
Togoder Security downloaded the published Go package and had an AI model read its 22 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 github.com/stretchr/testify 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 github.com/stretchr/testify@v1.5.1, cost nothing.