# LeastProof — Zero-Upload AWS IAM & Terraform Least-Privilege Auditor > Canonical URL: https://leastproof.oriancy.com/ > Vendor: Oriancy (Sébastien Borne — EI · SIREN 889 882 015 · France) > Support: support@oriancy.com > Parent Hub: https://oriancy.com/ ## Summary LeastProof is a 100% client-side, zero-telemetry static security auditor and zero-dependency Node.js CLI for AWS IAM JSON policies and Terraform (`*.tf`) infrastructure code. It requires zero AWS credentials and sends zero bytes over the network during scans (verifiable in browser DevTools Network). ## Deterministic Rule Catalog (36 Rules) ### AWS IAM Policies & Trust Boundaries (IAM001–IAM018) - IAM001 (CRITICAL): Full administrative wildcard (`Action: "*"` on `Resource: "*"`) — SOC 2 CC6.1, CIS 1.16 - IAM002 (CRITICAL): Dangerous service wildcard (`iam:*`, `sts:*`, `kms:*`, `s3:*`, `ec2:*`, `organizations:*`) on `*` - IAM003 (CRITICAL): Unscoped `iam:PassRole` privilege escalation path (missing ARN scope or `iam:PassedToService`) - IAM004 (CRITICAL): Direct IAM / Lambda privilege-escalation actions (`CreatePolicyVersion`, `AttachRolePolicy`, `PutRolePolicy`, `UpdateFunctionCode`) on wildcard resources - IAM005 (CRITICAL): Public trust policy `Principal: "*"` without `aws:PrincipalOrgID` or `aws:SourceArn` - IAM006 (CRITICAL): GitHub Actions OIDC trust policy missing strict `token.actions.githubusercontent.com:sub` condition - IAM007 (HIGH): Cross-account `sts:AssumeRole` without `sts:ExternalId` or Condition guard - IAM008 (HIGH): Permissive `NotAction` or `NotResource` with `Effect: Allow` - IAM009 (HIGH): Direct attachment of `AdministratorAccess`, `PowerUserAccess`, or `IAMFullAccess` - IAM010 (HIGH): IAM policy attached directly to `aws_iam_user` instead of role or group (CIS 1.15) - IAM011 (HIGH): Long-lived static IAM access keys (`aws_iam_access_key`) provisioned in Terraform - IAM012 (HIGH): Unscoped secrets / KMS decryption (`kms:Decrypt`, `secretsmanager:GetSecretValue`, `ssm:GetParameter*`) on `*` - IAM013 (HIGH): Unrestricted destructive actions (`ec2:Delete*`, `rds:Delete*`, `s3:DeleteBucket`) on `*` - IAM014 (MEDIUM): Missing `aws:SecureTransport: "true"` TLS enforcement on S3 data policy - IAM015 (MEDIUM): Missing `aws:MultiFactorAuthPresent` on privileged human/admin policy - IAM016 (MEDIUM): Broad bulk data read (`s3:GetObject`, `dynamodb:Scan`, `bedrock:InvokeModel`) on `*` or legacy/missing IAM `Version` - IAM017 (MEDIUM): `aws_iam_role` missing `permissions_boundary` or `max_session_duration > 3600` - IAM018 (LOW): Weak `aws_iam_account_password_policy` (`minimum_password_length < 14` or missing complexity flags) ### Terraform AWS Infrastructure Security (TF001–TF018) - TF001 (CRITICAL): Hardcoded AWS access key (`AKIA...`) or plaintext secret/password in `*.tf` - TF002 (CRITICAL): Security Group exposing SSH (22) or RDP (3389) to `0.0.0.0/0` or `::/0` (CIS 5.2 / 5.3) - TF003 (CRITICAL): Security Group exposing database/cache ports (`5432`, `3306`, `6379`, `27017`, `9200`) to internet - TF004 (CRITICAL): Security Group allowing all ports/protocols (`-1` or `0..0`) from `0.0.0.0/0` or `::/0` - TF005 (CRITICAL): RDS `aws_db_instance` / `aws_rds_cluster` with `publicly_accessible = true` (CIS 2.3.3) - TF006 (CRITICAL): S3 public ACL or missing full `aws_s3_bucket_public_access_block` (CIS 2.1.4) - TF007 (HIGH): RDS database missing `storage_encrypted = true` (CIS 2.3.1) - TF008 (HIGH): S3 bucket missing SSE-KMS/AES256 encryption configuration - TF009 (HIGH): EC2 instance or launch template allowing IMDSv1 (`http_tokens != "required"`, CIS 5.6) - TF010 (HIGH): EBS volume or EC2 `root_block_device` missing `encrypted = true` (CIS 2.2.1) - TF011 (HIGH): KMS key missing `enable_key_rotation = true` (CIS 3.6) - TF012 (HIGH): CloudTrail disabled, single-region, or missing `enable_log_file_validation` (CIS 3.1 / 3.2) - TF013 (HIGH): Weak TLS (< TLS 1.2) on ALB/NLB listener or CloudFront distribution - TF014 (MEDIUM): RDS missing `deletion_protection = true` or `backup_retention_period < 7` - TF015 (MEDIUM): VPC missing `aws_flow_log` network audit logging (CIS 3.7) - TF016 (MEDIUM): CloudWatch Log Group missing `kms_key_id` or `retention_in_days` - TF017 (MEDIUM): S3 bucket missing versioning (`status = "Enabled"`, CIS 2.1.3) - TF018 (LOW): Lambda function with plaintext secret-like env vars or missing `kms_key_arn` ## Pricing (One-Time via Polar.sh, Zero Subscriptions) - Free Browser Auditor ($0): All 36 rules in-browser, blast-radius summary, least-privilege patch diff, SHA-256 JSON export. - LeastProof Pro — Solo ($49 one-time): Zero-dep Node CLI (`leastproof-cli`), multi-file repo scan, SARIF 2.1.0, SOC 2 CC6.1 / CIS AWS v5.0 / ISO 27001 Auditor Markdown dossier, anti-injection CSV, SHA-256 manifest, 3 machine activations (14-day offline grace). - LeastProof Team ($99 one-time): Everything in Solo + 15 activations + 5 hardened SOC 2 CC6.1 / CIS AWS v5.0 templates (Control Matrix, GitHub OIDC Terraform module, S3/RDS/VPC baseline, Enterprise RFP answers, GitHub Actions PR gate). ## Honest Comparison vs FOSS & Enterprise CSPM - Open-source CLIs like Checkov (Python) and Trivy (Go) are strong local scanners, but neither provides a 0-upload browser auditor combining Terraform + IAM JSON with an out-of-the-box SOC 2 CC6.1 auditor evidence dossier and zero-dependency Node CLI. - Commercial CSPM/IaC platforms (Prowler Cloud, Snyk IaC Team, Spacelift, Prisma Cloud, Wiz) range from $2,800/yr to $150,000+/yr. LeastProof provides a one-time $49/$99 local option for lean AWS engineering teams. ## Key Pages - Scanner: https://leastproof.oriancy.com/ - AWS IAM Policy Auditor (IAM001–IAM018): https://leastproof.oriancy.com/aws-iam-policy-auditor.html - Terraform Security Scanner (TF001–TF018): https://leastproof.oriancy.com/terraform-security-scanner.html - Privacy: https://leastproof.oriancy.com/privacy.html - Support & Legal: https://leastproof.oriancy.com/support.html