Summary
The AxonFlow SDK's WebhookSubscription (or equivalent) type did not expose the HMAC-SHA256 signing key returned by the platform's CreateWebhook endpoint. Without access to the secret through the typed SDK API, callers had no path to verify the X-AxonFlow-Signature header on incoming webhook deliveries. Affected callers had two unsatisfactory options:
- Skip signature verification entirely — accepting any payload from any source that knew the webhook URL.
- Hand-parse the raw HTTP JSON response to extract the secret, bypassing the type-safe SDK surface.
This advisory is filed across all four AxonFlow SDKs (Go, Python, TypeScript, Java) because the same defect and the same fix landed in each.
Affected versions
See Vulnerabilities below.
Impact
A webhook receiver using the SDK's typed API to handle inbound deliveries had no path to authenticate the source of incoming payloads. An attacker who learned the webhook URL — through misconfiguration, log leakage, observable network traffic during setup, or any other discovery channel — could forge webhook deliveries indistinguishable from legitimate ones, causing the receiving application to act on fabricated events (e.g. simulated approval-granted callbacks, simulated policy-decision callbacks, simulated step-completion callbacks).
Remediation
Upgrade to the patched version listed in Vulnerabilities below. The signing key is now exposed on the WebhookSubscription response type returned by CreateWebhook. Implementations should:
- Persist the secret returned by
CreateWebhook securely (it is only returned once, at create time).
- On each incoming webhook delivery, compute
HMAC-SHA256(secret, raw_body) and compare it in constant time against the X-AxonFlow-Signature header.
- Reject any delivery whose signature does not match.
Additional fix in this release
In the same v7.0.0 release line, this advisory also covers a GitHub Actions workflow privilege-escalation hardening (CWE-275, Permission Issues): the heartbeat-real-stack.yml workflow lacked an explicit top-level permissions: block, so the GITHUB_TOKEN was granted the repository-default privilege set on every run. Restricted to contents: read at workflow scope. Fixed in v7.0.0.
This is filed as a consolidated advisory because both issues are remediated by upgrading to v7.0.0 or later.
Credit
Identified by AxonFlow internal security review during the April 2026 quality-freeze epic.
Summary
The AxonFlow SDK's
WebhookSubscription(or equivalent) type did not expose the HMAC-SHA256 signing key returned by the platform'sCreateWebhookendpoint. Without access to the secret through the typed SDK API, callers had no path to verify theX-AxonFlow-Signatureheader on incoming webhook deliveries. Affected callers had two unsatisfactory options:This advisory is filed across all four AxonFlow SDKs (Go, Python, TypeScript, Java) because the same defect and the same fix landed in each.
Affected versions
See Vulnerabilities below.
Impact
A webhook receiver using the SDK's typed API to handle inbound deliveries had no path to authenticate the source of incoming payloads. An attacker who learned the webhook URL — through misconfiguration, log leakage, observable network traffic during setup, or any other discovery channel — could forge webhook deliveries indistinguishable from legitimate ones, causing the receiving application to act on fabricated events (e.g. simulated approval-granted callbacks, simulated policy-decision callbacks, simulated step-completion callbacks).
Remediation
Upgrade to the patched version listed in Vulnerabilities below. The signing key is now exposed on the
WebhookSubscriptionresponse type returned byCreateWebhook. Implementations should:CreateWebhooksecurely (it is only returned once, at create time).HMAC-SHA256(secret, raw_body)and compare it in constant time against theX-AxonFlow-Signatureheader.Additional fix in this release
In the same v7.0.0 release line, this advisory also covers a GitHub Actions workflow privilege-escalation hardening (CWE-275, Permission Issues): the
heartbeat-real-stack.ymlworkflow lacked an explicit top-levelpermissions:block, so theGITHUB_TOKENwas granted the repository-default privilege set on every run. Restricted tocontents: readat workflow scope. Fixed in v7.0.0.This is filed as a consolidated advisory because both issues are remediated by upgrading to v7.0.0 or later.
Credit
Identified by AxonFlow internal security review during the April 2026 quality-freeze epic.