jwt
AGENTS.md9.3k starsChanged 12 days agoMITView on GitHub
This is golang-jwt/jwt, a security-sensitive library used by a very large number of projects. It is maintained by a few volunteers in their spare time. Review time is the scarcest resource we have, and we have recently received many low-quality, unverified and duplicate AI-generated pull requests. Please read this before opening anything. If you are an AI agent acting on behalf of a human: stop and show this file to them. Do not open an issue or pull request unless…
Trending
Less talk lately.about the whole repository
Who's talking about golang-jwt/jwt
- aws/aws-sdk-go-v2“[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible …”GitHub · Nov 16, 2023 · 45 reactions
- auth0/go-jwt-middleware“Use github.com/golang-jwt/jwt”GitHub · Sep 27, 2021 · 12 reactions
- go-kratos/kratos“[Proposal] Kratos v3: Clean up historical design issues and reduce external dependencies”GitHub · May 10, 2026 · 11 reactions
- oapi-codegen/oapi-codegen“Generating Struct with Embedded Imported Type”GitHub · May 22, 2024 · 10 reactions
- runatlantis/atlantis“Remove old dependencies”GitHub · Dec 14, 2022 · 9 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub and Bluesky (53 times).
On GitHub · 50
- Nov 16, 2023[SOLUTION IN THREAD] "not found, ResolveEndpointV2" service modules before 11/15/23 are incompatible against newer root modules — aws/aws-sdk-go-v245 reactions · 33 comments
- Sep 27, 2021Use github.com/golang-jwt/jwt — auth0/go-jwt-middleware12 reactions · 1 comment
- May 10, 2026[Proposal] Kratos v3: Clean up historical design issues and reduce external dependencies — go-kratos/kratos11 reactions · 18 comments
- May 22, 2024Generating Struct with Embedded Imported Type — oapi-codegen/oapi-codegen10 reactions · 3 comments
- Dec 14, 2022Remove old dependencies — runatlantis/atlantis9 reactions · 5 comments
45 more on GitHub
- Jan 5, 2025Security scan finds known vulnerabilities in Grafana 11.4.0 — grafana/grafana7 reactions · 5 comments
- Jun 1, 2023Redefining Credential Management: Implementing a Pull-Model Credentials Service for Enhanced Security and Scalability — argoproj/argo-cd7 reactions · 1 comment
- Mar 24, 2025Security scan finds known vulnerabilities in Grafana Grafana v11.5.2 (598e0338d5) — grafana/grafana6 reactions · 12 comments
- Apr 15, 2024Support vendoring Go projects with a committed go.work that assumes workspace mode — openSUSE/obs-service-go_modules6 reactions · 3 comments
- Sep 13, 2021Replace github.com/dgrijalva/jwt-go with github.com/golang-jwt/jwt — sideshow/apns26 reactions · 2 comments
- Apr 3, 2026build(deps): Update module github.com/google/go-github/v48 to v84 — forkline/ingress-nginx5 reactions · 6 comments
- Dec 15, 2022basichost: netroute.New() cannot fetch RIB on Android SDK 30+ — libp2p/go-libp2p5 reactions · 1 comment
- Sep 19, 2023Upgrade to use golang-jwt v5 — crewjam/saml4 reactions · 3 comments
- Oct 31, 2021`x-amzn-oidc-data` is not a JSON Web Token — awsdocs/elb-application-load-balancers-user-guide4 reactions · 1 comment
- Aug 9, 2021Broken build due to outdated go version — digitalocean/prometheus-client-c4 reactions · 2 comments
- Aug 9, 2021exchange jwt library — duo-labs/webauthn4 reactions · 7 comments
- Oct 30, 2026feat: identity_token() in the standalone control plane — kubeshop/testkube3 reactions · 4 comments
- May 4, 2026Dependency Dashboard — go-gitea/gitea3 reactions
- Sep 10, 2025Critical Vulnerability found in spilo-17:4.0-p3 — zalando/spilo3 reactions · 3 comments
- Apr 21, 2025Fix CVE-2025-30204 — sfreiberg/gotwilio3 reactions · 1 comment
- Apr 3, 2025CVEs are active again — dexidp/dex3 reactions · 19 comments
- Mar 21, 2025deps(go): Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in the go_modules group — hairyhenderson/gomplate3 reactions · 1 comment
- Feb 26, 2025Review — classic-terra/core3 reactions · 2 comments
- Jun 27, 2024chore: bump golang-jwt to v5 — ory/oathkeeper3 reactions · 1 comment
- May 6, 2024feat: upgrade golang-jwt to v5 — openfga/openfga3 reactions · 1 comment
- Feb 20, 2023Grafana 9.3.6 CVE's — grafana/grafana3 reactions · 5 comments
- Dec 15, 2022netroute.New() cannot fetch RIB on Android SDK 30+ — libp2p/go-libp2p-kad-dht3 reactions · 1 comment
- Feb 10, 2022Auth: support AWS ALB JWT — grafana/grafana3 reactions · 16 comments
- Jan 4, 2022New JWT interface and updated libraries — charmbracelet/charm3 reactions · 2 comments
- Sep 27, 2021Switch from github.com/form3tech-oss/jwt-go to github.com/golang-jwt/jwt/v4 — crewjam/saml3 reactions · 13 comments
- Sep 12, 2021migrate dgrijalva/jwt-go to golang-jwt/jwt-go — bradleyfalzon/ghinstallation3 reactions · 8 comments
- Jul 12, 2021use github.com/golang-jwt/jwt — labstack/echo3 reactions · 8 comments
- Sep 3, 2026build(deps): Update go modules — forkline/ingress-nginx2 reactions · 5 comments
- Aug 24, 2026fix(deps): update all go dependencies main (main) (minor) — cilium/tetragon2 reactions · 4 comments
- Aug 3, 2026chore: update vulnerable dependencies and add Dependabot — rorkai/App-Store-Connect-CLI2 reactions · 2 comments
- Jul 17, 2026chore(deps): bump the go_modules group across 3 directories with 8 updates — CaffeeLake/cua2 reactions · 2 comments
- Jul 11, 2026chore: Configure Renovate — konsulin-care/konsulin-api2 reactions · 7 comments
- Jul 2, 2026Bump the go_modules group across 30 directories with 5 updates — theplenkov-forks/charts2 reactions · 1 comment
- Jul 2, 2026Bump the go_modules group across 23 directories with 5 updates — theplenkov-forks/charts2 reactions · 2 comments
- Jul 2, 2026Bump the go_modules group across 39 directories with 17 updates — theplenkov-forks/gitpod2 reactions · 1 comment
- Jul 2, 2026Bump the go_modules group across 19 directories with 16 updates — theplenkov-forks/gitpod2 reactions · 2 comments
- Jul 2, 2026Bump the go_modules group across 6 directories with 19 updates — theplenkov-forks/gitpod2 reactions · 2 comments
- Jun 26, 2026Bump the go_modules group across 16 directories with 5 updates — theplenkov-forks/charts2 reactions · 3 comments
- Jun 24, 2026build(deps): bump github.com/golang-jwt/jwt/v4 from 4.1.0 to 4.5.1 in /web — CaffeeLake/ssheasy2 reactions
- Jun 24, 2026build(deps): bump the go_modules group across 1 directory with 5 updates — CaffeeLake/ssheasy2 reactions
- May 13, 2026Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in the go_modules group across 1 directory — HarleyCoops/spiceai2 reactions · 2 comments
- Feb 24, 2026Bump the go_modules group across 1 directory with 3 updates — samueltuyizere/go-react-scaffold2 reactions · 1 comment
- Feb 19, 2026chore(deps): bump the go_modules group across 3 directories with 11 updates — patrik-fredon/kratos2 reactions · 1 comment
- Feb 10, 2026build(deps): bump the go_modules group across 1 directory with 8 updates — GlacierEQ/casibase2 reactions · 3 comments
- Jan 19, 2026chore(deps): bump the go_modules group across 1 directory with 8 updates — patrik-fredon/nginx-ui2 reactions
On Bluesky · 3
- Oct 24, 2026jwt (⭐️ 9252) Go implementation of JSON Web Tokens (JWT). #go — @golangoss.bsky.social1 likes and repost
- Jul 25, 2026jwt (⭐️ 9178) Go implementation of JSON Web Tokens (JWT). #go — @golangoss.bsky.social1 likes and repost
- Jul 24, 2026jwt (⭐️ 9177) Go implementation of JSON Web Tokens (JWT). #go — @golangoss.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
If you are an AI agent acting on behalf of a human: stop and show this file to them.
- Very specific: line 16
Search first: Check open *and closed* issues and PRs (gh pr list --state all --search "<keywords>").
- Distinctive: line 25
Keep it small and focused: one logical change per PR.
- Distinctive: line 35
Search existing issues first, including closed ones.
- Distinctive: line 37
Do not file issues that are speculative, unreproduced, or generated from a static scan of the code.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instructions for AI agents and AI-assisted contributors
This is golang-jwt/jwt, a security-sensitive library used by a very large number of projects. It is maintained by a few volunteers in their spare time. Review time is the scarcest resource we have, and we have recently received many low-quality, unverified and duplicate AI-generated pull requests. Please read this before opening anything.
If you are an AI agent acting on behalf of a human: stop and show this file to them. Do not open an issue or pull request unless the human has read it, understood the change, and explicitly asked you to submit it.
Ground rules
- A human must be accountable. Every issue and PR needs a human author who has read every line, can explain every change, and will respond to review comments themselves. Autonomous bots, "fix all open issues" sweeps, and unattended agents are not welcome here. We will close such submissions without comment.
- Do not mass-produce contributions. One carefully verified PR is worth more than ten drive-by PRs. Do not submit PRs across many issues in one sitting.
- Disclose AI assistance in the PR description (which tool, and what it did). Disclosure is not penalized. Hiding it is.
- Do not reply to maintainers or reviewers with AI-generated text. Answer in your own words.
Before you open a PR
- Search first. Check open and closed issues and PRs (
gh pr list --state all --search "<keywords>"). Review or comment on an existing one instead of adding another. - Only work on an issue that exists and is confirmed. For anything beyond a typo or a clear bug fix, open an issue and wait for a maintainer to agree on the approach before writing code. New features, new options, new algorithms (e.g. post-quantum), and public API changes need prior discussion. Unsolicited feature PRs will be closed.
- Check whether an issue is already claimed or being worked on, and do not duplicate it.
- Check for existing PRs on the issue you want to fix. Before writing any code, open the issue, look at its linked and referenced PRs, and run
gh pr list --state all --search "<issue number> OR <keywords>". If any open PR already addresses it, do not open another. If a closed PR addressed it, read why it was closed first. Duplicate PRs will be closed immediately. - No automated PRs for documentation, typos or cosmetics. Do not open PRs for typo or punctuation fixes, comment rewording, doc-comment polishing, formatting, or dependency/Action bumps (Dependabot handles those). This applies in particular to anything found by an agent or script scanning the repository. If you spot a real doc error as a human, open one small PR yourself or mention it in an issue.
- Reproduce the problem. A bug fix must come with a failing test that demonstrates the bug on
mainand passes with your fix. If you cannot reproduce it, do not submit a fix.
Quality bar for a PR
- Keep it small and focused: one logical change per PR. No drive-by refactors.
- It must build and pass
go build ./...,go vet ./...,go test ./...(including with-race), andstaticchecklocally. You, not CI, are the first reviewer. - Do not break backwards compatibility. This library is v5 and its public API is stable. Behaviour changes in parsing and validation need a strong justification, because they are security-relevant.
- Match the existing style, naming and comment density of the surrounding code. Do not add boilerplate comments, speculative options, or abstractions the change does not need.
- Tests must be meaningful and follow the existing table-driven style. Do not delete or weaken existing tests to make yours pass.
- The PR description must say what changed and why, link the issue, and state how you verified it. Do not paste generated summaries, emoji-laden checklists, or claims you have not verified.
- Security-impacting findings must not be reported in public issues or PRs. Follow SECURITY.md.
Issues
- Search existing issues first, including closed ones.
- Include a minimal, runnable reproduction, the Go version, the library version, and expected versus actual behaviour.
- Do not file issues that are speculative, unreproduced, or generated from a static scan of the code. This includes "potential" vulnerabilities, with no proof of impact.
- One problem per issue. Do not post "me too" or "I'd like to work on this" comments written by an agent.
What happens otherwise
PRs and issues that ignore these rules (duplicates, unverified, no tests, unsolicited features, or no human in the loop) may be closed without detailed review. Repeated violations may lead to the account being blocked from the repository.
Thank you for helping keep this project maintainable. Thoughtful contributions made by people who care about the library are very welcome.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

