Summary
Togoder Security scanned the Go package gopkg.in/square/go-jose.v2@v2.6.0 on Nov 13, 2026. An AI review of 31 source files produced 1 medium, 3 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 4
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 |
|---|---|---|
| encoding.go | medium | 1 finding |
| signing.go | low | 1 finding |
| symmetric.go | low | 2 findings |
| asymmetric.go | safe | Clear |
| cipher/cbc_hmac.go | safe | Clear |
| cipher/concat_kdf.go | safe | Clear |
| cipher/ecdh_es.go | safe | Clear |
| cipher/key_wrap.go | safe | Clear |
| crypter.go | safe | Clear |
| cryptosigner/cryptosigner.go | safe | Clear |
| doc.go | safe | Clear |
| jose-util/main.go | safe | Clear |
| jose-util/utils.go | safe | Clear |
| json/decode.go | safe | Clear |
| json/encode.go | safe | Clear |
| json/indent.go | safe | Clear |
| json/scanner.go | safe | Clear |
| json/stream.go | safe | Clear |
| json/tags.go | safe | Clear |
| jwe.go | safe | Clear |
| jwk-keygen/main.go | safe | Clear |
| jwk.go | safe | Clear |
| jws.go | safe | Clear |
| jwt/builder.go | safe | Clear |
| jwt/claims.go | safe | Clear |
Show 6 more files
| File | Verdict | Result |
|---|---|---|
| jwt/doc.go | safe | Clear |
| jwt/errors.go | safe | Clear |
| jwt/jwt.go | safe | Clear |
| jwt/validation.go | safe | Clear |
| opaque.go | safe | Clear |
| shared.go | safe | Clear |
Frequently asked questions
Is gopkg.in/square/go-jose.v2 safe to use?
No confirmed malware was found in gopkg.in/square/go-jose.v2@v2.6.0, but the review flagged 1 medium, 3 low severity findings for risky patterns worth checking before you rely on it.
Does gopkg.in/square/go-jose.v2 contain malware?
No malware was identified in gopkg.in/square/go-jose.v2@v2.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 gopkg.in/square/go-jose.v2 checked?
Togoder Security downloaded the published Go package and had an AI model read its 31 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 gopkg.in/square/go-jose.v2 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 gopkg.in/square/go-jose.v2@v2.6.0, cost nothing.