Security: gateway route-enumeratie, optionele webhook-HMAC en open auth.mode #194
Labels
No labels
prio/P1
prio/P2
prio/P3
status/leftover
status/new
status/parked
type/feature
type/ops
type/research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MeshFlowsGPL/meshflows#194
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Security review (2026-09-22).
Bevindingen
GET /api/gateway/routesis publiek.engine/services/gateway/app/main.pyrond 1093-1124. Levert de edge-map (workflows, webhook-paden).signaturegezet is. Een route metauth.mode: noneen zonder HMAC is voor iedereen triggerbaar. Rond 1665-1684 en 1954-1964.GATEWAY_CORS_ORIGINSmet*reflecteert elkeOrigin.engine/services/gateway/app/security_headers.pyrond 26-37.Impact
Gerichte aanvallen op publieke paden, workflow-spam en, bij CORS-misconfig, cross-origin aanroepen.
Gewenste uitkomst
auth.mode: noneen unsigned webhooks tenzij expliciet gemarkeerd als public.*verboden in prod CORS-config.