decentralized-identity / decentralized-identity/decentralized-web-node

Requiring fine-grained capabilities

Open
#142 10 comments 0 reactions 2 assignees Claimed by @alanhkarp View on GitHub
artifact: spec attr: security type: discussion
Dominant language
HTML
Stars
413
Forks
75
PR merge metrics
No merged PRs in 30d

Description

The current specification allows the capability for a collection to be used when accessing an individual member of that collection, which is a violation of the Principle of Least Privilege. Of course, the holder of a capability for a collection can always create a new capability for the individual item, but that requires extra work that many people won't do. The result will be that a successful attack will be able to do substantially more harm than had the system required fine-grained capabilities.

It should be possible for the software invoked when submitting a request to construct the fine-grained capability from the one provided by the invoker.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.