Skip to content

chore(cats): signing hook so the HMAC-authenticated /webhook-deliveries endpoints get real fuzz coverage #790

Description

@ericfitz

Summary

The worker endpoints GET/POST /webhook-deliveries/{delivery_id} and /webhook-deliveries/{delivery_id}/status authenticate by HMAC webhook signature, which CATS cannot produce — every one of their 72+ campaign findings is the documented 401 "Invalid webhook signature" (now suppressed by FP rule WEBHOOK_SIGNATURE_401 from run 20260820T034449Z). The correct rejection is verified constantly; the endpoints' actual logic is never fuzzed.

Acceptance Criteria

  • A CATS-side mechanism signs requests to these paths with the seeded subscription's secret (candidates: a custom CATS header provider, a pre-request hook in the cats plugin, or scoped runs through a signing proxy) so positive-path fuzzing reaches the handlers.
  • A validating scoped run shows non-401 coverage on both paths.
  • Revisit rule WEBHOOK_SIGNATURE_401 afterward (it should then suppress only genuinely unsigned fuzz).

Notes

From the run-20260820T034449Z triage (cluster 1), maintainer-approved plan. 5 of the 77 cluster findings didn't match the rule's body predicate and remain visible for next-run triage. Refs #608.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions