Project setup executes a remotely resolved, unpinned Go module
Source references: 1The setup example directly runs `github.com/99designs/gqlgen init` and then obtains the tool with `@latest`. This is not a reproducible version pin and executes or introduces whatever upstream code is current at download time.
If the latest upstream release is compromised, incompatible, or changes over time, downloaded code runs in the development environment and may generate files or alter module dependencies.
The setup tells the agent to fetch and execute gqlgen through `go run` without a version, then explicitly adds the tool using `@latest`. If followed, the code executed or added to the project can change with upstream releases, reducing reproducibility and increasing supply-chain exposure. A user can ask the author for a reviewed, pinned version and a verification method.
```bash# Bootstrap a new projectgo run github.com/99designs/gqlgen init# Pin the tool in go.mod for reproducible generation (Go 1.24+)go get -tool github.com/99designs/gqlgen@latest```