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
ProcessOutboxMessagesJobuses a secure approach for dynamic type resolution by validating that deserialized objects implement theIDomainEventinterface, 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 aCleanupOutboxMessagesJobto prevent database table bloat. - [SAFE]: Idempotency is addressed through the
IdempotentDomainEventHandlerwrapper, 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