Built for the ticket that’s been stuck for a year Zero dashboards · Local MCP for Claude Code & Codex

Ship cloud guardrails at AI speed,
without breaking 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.

or install inClaude CodePaste in Claude Code or Codex
Set up Popcorn by reading https://popcornsecurity.org/install.md and following its instructions

Open source (MIT / Apache-2.0) · Read-only AWS credentials · Zero third-party SaaS access

Claude Code

Dry-run the AWS Top 25 Kernels.

popcorn-mcp · dry_run

Claude:17 of 25 Kernels have zero impact across 14 accounts. Ready to open a Terraform PR?

Ship it.

PopcornAWS Top 25Read-only
  • aws/enforce-ec2-imdsv2Safe
  • aws/block-root-access-keysSafe
  • aws/block-public-s3-bucketsSafe
  • aws/block-unencrypted-rds30d waiver

+ 21 more Kernels simulated locally

Terraform PR ready · 17 Kernels → 2 SCPs

Works with the tools you already use

You don’t need another
security dashboard.

You already have AWS guardrails—and Claude to ship them safely.

01

Start with peer-reviewed Kernels, not prompts.

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.

Meet the AWS Top 25 Kernels
Kernel nutrition labelSKILL.md

aws/enforce-ec2-imdsv2

AWS Organizations SCP

ConfidenceEXACT
Policy cost284 bytes5.5% of 1 SCP
  • Policy JSONDeterministic
  • Dry-Run SQLDeterministic
  • Rollout PlaybookAgent Triage

Known footgunsLegacy Packer/Jenkins builders, older EKS launch templates

One-line dry-run
popcorn dry-run aws/enforce-ec2-imdsv2
02

Simulate blast radius with read-only keys.

Run 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.

Local MCP ServerYour machine. Your credentials.
Local
One read-only SQL scan
Athena / DuckDB30 days of CloudTrail
Zero Log DownloadsExact / Partial / Static
25 Kernels evaluated together
17 zero impact8 need review
Illustrative dry-run
03

Compile, pack, and ship via Git PR.

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.

guardrails/aws-top-25Ready for review

Zero-impact Kernels

Ship 17 safe AWS Top 25 Kernels packed into 2 SCPs.

Scoped Git waiver

Draft a 30-day YAML exception scoped to aws:PrincipalArn—never an entire prod account.

+ kernels: 17+ scps: 2+ admin_lockouts: 0Terraform / OpenTofu

Deterministic guardrails.
Zero SaaS lock-in.

Your agentClaude Code / Codex
Popcorn KernelsSimulate · Compile · Review
AWS guardrailsEnforced 24/7
Read-only keys stay local. Enforcement stays in your cloud.

Transparent, Git-auditable Kernels simulated locally with read-only credentials. Merge one Terraform PR and own your enforcement forever.

Open-source Kernels and deterministic compilers for preventive cloud security.

Made by humans · Peer-reviewed in Git

Curated Kernels built by the best in the community.

Real cloud security practitioners write, test, and review every Kernel—so your agent runs battle-tested guardrails, not AI guesswork.

Browse Popcorn Hub

Community-verified Kernels

AWS Top 25
Four featured Kernels. Maintainer identities are launch placeholders.
KernelConfidenceCostMaintainer
aws/enforce-ec2-imdsv2EXACT284 B@pending
aws/block-root-access-keysEXACT312 B@pending
aws/block-public-s3-bucketsEXACT418 B@pending
aws/protect-cloudtrail-logsEXACT360 B@pending

Kernel Leaderboard

Top human contributors

Launch contributor slots · Illustrative counts

  1. 01
    Launch contributorCloud Sec Architect
    9 Kernels
  2. 02
    Launch contributorPrincipal SecEng
    7 Kernels
  3. 03
    Launch contributorStaff Infra Security
    5 Kernels
  4. 04
    Launch contributorAWS Security Engineer
    4 Kernels
  5. 05
    Launch contributorDetection & Guardrails
    3 Kernels

What your agent can do with Popcorn

Deterministic execution meets AI-assisted triage—without ever putting an LLM in your runtime hot path.

Explore Popcorn Hub

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.

Telemetry honesty with Confidence Badges

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.

Pack rules safely inside AWS limits

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.

Ship expiring waivers natively in Git

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.

Built for the ticket that’s been stuck for a year

< 5 minfrom zero guardrails to a Terraform PR
Top 25flagship AWS Kernels ready on day one
0management-account keys shared with a vendor
Community benchmark · Coming at launch

Dry-Run Benchmark: Which AWS Top 25 Kernels broke zero workloads across 50 real AWS accounts.

A community dry-run benchmark across 50 real AWS accounts is planned. Results will be published here.

In the works
Design partner story · Coming at launch

Reserved for a cloud security engineer’s experience closing a year-old “Roll out AWS SCPs” ticket.

Community story · Coming at launch

Reserved for a practitioner’s first AWS Top 25 dry-run and guardrail rollout.

The open-source Kernel library your cloud agent runs on.

Run your first AWS Top 25 dry-run in five minutes.
Keep every key local.

or install inClaude Code or Codex
Set up Popcorn by reading https://popcornsecurity.org/install.md and following its instructions

Paste in Claude Code or Codex

v1 for AWS · MIT / Apache-2.0

Free, forkable, and local-first.

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.

Install for free

Read-only AWS credentials · Pennies per Athena scan · Optional EventBridge alerts

Explore hub.popcorn.sh
On the roadmap · v2

Need multi-cloud or identity Kernels?

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.

GCPAzureOktaGitHubGoogle Workspace
View the roadmap

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.