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
Scope the in-account reaper's SSM grant the way the cross-account template already does #818
An over-broad grant in pkg/reaperiam. The correctly-scoped counterpart exists in ttl-reaper-cross-account-role.yaml; port it. Related: #254 (the inverse class).
Detail, evidence and remediation are in the private advisory GHSA-2hfh-q6jv-qgjp — deliberately not restated here while the fix is outstanding.
Part of the Security audit 2026-10 milestone. Close this when the fix ships; publish the advisory at that point.
Correcting something I said on this issue. I flagged it as carrying a live deploy
consequence — "the ScanSelf policy is what spawn reaper deploy writes, so any
already-deployed in-account reaper keeps the broad grant until re-deployed." Checked
both accounts, and that is not the case here:
spawn-ttl-reaper-production-TTLReaperFunctionRole-ZJ84YZ2dCPei (966362334030) has no ssm:SendCommand grant at all across its four inline policies — the SAM
template's block is conditional and unset.
spawn-ttl-reaper-ec2 (435415984226) already carries the correct scoping: arn:aws:ec2:*:435415984226:instance/* with ssm:resourceTag/spawn:managed, plus
the separate document statement.
No self-scan reaper has ever been deployed in either account, so the over-broad grant
existed only in the generator — this is latent-only, like the cmd/onboard.go batch.
Anyone who has run spawn reaper deploy elsewhere should re-run it after the fix.
Activity
scttfrdmn commentedon Oct 11, 2026
Correcting something I said on this issue. I flagged it as carrying a live deploy
consequence — "the ScanSelf policy is what
spawn reaper deploywrites, so anyalready-deployed in-account reaper keeps the broad grant until re-deployed." Checked
both accounts, and that is not the case here:
spawn-ttl-reaper-production-TTLReaperFunctionRole-ZJ84YZ2dCPei(966362334030) hasno
ssm:SendCommandgrant at all across its four inline policies — the SAMtemplate's block is conditional and unset.
spawn-ttl-reaper-ec2(435415984226) already carries the correct scoping:arn:aws:ec2:*:435415984226:instance/*withssm:resourceTag/spawn:managed, plusthe separate document statement.
No self-scan reaper has ever been deployed in either account, so the over-broad grant
existed only in the generator — this is latent-only, like the
cmd/onboard.gobatch.Anyone who has run
spawn reaper deployelsewhere should re-run it after the fix.Fix in #829.
Scope the in-account reaper's ssm:SendCommand grant (#829)