skills/youlaitech/youlai-skills/gin/Gen Agent Trust Hub

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 ShouldBindQuery and ShouldBindJSON combined with custom validators in internal/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.go and internal/common/response.go to 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, and swaggo/swag are included as part of the technical stack recommendations. These are well-known services and libraries within the developer community.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 3, 2026, 01:16 PM