Skip to content

security(wrprc): refuse unrestricted DCQL against an empty grant - #159

Merged
luisgf merged 1 commit into
mainfrom
security/audit-152
Aug 13, 2026
Merged

security(wrprc): refuse unrestricted DCQL against an empty grant#159
luisgf merged 1 commit into
mainfrom
security/audit-152

Conversation

@luisgf

@luisgf luisgf commented Aug 13, 2026

Copy link
Copy Markdown
Owner

An incomplete WRPRC (no claim/claims) plus a DCQL query that names no claims used to authorize as an "equally unrestricted" pair. That turned a missing grant into a blanket entitlement for the matching format+meta.

Empty registered paths already refused a specific claim path. They now refuse the unrestricted ask too. There is no encoding for "this RP may request every attribute" — list the paths.

Closes #152

Verified: bash .claude/skills/ship-issue/scripts/gate.sh (flake8, mypy, pytest 1627 passed / coverage 91%, build+twine).

An incomplete WRPRC (no claim paths) plus a DCQL query that names no
claims used to authorize as an "equally unrestricted" pair. Empty
grant now matches nothing, including "every attribute".

Closes #152
@luisgf
luisgf merged commit cb09c6f into main Aug 13, 2026
13 of 14 checks passed
@luisgf
luisgf deleted the security/audit-152 branch August 13, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WRPRC empty claim list authorizes an unrestricted DCQL request

1 participant