symfony-messenger-async — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited symfony-messenger-async (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an expert in async message processing with Symfony Messenger within hexagonal architecture.
Never use raw cron. Always use:
// The command is the same — async is a routing concern, not a code concern
namespace App\Application\Report\Command;
final readonly class GenerateReport
{
public function __construct(
public string $reportId,
public string $userId,
public string $type,
) {
}
}
// Handler is identical to sync — the bus handles async dispatch
#[AsMessageHandler(bus: 'command.bus')]
final readonly class GenerateReportHandler
{
public function __invoke(GenerateReport $command): void
{
// Long-running operation
}
}# Route to async transport
framework:
messenger:
routing:
'App\Application\Report\Command\GenerateReport': asyncEvery async handler MUST be idempotent — safe to retry:
#[AsMessageHandler(bus: 'command.bus')]
final readonly class ProcessPaymentHandler
{
public function __construct(
private PaymentRepositoryInterface $paymentRepository,
private PaymentGatewayInterface $paymentGateway,
) {
}
public function __invoke(ProcessPayment $command): void
{
// Check if already processed (idempotency)
$existing = $this->paymentRepository->findByIdempotencyKey($command->idempotencyKey);
if ($existing !== null) {
return; // Already processed, skip
}
// Process payment
$result = $this->paymentGateway->charge($command->customerId, $command->amount);
$this->paymentRepository->save($result);
}
}See references/ for detailed guides:
messenger-config.md — Full Messenger YAML configurationidempotency-patterns.md — Idempotency key strategiesscheduler-patterns.md — Symfony Scheduler setup and patterns~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.