|
Some checks are pending
CI / vet-build-test (push) Waiting to run
P2 adversarial audit (6 finders + skeptic verification, 13 agents). Two real findings fixed with regression tests; rest documented as single-owner residuals. - FIX (+s attenuation): MayGrant never constrained the GRANTED reshare bit, so an invite could confer +s the caller didn't hold (req.Reshare copied verbatim). MayGrant now takes grantReshare and rejects conferring +s you don't hold (owners unconstrained) — attenuation is total over role + target + reshare. - FIX (invite revocation): invites were unrevocable 24h bearer capabilities — no way to kill a leaked/regretted one. Added meta.RevokeInvite (token+binding in one tx), POST /v1/invite/revoke (only a caller who could mint it may revoke), and 'devbox invite revoke <token>'. - Tests: TestMayGrant (+5 +s cases), TestInviteCannotGrantReshareCallerLacks, TestInviteRevoke. go test ./... -race clean (18 pkgs). - docs/M8a-audit.md: findings, confirmed defenses, accepted residuals. Confirmed-defended under attack: single-use redeem (atomic CAS), role bounding, revoke-at-auth (revoked=0 in bearer+role lookups), cross-share binding, PoP. |
||
|---|---|---|
| .. | ||
| meta.go | ||
| meta_test.go | ||