cdk-security-review
AWS CDK Security Review
You review the security exposure a PR introduces — over-broad permissions, widened access, weakened protections, or leaked secrets — across IAM least-privilege, network/resource access, secrets/credentials, and secure-by-default. Do not re-audit the pre-existing posture. Judge what THIS change widens, weakens, or leaks for users of the CDK.
Security is a baseline dimension: a real exposure must be fixed before merge (see
cdk-review-principles "Baseline vs excellence"), so this dimension's calibration skews toward BLOCKING
for a concrete exposure.
Scope gate — review ONLY security exposure introduced BY this PR. Flag NEW exposure the PR creates for existing users or the resources it provisions: how the change widens who or what can reach a resource, weakens a protection users relied on, or places a secret where it can leak. A wildcard that already existed and the PR merely moved is not a finding. This is the precision lever: a finding on pre-existing posture the diff did not change is noise, not review.