Skill Being Reviewed
Skill name: aws-review
Skill path: skills/cloud/aws-review/
False Positive Analysis
Benign code that triggers a false positive:
resource "aws_eks_cluster" "private" {
name = "payments-prod"
role_arn = aws_iam_role.eks_control_plane.arn
vpc_config {
subnet_ids = aws_subnet.private[*].id
endpoint_private_access = true
endpoint_public_access = false
public_access_cidrs = []
}
access_config {
authentication_mode = "API_AND_CONFIG_MAP"
bootstrap_cluster_creator_admin_permissions = false
}
encryption_config {
provider {
key_arn = aws_kms_key.eks_secrets.arn
}
resources = ["secrets"]
}
enabled_cluster_log_types = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
}
resource "aws_eks_pod_identity_association" "app" {
cluster_name = aws_eks_cluster.private.name
namespace = "payments"
service_account = "api"
role_arn = aws_iam_role.payments_pod.arn
}
Why this is a false positive:
The current AWS review skill does not evaluate aws_eks_cluster resources at all. A reviewer can only map this to generic IAM, logging, and networking checks, which risks treating a well-scoped private EKS cluster as Not Evaluable because the skill lacks EKS-specific evidence fields.
Coverage Gaps
Missed variant 1: public EKS API endpoint open to the internet
resource "aws_eks_cluster" "admin" {
vpc_config {
endpoint_private_access = false
endpoint_public_access = true
public_access_cidrs = ["0.0.0.0/0"]
}
}
Why it should be caught:
The skill flags public security groups and admin exposure, but it does not ask whether the EKS Kubernetes API server endpoint is private or tightly scoped.
Missed variant 2: cluster creator bootstrap admin and weak access evidence
resource "aws_eks_cluster" "admin" {
access_config {
authentication_mode = "CONFIG_MAP"
bootstrap_cluster_creator_admin_permissions = true
}
}
Why it should be caught:
EKS access management can leave standing cluster-admin paths through the creator or legacy aws-auth ConfigMap. The AWS posture review should ask for access-mode and bootstrap-admin evidence rather than relying only on IAM policy review.
Missed variant 3: no pod-level AWS identity evidence
resource "aws_eks_node_group" "default" {
node_role_arn = aws_iam_role.broad_node.arn
}
Why it should be caught:
Without IRSA or EKS Pod Identity associations, workloads often inherit broad node roles or static credentials. Generic IAM checks do not prove pod-level least privilege.
Edge Cases
- A public endpoint can be acceptable only with narrow
public_access_cidrs and documented admin source networks; default open access should not be treated as equivalent.
- EKS Pod Identity and IRSA are different evidence paths. The review should accept either when namespace/service-account mapping and IAM trust are scoped.
- Fargate, managed node groups, and self-managed node groups have different evidence fields; node identity and logging should still be recorded.
- Generic Kubernetes manifest review is not enough for Terraform-only EKS posture, because endpoint access, bootstrap admin, secrets encryption, cluster logs, and pod identity associations live on AWS resources.
Remediation Quality
Comparison to Other Tools
| Tool |
Catches this? |
Notes |
| Semgrep |
Partial |
Can match Terraform attributes such as endpoint_public_access, public_access_cidrs, or bootstrap_cluster_creator_admin_permissions, but needs review context for compensating controls and access mode. |
| Checkov/tfsec |
Partial |
Can flag many EKS Terraform settings, but this skill needs report fields and false-positive handling for AWS posture assessments. |
| AWS Security Hub |
Partial |
Can surface live posture findings, but repository/IaC reviews still need explicit evidence collection. |
Overall Assessment
Strengths:
The skill has a clear CIS AWS checklist and strong coverage for IAM, S3, CloudTrail, monitoring, networking, and IMDSv2 basics.
Needs improvement:
It does not evaluate EKS cluster posture even though EKS is a first-class AWS deployment surface and the risky settings are visible in Terraform.
Priority recommendations:
- Add a supplemental EKS Cluster Posture section to the AWS review workflow.
- Add checklist items for private/public endpoint access, public access CIDRs, access management mode, bootstrap admin, secrets encryption, cluster logs, node role scope, and Pod Identity/IRSA evidence.
- Extend the report output with an EKS evidence table and Not Evaluable reasons for missing cluster, identity, and logging evidence.
References
Bounty Info
Skill Being Reviewed
Skill name:
aws-reviewSkill path:
skills/cloud/aws-review/False Positive Analysis
Benign code that triggers a false positive:
Why this is a false positive:
The current AWS review skill does not evaluate
aws_eks_clusterresources at all. A reviewer can only map this to generic IAM, logging, and networking checks, which risks treating a well-scoped private EKS cluster as Not Evaluable because the skill lacks EKS-specific evidence fields.Coverage Gaps
Missed variant 1: public EKS API endpoint open to the internet
Why it should be caught:
The skill flags public security groups and admin exposure, but it does not ask whether the EKS Kubernetes API server endpoint is private or tightly scoped.
Missed variant 2: cluster creator bootstrap admin and weak access evidence
Why it should be caught:
EKS access management can leave standing cluster-admin paths through the creator or legacy
aws-authConfigMap. The AWS posture review should ask for access-mode and bootstrap-admin evidence rather than relying only on IAM policy review.Missed variant 3: no pod-level AWS identity evidence
Why it should be caught:
Without IRSA or EKS Pod Identity associations, workloads often inherit broad node roles or static credentials. Generic IAM checks do not prove pod-level least privilege.
Edge Cases
public_access_cidrsand documented admin source networks; default open access should not be treated as equivalent.Remediation Quality
aws-reviewrather than duplicating all generic Kubernetes workload checks fromcontainer-security.Comparison to Other Tools
endpoint_public_access,public_access_cidrs, orbootstrap_cluster_creator_admin_permissions, but needs review context for compensating controls and access mode.Overall Assessment
Strengths:
The skill has a clear CIS AWS checklist and strong coverage for IAM, S3, CloudTrail, monitoring, networking, and IMDSv2 basics.
Needs improvement:
It does not evaluate EKS cluster posture even though EKS is a first-class AWS deployment surface and the risky settings are visible in Terraform.
Priority recommendations:
References
Bounty Info