iam-policy-validator

Warn

Audited by Socket on Nov 18, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
evaluations/fixtures/invalid-and-wildcard-policies.yaml

This CloudFormation fragment creates an IAM managed policy allowing all actions on all resources, but does not show it attached to a principal. The EC2-assumable role has an inline policy with the likely misspelling s3:GetObjekt, which is unlikely to grant the intended S3 permission. The wildcard policy is a high-severity security misconfiguration if attached or used elsewhere; no direct data theft or other malware behavior is present in the supplied code.

Confidence: 98%Severity: 78%
AnomalyLOW
evaluations/fixtures/public-bucket.yaml

This CloudFormation fragment creates an S3 bucket and allows unauthenticated public reads of its objects via s3:GetObject. This is a potentially risky exposure if the bucket contains non-public data; the fragment does not itself indicate malware. Severity is configuration-dependent.

Confidence: 99%Severity: 65%
Audit Metadata
Analyzed At
Nov 18, 2026, 10:55 PM
Package URL
pkg:socket/skills-sh/awslabs%2Faws-cloudformation-iam-policy-validator%2Fiam-policy-validator%2F@1433b95ece1cd048fc6c3747341a689aa2f79a0544c4cfcc5fba288d2a1e94a1