Skip to main content

Limits

ProofGate answers one question: can a principal of the stack reach the protected bucket through another role? It does not say that a function that you gave a read of the bucket should have it.

Not modeled​

  • Protected resources other than S3 buckets. The protected target is S3 only: DynamoDB tables, KMS keys, and secrets cannot be declared as protected.
  • Service control policies, permissions boundaries, and session policies.
  • Resource policies, explicit deny, and conditions such as iam:PassedToService.
  • Role chains through sts:AssumeRole.
  • IAM users and groups.
  • Cross-account references and changes after deployment.

Paths across stacks​

ProofGate checks each template of the app by itself. A role that can pass or change roles that are in another stack is not connected with them. If the deploy role is in one stack and the roles it can pass are in another, ProofGate does not see the path. A literal ARN is accepted silently, and a value imported from another stack is rejected with PG-IAM-003. Put the deploy role in the same stack as the roles it can pass.

What 60 of 91 means​

ProofGate reports 60 of the 91 escalation paths of pathfinding.cloud, 46 of the 47 that pass a role. The 31 that are not reported are shapes that ProofGate does not handle yet: IAM users and groups (11), changes to existing resources of other services (16), and four others. The count shows that the preconditions of a path are reproduced in a two-role model, not that an attack works.

What Lean does not prove​

Lean checks a model that TypeScript builds from the synthesized template. The extractor, the normalization, the generated tables, and the rule are trusted. A template without any IAM resource is accepted because there is nothing to check, not because it was shown to be safe.

Fail closed​

When ProofGate does not understand an input, it rejects it with PG-IAM-003. A failure to run Lean is never read as a safe result, and a verdict is accepted only when Lean exits normally and its list equals the TypeScript list. Any later change to a matching rule may add findings or rejections; turning an unsafe result into a safe one needs the maintainer's approval.

The details are in docs/ASSUMPTIONS.md and docs/SUPPORTED_IAM.md in the repository.