cdk-security-review
Skill by aws
Reviews AWS CDK pull requests for security exposure the change adds. It is for engineers who want IAM, network, secrets and secure-default issues caught before merge.
Install cdk-security-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aws/aws-cdk /tmp/aws-cdk && mkdir -p ~/.claude/skills && cp -r /tmp/aws-cdk/skills/cdk-review/cdk-security-review ~/.claude/skills/cdk-security-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aws/aws-cdk /tmp/aws-cdk && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aws-cdk/skills/cdk-review/cdk-security-review ~/.gemini/antigravity-cli/skills/cdk-security-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cdk-security-review in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The cdk-security-review skill reviews an AWS CDK pull request for security exposure the diff introduces. It names the security-sensitive surface the change touches, such as an IAM policy, a trust policy, a KMS key policy, a resource or network policy, a default, or a secret-named prop. It then checks that surface against its security rules across four areas: IAM least-privilege, network and resource access, secrets and credentials, and secure defaults.
Each finding names the specific exposure, one realistic way to reach it, and the rule or guide line it breaks. The skill skips correctness and breaking-change concerns and does not post findings without a file and line. It is written for teams that review AWS CDK code and want a focused security pass on each change.
Written from the project's SKILL.md and checked against it.
What it can do
- IAM least-privilege reviewChecks IAM policies, grants and trust policies for over-broad permissions and confused-deputy risk.
- Network and resource access reviewChecks network configuration and resource policies for access the change widens.
- Secrets and credentials reviewChecks changes to secrets and credentials for exposure.
- Secure defaults reviewFlags changes that weaken secure defaults, including feature flags that loosen security.
- Finding write-upNames the exposure, a realistic way to reach it, and the rule or guide line it breaks.
Try asking
- Review this AWS CDK pull request for IAM least-privilege issues
- Check this CDK diff for network changes that widen access
- Scan my CDK change for secrets or insecure default settings
Good to know
- Findings without a file and line in the diff are not posted.
- Correctness and breaking-change issues are out of scope.
- Suffix-wildcard actions such as s3:GetObject* are acceptable; full-service s3:* is flagged.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cdk-review/cdk-security-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md3 KB -
references/security-rules.md7 KB
Alternatives to cdk-security-review
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
cdk-security-review: common questions
What does the cdk-security-review skill check?
It checks AWS CDK pull requests for IAM least-privilege, network and resource access, secrets and credentials, and secure-by-default issues. It focuses on exposure the change itself introduces.
Does it flag every security issue in a CDK project?
No. It only reviews what the diff adds or changes, and it does not post general security advice that is not tied to a changed line.
Which changes trigger the review?
The skill is triggered by changes to IAM, KMS, Secrets Manager, certificates, network configuration, or other security-sensitive services.
How do I install cdk-security-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cdk-security-review free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cdk-security-review safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cdk-security-review?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
