Self-Modification
- Category
- Rogue Agent
- Confidence
- 90% confidence
- Finding
Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
- Content
md - The template's `nolintlint` now sets `require-explanation` and `require-specific`; both default to false, so "enforced by nolintlint" was not true. - `exhaustive` 0.15.0 renamed its options; the old names fail `config verify` (exit 3). - setup-go's default cache key hashes `go.mod`, not `go.sum`; it also ignores the `toolchain` line once `GOTOOLCHAIN=local` is set. - The lefthook lint job split staged file names on whitespace; `glob_matcher: doublestar` makes `*.go` match only root-level files; `self-update` is absent from package-manager builds. - `go tool golangci-lint` examples in the lefthook and Justfile references contradicted the skill's own advice; tool-directive dependency bleed applies to every tool. - golangci-lint config discovery starts from the first analyzed path; `golangci-lint migrate` still writes the deprecated gofumpt `extra-rules`; gopls short-form key in the Helix example.
