outbox-pattern

Pass

Audited by Gen Agent Trust Hub on Mar 1, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides C# code templates for implementing the Outbox pattern using well-known and trusted libraries such as Entity Framework Core, MediatR, and Quartz.NET.
  • [SAFE]: The background processing logic in ProcessOutboxMessagesJob uses a secure approach for dynamic type resolution by validating that deserialized objects implement the IDomainEvent interface, which effectively mitigates common insecure deserialization risks.
  • [SAFE]: The implementation includes robust operational safeguards, such as the [DisallowConcurrentExecution] attribute on background jobs to prevent race conditions and a CleanupOutboxMessagesJob to prevent database table bloat.
  • [SAFE]: Idempotency is addressed through the IdempotentDomainEventHandler wrapper, which uses a tracking table to ensure that domain events are processed exactly once, protecting against side effects from duplicate delivery.
  • [SAFE]: The skill does not perform any unauthorized network operations, access sensitive file paths, or use obfuscated code.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 1, 2026, 03:18 PM