Zero hallucinated IAM JSON or SQL
Every Kernel separates deterministic policy JSON and pre-tested CloudTrail SQL from agent triage. Your LLM never invents raw policies or pushes unreviewed JSON to prod.
Popcorn turns Claude Code and Codex into your preventive cloud security team—shipping battle-tested AWS SCPs that won’t break production in under 5 minutes.
Set up Popcorn by reading https://popcornsecurity.org/install.md and following its instructionsOpen source (MIT / Apache-2.0) · Read-only AWS credentials · Zero third-party SaaS access
Dry-run the AWS Top 25 Kernels.
17 of 25 Kernels have zero impact across 14 accounts. Ready to open a Terraform PR?
Ship it.
aws/enforce-ec2-imdsv2Safeaws/block-root-access-keysSafeaws/block-public-s3-bucketsSafeaws/block-unencrypted-rds30d waiver+ 21 more Kernels simulated locally
Works with the tools you already use
You already have AWS guardrails—and Claude to ship them safely.
Popcorn Kernels package deterministic SCP/RCP JSON, pre-tested CloudTrail SQL, confidence badges, and rollout playbooks into standard SKILL.md files—never hallucinated on the fly.
AWS Organizations SCP
Known footgunsLegacy Packer/Jenkins builders, older EKS launch templates
popcorn dry-run aws/enforce-ec2-imdsv2Run one local binary with read-only AWS credentials. Popcorn evaluates every Kernel in a single SQL scan over CloudTrail—via Athena or embedded DuckDB—for pennies per scan.
The deterministic compiler checks for admin lockouts, packs rules inside AWS’s 5,120-byte and 5-policy limits, and outputs reviewable Terraform or OpenTofu diffs.
Ship 17 safe AWS Top 25 Kernels packed into 2 SCPs.
Draft a 30-day YAML exception scoped to aws:PrincipalArn—never an entire prod account.
+ kernels: 17+ scps: 2+ admin_lockouts: 0Terraform / OpenTofuTransparent, Git-auditable Kernels simulated locally with read-only credentials. Merge one Terraform PR and own your enforcement forever.
Made by humans · Peer-reviewed in Git
Real cloud security practitioners write, test, and review every Kernel—so your agent runs battle-tested guardrails, not AI guesswork.
| Kernel | Confidence | Cost | Maintainer |
|---|---|---|---|
aws/enforce-ec2-imdsv2 | EXACT | 284 B | @pending |
aws/block-root-access-keys | EXACT | 312 B | @pending |
aws/block-public-s3-buckets | EXACT | 418 B | @pending |
aws/protect-cloudtrail-logs | EXACT | 360 B | @pending |
Launch contributor slots · Illustrative counts
Deterministic execution meets AI-assisted triage—without ever putting an LLM in your runtime hot path.
Explore Popcorn HubEvery Kernel separates deterministic policy JSON and pre-tested CloudTrail SQL from agent triage. Your LLM never invents raw policies or pushes unreviewed JSON to prod.
Each Kernel carries an explicit Exact, Partial, or Static badge—so your agent never sees zero CloudTrail hits and falsely declares an unobservable rule 100% safe.
Popcorn’s Policy Compiler validates syntax, blocks admin lockouts, tracks exact byte costs, and packs Kernels cleanly inside AWS’s 5,120-character and 5-policy-per-OU caps.
Using each Kernel’s Rollout Playbook, Claude drafts time-bound YAML exceptions scoped to the offending principal. An optional GitHub Action expires stale waivers with zero SaaS infrastructure.
A community dry-run benchmark across 50 real AWS accounts is planned. Results will be published here.
Reserved for a cloud security engineer’s experience closing a year-old “Roll out AWS SCPs” ticket.
Reserved for a practitioner’s first AWS Top 25 dry-run and guardrail rollout.
Run your first AWS Top 25 dry-run in five minutes.
Keep every key local.
Set up Popcorn by reading https://popcornsecurity.org/install.md and following its instructionsPaste in Claude Code or Codex
Single local binary (CLI + MCP server) plus the open-source popcorn-kernels repository. Ships with the AWS Top 25 Kernels, single-pass Athena and embedded DuckDB dry-runs, deterministic Terraform/OpenTofu diffs, and Git-native YAML waivers. Zero vendor lock-in once Terraform applies.
v2 expands Popcorn Kernels to GCP Organization Policies, Azure Policy (with optional Tailpipe log adapters), and cross-silo risk Kernels spanning Okta, GitHub, and Google Workspace.
First, AWS. Build the AWS Top 25, local simulation, policy compilation, and Git-native waivers.
Next, more clouds. Extend Kernels to GCP Organization Policies and Azure Policy.
Then, cross-silo risk. Connect identity and SaaS context across Okta, GitHub, and Google Workspace.