Skip to content

credential ask: the addressee is frozen at raise time, not re-resolved as the agent's primary at answer time #4189

Open

Description

@vybe

Found by the security pass on #4186 (trinity-enterprise#1066).

client_portal/asks/service.py::provide_credential checks the ask through _owned_ask (addressee match + roster membership) but never re-asks role_addressing.resolve(agent, "primary"). If the agent's primary person is reassigned after a credential ask is raised, the former primary — still on the roster as a viewer — can still fill the field and set the agent's environment.

Done when the credential door refuses (uniform 404) when the caller is no longer the agent's single primary at answer time, with a test that reassigns primary between raise and answer.

Activity

  1. added
    priority-p3
    type-bug
    theme-security
    complexity-low
    status-ready
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowpriority-p3status-readytheme-securitytype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions