golang-modernize
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
Bashtool, restricted togo:*,golangci-lint:*, andgit:*command patterns. These tools are used for standard development tasks such as module upgrades, running tests (go test), performing vulnerability scans (govulncheck), and applying automated fixes (go fix). - [EXTERNAL_DOWNLOADS]: The skill fetches documentation and changelogs from official Go sources (e.g.,
go.dev). It also references the Go vulnerability database atvuln.go.devfor security scanning. These are well-known, trusted services within the Go ecosystem. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process project files, including Go source code,
go.modmodule definitions, and a local.modernizeconfiguration file. While these represent untrusted input sources, the skill mitigates risks by requiring verification of all edits through the official Go compiler, test suite, and linters (golangci-lint) before completion. - Ingestion points: Reads
go.mod,.modernize, and all**/*.gofiles in the workspace. - Capability inventory: Uses
Bashfor Go tooling,Edit/Writefor file modifications, andAgentfor parallelized scanning. - Sanitization: Relies on
go test,golangci-lint, and thestdversionvet check to validate correctness and safety of generated code changes. - Boundary markers: None explicitly defined in the prompt templates, but the skill scope is strictly limited to modernization patterns.
Audit Metadata