Skip to content

maxwellokumu/okaudit-claude-skills / identity-access/access-review

iam-access-review

Verified

Analyse IAM policies for excessive permissions, wildcards, admin-equivalent actions, missing conditions, and inline policies. Use this skill for access review and least-privilege analysis.

FileKindSize
README.mdmarkdown2.3 KB
SKILL.mdskill md1.7 KB
main.pyscript19.6 KB
sample_input/iam_policy.jsonconfig2.1 KB
skill.yamlconfig1.0 KB

sample_input/iam_policy.json

View on GitHub
[
  {
    "PolicyName": "AdminWildcardPolicy",
    "PolicyType": "managed",
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "FullAdmin",
          "Effect": "Allow",
          "Action": "*",
          "Resource": "*"
        }
      ]
    }
  },
  {
    "PolicyName": "S3WriteNoCondition",
    "PolicyType": "managed",
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "S3WriteAll",
          "Effect": "Allow",
          "Action": [
            "s3:PutObject",
            "s3:DeleteObject",
            "s3:PutBucketAcl",
            "s3:DeleteBucket"
          ],
          "Resource": "*"
        }
      ]
    }
  },
  {
    "PolicyName": "InlineEC2TerminatePolicy",
    "PolicyType": "inline",
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "TerminateAny",
          "Effect": "Allow",
          "Action": [
            "ec2:TerminateInstances",
            "ec2:StopInstances",
            "ec2:DeleteVpc"
          ],
          "Resource": "*"
        }
      ]
    }
  },
  {
    "PolicyName": "IAMSensitiveNoMFA",
    "PolicyType": "managed",
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "IAMSensitive",
          "Effect": "Allow",
          "Action": [
            "iam:CreateUser",
            "iam:AttachUserPolicy",
            "iam:CreateAccessKey",
            "iam:UpdateLoginProfile"
          ],
          "Resource": "*"
        }
      ]
    }
  },
  {
    "PolicyName": "GoodLeastPrivilegePolicy",
    "PolicyType": "managed",
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "ReadOnlyS3",
          "Effect": "Allow",
          "Action": [
            "s3:GetObject",
            "s3:ListBucket",
            "s3:GetBucketLocation"
          ],
          "Resource": [
            "arn:aws:s3:::my-app-bucket",
            "arn:aws:s3:::my-app-bucket/*"
          ],
          "Condition": {
            "Bool": {
              "aws:MultiFactorAuthPresent": "true"
            }
          }
        }
      ]
    }
  }
]
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall