Togoder security

Go module security report

github.com/stretchr/testify@v1.5.1 security report

No malicious code found; minor notes only.

Low risk Version v1.5.1 Files reviewed 22 Size 255.9 KB Scanned

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.

0
critical
0
high
0
medium
2
low

Findings 2

Login to view the findings

What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.

Files reviewed

FileVerdictResult
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.

v1.5.1v1.12.1
VersionsVerdictCountRangeTop 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

VersionVerdictFilesScanned
v1.12.1 Needs review 39 Nov 2, 2026
v1.8.2 No issues 26 Nov 13, 2026
v1.5.1 Low risk 22 Nov 13, 2026

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.

Related security reports