create-idempotency-handler

Pass

Audited by Gen Agent Trust Hub on Mar 17, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill is a standard code generation tool for architectural components in PHP.
  • The IdempotencyKey class implements strict validation using a UUID v4 regular expression, which effectively mitigates injection attacks via the HTTP header.
  • The RedisIdempotencyStorage implementation uses atomic Redis operations (setex) and includes TTL (Time To Live) support to prevent unbounded storage growth.
  • The middleware correctly excludes safe HTTP methods (GET, HEAD, OPTIONS) from idempotency checks, adhering to REST best practices.
  • No hardcoded credentials, unauthorized network requests, or obfuscated code were found in the provided files.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 17, 2026, 09:58 AM