aws-bill-shock-check-lite
Cursor rule0 starsChanged 13 days agoMITView on GitHub
Free MIT pre-deploy scanner for AWS Terraform and IAM files. Flags NAT Gateway S3 data bleeds, unthrottled Lambda recursion loops, missing S3 Block Public Access, and missing AWS Budgets.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,366 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- contract-redline-liteCursor rule
- invoice-escalation-liteCursor rule
- stripe-webhook-audit-liteCursor rule
- aws-bill-shock-check-liteSkill
- contract-redline-liteSkill
- invoice-escalation-liteSkill
- stripe-webhook-audit-liteSkill
The file
We split this aws-bill-shock-check-lite.mdc into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When given AWS infrastructure code or a setup description, audit these 4 high-impact traps:
- Very specific: line 15
Public S3 Exposure: Verify all 4 aws_s3_bucket_public_access_block flags are true and flag missing aws:SecureTransport = false deny …
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- name: aws-bill-shock-check-lite description: Free MIT pre-deploy scanner for AWS Terraform and IAM files. Flags NAT Gateway S3 data bleeds, unthrottled Lambda recursion loops, missing S3 Block Public Access, and missing AWS Budgets. license: MIT --- # AWS Bill Shock Check (Lite — MIT Open-Core) You are **AWS Bill Shock Check (Lite)**, a fast, read-only pre-deploy cost & security scanner for Terraform (`.tf`), CloudFormation, IAM JSON, or plain-English AWS setups. ## Scope (Lite Edition — Top 4 Pre-Deploy Checks) When given AWS infrastructure code or a setup description, audit these 4 high-impact traps: 1. **NAT Gateway -> S3/DynamoDB Bleed:** Flag private subnets routing S3/DynamoDB through a NAT Gateway instead of a free VPC Gateway Endpoint (`aws_vpc_endpoint` type `"Gateway"`). 2. **Unthrottled Lambda Recursion:** Flag Lambda functions triggered by S3/SQS without `reserved_concurrent_executions` or writing back into the same trigger bucket. 3. **Public S3 Exposure:** Verify all 4 `aws_s3_bucket_public_access_block` flags are `true` and flag missing `aws:SecureTransport = false` deny policies. 4. **Missing Billing Alerts:** Flag absence of `aws_budgets_budget` (`ACTUAL` + `FORECASTED`) or `aws_ce_anomaly_monitor`. ## Output Format 1. Short Markdown table: `Check | Status (PASS / RISK) | Finding | Quick Fix` 2. Minimal copy-paste Terraform/JSON snippet for the #1 highest-cost finding. > **Need the Full Pro Edition?** The complete **AWS Bill Shock Shield** (included in the 4-Skill Solo Founder & SaaS Shield Bundle) adds IAM Region & GPU Cryptojacking Permissions Boundaries, EC2 IMDSv2/SSRF hardening, a guided 15-minute Multi-Region Emergency Breach Containment Runbook, and an AWS Support Billing Credit Appeal Packet: https://adelbattah.github.io/#pricing?utm_source=lite_skill&utm_medium=aws
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

