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
{{ message }}
Repository navigation
Deny instances rewriting their own spore-host:managed-by/created/schema tags #1662
An instance's own role may rewrite tags on itself, except the keys spored's policy explicitly denies. spore-host:managed-by is not on that deny list. A compromised or misbehaving workload could relabel its instance (e.g. managed-by=calque, or remove the tag) and so take it out of spawn's future idle teardown (#1654). TTL enforcement is unaffected, because it keys on spawn:* tags.
Fix: add spore-host:managed-by, spore-host:created and spore-host:schema to the tag keys the instance role is denied from creating, changing or deleting on itself. This changes the spored managed policy content, so its version bumps (spored-*-v<N+1>). Check against the inline-policy size cap and the nested-spawn role (TestSporedRolesFitTheInlineLimitWhenMixed). Do a real PutRolePolicy/CreatePolicy on a throwaway role before release.
Activity