cdklabs/cdk-nag
Check CDK applications for best practices using a combination of available rule packs observed · 2026-10-10
Health v2 · maintenance only
91/100
- Activity 98
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 1918
- days_rel: 77
- days_push: 15
- n_releases_24m: 277
Adoption not part of the score
1047 stars · 89 forks observed · 2026-10-10
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cdk-nag is a library that checks AWS CDK applications and CloudFormation templates for best practices using pre-built rule packs such as AWS Solutions, HIPAA Security, NIST 800-53, PCI DSS, and Serverless. It reports rule violations during synthesis and allows developers to acknowledge or suppress specific findings on constructs.
Use cases
- check my CDK app for security best practices
- scan CloudFormation templates for compliance violations
- enforce HIPAA or PCI DSS rules on infrastructure code
- suppress known rule violations on specific CDK constructs
- create custom rule packs for organizational standards
- audit IaC against NIST 800-53 controls
When to choose
- you use AWS CDK or CloudFormation and want automated compliance and best-practice checks
- you need to enforce regulatory rule packs like HIPAA, PCI DSS, or NIST on your infrastructure
- you want violations surfaced during CDK synthesis before deployment
When to avoid
- you use Terraform, Pulumi, or other non-CDK IaC tools
- you need runtime or dynamic security scanning of deployed resources rather than static template checks
- you need general-purpose linting beyond infrastructure rules
Facets
library · maturity active
security testing linter developer-tools infrastructure-as-code security cloud-computing developer-tools python jvm dotnet go cli aws-cdk cloudformation compliance rule-packs static-analysis infrastructure-as-code devops nodejs
1 source
- readme: https://github.com/cdklabs/cdk-nag · fetched 2026-10-10 · 1fb0f68ae246
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cdklabs/cdk-nag | main | 91 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem