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
IdempotencyKeyclass implements strict validation using a UUID v4 regular expression, which effectively mitigates injection attacks via the HTTP header. - The
RedisIdempotencyStorageimplementation 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