cloud-security
Audited by Socket on Jul 22, 2026
2 alerts found:
Securityx2No embedded malware or code execution behavior is present because this is IAM configuration data. However, the configuration shows multiple high-risk authorization patterns that are consistent with enabling supply-chain sabotage: an extremely broad role trust (principals:'*'), wildcard admin privileges for a runner role, deploy permissions that can update Lambda code and run instances with broad scope, cross-account vendor access with s3:* on all resources, and privilege escalation/disruption capabilities (iam:AttachRolePolicy and ec2:TerminateInstances). Lack of MFA on several high-privilege principals further elevates real-world risk. Tighten trust policies (remove wildcard principals), enforce least privilege and narrow resource ARNs, require MFA/conditions for assumption, and add explicit controls (SCPs/guardrails) for deployment and artifact stores.
No evidence of supply-chain malware or intentional malicious behavior is present in this fragment because it is purely declarative AWS configuration with no executable logic. However, it contains multiple severe security misconfigurations (public S3 without access logging; publicly reachable SSH/app ports; database exposure to 0.0.0.0/0 with weak/disabled encryption/backup/logging; and disabled audit/threat detection). If applied as-is by automation, it would materially increase the risk of successful intrusion and reduced detection/forensics.