# Review Cloud IAM and Kubernetes RBAC Policies

Policy files can show broad permissions without proving who can use them. Review authorized files, link observations to evidence, and identify what is still needed to assess access.

## Install

```bash
npx skillstore add flint-research/iam-review
```

## Metadata

- Status: approved
- Slug: flint-research-iam-review
- Skillstore revision: r1
- Version status: missing
- Tree hash: 10f8e57ffcbfab9b6cba98328649f1ed4517a451b023d7efec338732cc75b82b
- Author: flint-research
- GitHub username: flint-research
- Repository: https://github.com/flint-research/skills/tree/b739665d19cd1d924d41c680722e1372867a1bff/auditing/cloud-security/skills/iam-review
- Ref: d715043e3196bdd213a9eb9e5f78632e50554733
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 72
- Public page: https://skillstore.pages.dev/skills/flint-research-iam-review
- Manifest: https://skillstore.pages.dev/api/skills/flint-research-iam-review/manifest

## Capabilities

- Runs an offline CLI review on explicitly supplied local JSON and inspects the resulting IAM findings.
- Reviews principal, action, and resource declarations in AWS policy JSON and supported Terraform, CloudFormation, and Kubernetes artifacts.
- Flags declared public or authenticated principals, wildcard scopes, exclusions, and attributes that cannot be determined from the input.
- Recognizes a recorded explicit deny only for the corresponding allow in the same AWS document and for the recorded literal selector.
- Verifies cited evidence IDs and identifies missing policy layers or Kubernetes bindings.

## Use Cases

- Review an AWS policy before deployment: Find broad principals, actions, or resources in a proposed AWS policy. Identify which declarations need narrower scope or more evidence.
- Review Kubernetes role and binding declarations: Review supported role and binding artifacts for broad declared permissions. Identify missing bindings before drawing conclusions about which subjects receive a role.
- Document gaps in access evidence: Record policy observations with evidence IDs and list the policy layers needed to resolve open access questions.

## Prompt Templates

### Summarize one IAM policy

```
Review only the AWS IAM policy JSON I supplied. Summarize the principals, actions, and resources it declares, and cite the evidence IDs.
```

### Flag broad declarations

```
Flag public or authenticated principals, wildcard scopes, exclusions, and unknown attributes in the authorized local artifact. Cite evidence for each observation and separate declarations from access conclusions.
```

### Check Kubernetes binding evidence

```
Review the supported Kubernetes role and binding artifacts I supplied. Report the declared scope, verify evidence IDs, and list missing bindings without inferring live access.
```

### Review AWS deny scope and policy layers

```
Check whether a recorded deny covers an allow for the same literal selector in the same AWS document. List the missing policy layers or conditions that prevent a conclusion about effective access.
```

## Limitations

- Does not verify live access or establish effective permissions from a single policy document.
- Leaves conditions, inheritance, trust, and cross-policy effects unresolved when evidence is missing.
- Terraform, CloudFormation, and Kubernetes coverage is limited to fields supported by the adapter.
- Does not review caller, tenant, or object permissions enforced by application handlers.

## Best Practices

- Supply only sanitized, authorized local artifacts relevant to the access question.
- Verify that every cited evidence ID resolves before sharing the findings.
- Separate policy declarations from conclusions about effective access, and list the evidence needed to resolve open questions.

## Anti Patterns

- Treating a wildcard declaration as proof that live access is possible.
- Assuming a recorded deny covers other selectors or policy documents.
- Assuming a Kubernetes role is assigned when no binding evidence is available.

## Security Audit

- Audited at: 2026-11-29T12:15:36.093\+00:00
- Summary: All three static alerts are false positives: Markdown filename formatting, a website link, and a relative documentation link. No evidence of prompt injection or data transfer was found in SKILL.md. The referenced offline CLI implementation was not part of the scanned files.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
