Skip to content

Security: WebhookSecretController lacks authorization checks #11

@Snider

Description

@Snider

The WebhookSecretController methods check that a webhook belongs to a workspace, but do not verify that the authenticated user has permission to manage webhooks in that workspace. The controller uses defaultHostWorkspace() which may not reflect the user actual permission level. A user with read-only access to a workspace could potentially rotate webhook secrets. Add explicit authorization checks using Laravel policies to check webhook management permissions. Priority: Medium - Authorization gaps could allow privilege escalation within a workspace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    julesFor Jules AI to work onlang:phpPHP/Laravel

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions