You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix REIR capability coverage: absent grant field is unknown, not a wildcard (audit 4.1)
A granted capability that omitted provider/service/action/resource previously
COVERED a requirement that named a specific one (`(None, Some) => true`), so a
broad `category`-only grant satisfied a specific `s3:PutObject on arn:...`
requirement — a capability-gate bypass.
- reconciliation: a grant field that is absent no longer covers a specific
required field; breadth must be explicit (`*`). action/resource/provider/
service all tightened. Add adversarial tests (category-only must not cover
specific; missing fields are unknown; explicit `*` does cover; category-level
on both still covered; category-only requirement reports missing vs a specific
grant).
- rsscript adapter: presence-level facts (runtime.native, native source scan)
no longer stamp the package id as a `resource` scope — they are scoped by
subject, not a resource — so they reconcile at category level as intended.
- s3 demo fixture: the runtime network grant now carries its real provider
(`rsscript`) instead of relying on the absent-as-wildcard behavior.
Whole workspace green (1154 tests); s3-iam demo still covers legitimately.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments