go-testing
Pass
Audited by Gen Agent Trust Hub on Mar 27, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides instructional content and code snippets for Go unit testing. It demonstrates common and safe patterns such as table-driven tests and mocking system information.
- [COMMAND_EXECUTION]: The skill lists standard 'go test' commands for running, updating, and measuring coverage of Go tests. These are routine development operations within the intended scope of the skill.
- [DATA_EXPOSURE_AND_EXFILTRATION]: Pattern 4 (Golden File Testing) demonstrates using 'os.WriteFile' and 'os.ReadFile' to manage test expectation files in a 'testdata' directory. This is a standard testing practice and does not involve accessing sensitive system files or exfiltrating data.
- [DYNAMIC_EXECUTION]: Example 4 demonstrates mocking a system environment using 't.TempDir()', which is a security best practice for isolating test-related file system operations and preventing interference with the host system.
Audit Metadata