go
Pass
Audited by Gen Agent Trust Hub on Jul 8, 2026
Risk Level: SAFENO_CODECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [NO_CODE]: The skill consists entirely of Markdown reference files and YAML metadata. It does not include any executable scripts, binaries, or active logic.
- [COMMAND_EXECUTION]: The skill provides reference material for powerful Go CLI commands capable of executing arbitrary code or shell processes. Key examples include:
go generate: Runs commands described by//go:generatedirectives within source files (documented inreferences/cli.md).go testandgo run: Compile and execute Go code, which can include arbitrary logic defined in tests or main packages (documented inreferences/test.mdandreferences/cli.md).go tool: Provides access to low-level toolchain components like the compiler and linker (documented inreferences/tool.md).- [PROMPT_INJECTION]: The skill facilitates an attack surface for indirect prompt injection by providing instructions for processing untrusted external data (Go projects) using tools with execution capabilities.
- Ingestion points: The agent ingests files including Go source code (
.go), module files (go.mod), and workspace files (go.work), all of which can be controlled by an attacker in an untrusted repo. - Boundary markers: Absent. The skill does not instruct the agent to use delimiters or ignore embedded instructions when reading project files.
- Capability inventory: Subprocess execution via
go generate,go run, andgo testas described across the reference files. - Sanitization: Absent. There are no instructions for validating, escaping, or filtering the content of directives or source files before invoking CLI tools that execute them.
Audit Metadata