Summary
Togoder Security scanned the Go package github.com/golang/oauth2@v0.38.0 on Nov 13, 2026. An AI review of 62 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 |
|---|---|---|
| google/externalaccount/executablecredsource.go | medium | 1 finding |
| google/downscope/downscoping.go | low | 1 finding |
| google/externalaccount/basecredentials.go | low | 2 findings |
| amazon/amazon.go | safe | Clear |
| authhandler/authhandler.go | safe | Clear |
| bitbucket/bitbucket.go | safe | Clear |
| cern/cern.go | safe | Clear |
| clientcredentials/clientcredentials.go | safe | Clear |
| deviceauth.go | safe | Clear |
| endpoints/endpoints.go | safe | Clear |
| facebook/facebook.go | safe | Clear |
| fitbit/fitbit.go | safe | Clear |
| foursquare/foursquare.go | safe | Clear |
| github/github.go | safe | Clear |
| gitlab/gitlab.go | safe | Clear |
| google/appengine.go | safe | Clear |
| google/default.go | safe | Clear |
| google/doc.go | safe | Clear |
| google/error.go | safe | Clear |
| google/externalaccount/aws.go | safe | Clear |
| google/externalaccount/filecredsource.go | safe | Clear |
| google/externalaccount/header.go | safe | Clear |
| google/externalaccount/programmaticrefreshcredsource.go | safe | Clear |
| google/externalaccount/urlcredsource.go | safe | Clear |
| google/google.go | safe | Clear |
Show 37 more files
| File | Verdict | Result |
|---|---|---|
| google/internal/externalaccountauthorizeduser/externalaccountauthorizeduser.go | safe | Clear |
| google/internal/impersonate/impersonate.go | safe | Clear |
| google/internal/stsexchange/clientauth.go | safe | Clear |
| google/internal/stsexchange/sts_exchange.go | safe | Clear |
| google/jwt.go | safe | Clear |
| google/sdk.go | safe | Clear |
| heroku/heroku.go | safe | Clear |
| hipchat/hipchat.go | safe | Clear |
| instagram/instagram.go | safe | Clear |
| internal/doc.go | safe | Clear |
| internal/oauth2.go | safe | Clear |
| internal/token.go | safe | Clear |
| internal/transport.go | safe | Clear |
| jira/jira.go | safe | Clear |
| jws/jws.go | safe | Clear |
| jwt/jwt.go | safe | Clear |
| kakao/kakao.go | safe | Clear |
| linkedin/linkedin.go | safe | Clear |
| mailchimp/mailchimp.go | safe | Clear |
| mailru/mailru.go | safe | Clear |
| mediamath/mediamath.go | safe | Clear |
| microsoft/microsoft.go | safe | Clear |
| nokiahealth/nokiahealth.go | safe | Clear |
| oauth2.go | safe | Clear |
| odnoklassniki/odnoklassniki.go | safe | Clear |
| paypal/paypal.go | safe | Clear |
| pkce.go | safe | Clear |
| slack/slack.go | safe | Clear |
| spotify/spotify.go | safe | Clear |
| stackoverflow/stackoverflow.go | safe | Clear |
| token.go | safe | Clear |
| transport.go | safe | Clear |
| twitch/twitch.go | safe | Clear |
| uber/uber.go | safe | Clear |
| vk/vk.go | safe | Clear |
| yahoo/yahoo.go | safe | Clear |
| yandex/yandex.go | safe | Clear |
Scanned versions of github.com/golang/oauth2
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| v0.38.0 | Needs review | 62 | Nov 13, 2026 |
Frequently asked questions
Is github.com/golang/oauth2 safe to use?
No confirmed malware was found in github.com/golang/oauth2@v0.38.0, but the review flagged 1 medium, 3 low severity findings for risky patterns worth checking before you rely on it.
Does github.com/golang/oauth2 contain malware?
No malware was identified in github.com/golang/oauth2@v0.38.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 github.com/golang/oauth2 checked?
Togoder Security downloaded the published Go package and had an AI model read its 62 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/golang/oauth2 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/golang/oauth2@v0.38.0, cost nothing.