gin
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill outlines patterns for handling untrusted external data via HTTP handlers using Gin's binding methods.
- Ingestion points: Request handlers within the
internal/directory modules (e.g.,UserHandler.Page,UserHandler.Create) that bind query parameters and JSON bodies. - Boundary markers: Recommends the use of Gin's
ShouldBindQueryandShouldBindJSONcombined with custom validators ininternal/common/validator/to enforce data boundaries. - Capability inventory: Templates demonstrate capabilities for persistent data storage via GORM, session management with Redis, and authentication via JWT.
- Sanitization: The skill provides a centralized error handling mechanism and response formatting logic in
internal/middleware/error_handler.goandinternal/common/response.goto ensure that application errors are properly caught and sanitized before being returned to clients. - [EXTERNAL_DOWNLOADS]: The skill references industry-standard Go libraries and project layouts for backend development.
- Evidence: References to
github.com/golang-standards/project-layout,github.com/gin-gonic/gin,gorm.io/gorm, andswaggo/swagare included as part of the technical stack recommendations. These are well-known services and libraries within the developer community.
Audit Metadata