Labels: bug, ttl-vault, security
Priority: High
Estimated Time: 1.5 hours
Description:
passkey_delegation_tests.rs covers delegation, but it should be confirmed a delegated passkey is restricted to only the scopes it was granted (e.g., read-only vs. withdrawal) rather than inheriting the full permission set of the original owner.
Tasks:
- Audit delegated-passkey authorization checks against the granted scope, not the owner's full permission set
- Add tests for a read-only delegated passkey attempting a withdrawal (must fail)
- Add tests for scope escalation attempts via delegation chaining
- Document scope enforcement in
docs/passkeys.md
Labels:
bug,ttl-vault,securityPriority: High
Estimated Time: 1.5 hours
Description:
passkey_delegation_tests.rscovers delegation, but it should be confirmed a delegated passkey is restricted to only the scopes it was granted (e.g., read-only vs. withdrawal) rather than inheriting the full permission set of the original owner.Tasks:
docs/passkeys.md