Affected by GO-2026-5134
and 1 other vulnerabilities
GO-2026-5134: Hatchet affected by cross-tenant information disclosure in `listTasksByDAGIds` in github.com/hatchet-dev/hatchet
GO-2026-6309: Hatchet allows cross-tenant write/DoS to other tenants' workers via Dispatcher gRPC UpsertWorkerLabels and Unsubscribe in github.com/hatchet-dev/hatchet
patch-api-resources patches the generated Api.ts file to attach x-resources
metadata from the OpenAPI spec to each API method, enabling callers to check
resource scope at runtime:
api.v1TaskGet.resources.has("tenant") // true
Run from the repo root after swagger-typescript-api generation: