Broad Go command permission can execute repository or toolchain code
Source references: 2`Bash(go:*)` covers more than compilation and inspection; it includes code-executing commands such as `go test`, `go run`, `go generate`, and tool installation. The Skill does not require review of generators or test code before execution.
In an untrusted repository, these commands may run project, test, generator, or dependency code with the user's permissions, allowing access to readable files or credentials and modification of the workspace.
`Bash(go:*)` covers the full Go command surface, not only inspection or compilation. In a repository containing tests, generators, or runnable programs, an authorized agent could execute repository or toolchain code. The documented `go get` gives Go access a legitimate purpose, but the permission is not narrowed and no pre-execution review is required. Nothing here proves execution; users can restrict access to specific reviewed Go commands.
skill-library-version: "1.24.0"allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*paths:Show 1 other places
```bashgo get go.uber.org/fx```