Rustmaninoff, IaC security scanner

v0.6.8 · Apache-2.0 · GitHub Action + CLI

crates.ioGitHub Marketplace ActionCILicense

Checkov-compatible CKV policies. Single Rust binary. GitHub Action. No Python.

Fast IaC security scanner for Terraform, CloudFormation, Kubernetes, and Dockerfiles — a Checkov-compatible alternative for CKV gates in CI. Same published CKV ids and skip comments, without the Python runtime — about 59× faster on the latest published synthetic corpus row (self-reported). 546 checks; Docker 11/11 / K8s 111/113 (98.2%) of pinned Checkov ids. Install with cargo, Homebrew, Docker, or jose-compu/rustmaninoff on GitHub Actions with SARIF upload.

Terminal demo: rustmaninoff fails CKV_AWS_3 on unencrypted EBS — Checkov-compatible IaC scan

43 msfull synthetic corpus
546built-in checks
4frameworks
~59×faster than Checkov on that corpus

Why not Checkov or Trivy

Those tools cover more. Rustmaninoff is the fast path when you already know the CKV ids you want to enforce.

Milliseconds, not seconds

43 ms on 1,540 resources vs 2.53 s Checkov 3.4.11 (~59×) and 5.60 s Trivy 0.76.2 (~130×). No Python VM and no policy-db refresh on the scan path.

One static binary

cargo install rustmaninoff, or a GitHub Release binary. Checkov needs Python and plugins. Trivy also pulls vulns, secrets, and SBOMs you may not want in an IaC-only job.

Checkov ids, Rust engine

Published CKV ids, YAML pass-conditions, and # checkov:skip= comments. Interpolations stay unknown and never fail CI. SARIF, JUnit, and JSON are first-class.

RustmaninoffCheckovTrivy
RuntimeOne Rust binaryPython + pluginsGo binary + DBs
IaC attribute checks546 CKV-styleLarge built-in packMisconfig policies
Graph / CKV2First-wave AWSYesSome
Helm / Kustomize / plan JSONPlan onlyYesYes
Secrets / vulns / SBOMNoSecrets (Checkov)Yes
Skip commentsCheckov-compatibleNativeDifferent
This corpus (CLI)43 ms2.53 s5.60 s

Keep Checkov or Trivy when you need full graph depth, Helm, or vulnerability scanning. Use Rustmaninoff when you want CKV gates with published fidelity in CI without that cost — including opt-in scans of saved Terraform plan JSON. Closing the rest of the gap is the roadmap and the GitHub epics.

Install

CLI, Homebrew, Docker, or the official GitHub Action. Prefer the Action for SARIF Code Scanning in CI.

cargo install rustmaninoff --locked
rustmaninoff scan . --framework terraform,cloudformation,kubernetes,docker
brew install jose-compu/tap/rustmaninoff
docker run --rm -v "$PWD":/src -w /src ghcr.io/jose-compu/rustmaninoff:0.6.8 scan .

GitHub Action — install in CI

Official composite Action: downloads a release binary, verifies SHA-256, scans Terraform / CloudFormation / Kubernetes / Dockerfiles, and emits SARIF for GitHub Code Scanning. Marketplace: github.com/marketplace/actions/rustmaninoff. Pin with jose-compu/rustmaninoff@v0.6.8.

# .github/workflows/iac-scan.yml
name: IaC security
on:
  pull_request:
  push:
    branches: [main]
permissions:
  contents: read
  security-events: write
jobs:
  rustmaninoff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: jose-compu/rustmaninoff@v0.6.8
        with:
          path: .
          fail-on: HIGH
          output: sarif
          sarif-file: rustmaninoff.sarif
      - uses: github/codeql-action/upload-sarif@v3
        if: always()
        with:
          sarif_file: rustmaninoff.sarif

Inputs: path, version (default 0.6.8), fail-on, output, sarif-file, args. Full Action docs: ACTION.md · documentation.

FAQ

Checkov alternative?

Yes for CKV attribute gates in CI: same published ids and # checkov:skip= comments, Rust binary, no Python. Terraform plan JSON is opt-in via --framework terraform_plan. Helm and Kustomize are still open.

Next to Trivy?

Yes. Use Rustmaninoff for IaC CKV policies; keep Trivy for image CVEs, secrets product features, and SBOM. No vuln DB here.

GitHub Action?

uses: jose-compu/rustmaninoff@v0.6.8 then upload SARIF. See install snippet above.

What it does

Terraform

.tf, .tf.json, and OpenTofu .tofu managed resources and data sources. Vars/locals via defaults, TF_VAR_*, and --var-file.

CloudFormation

YAML and JSON Resources. Attribute paths are relative to Properties.

Kubernetes

Multi-document YAML, including List. Inline skip via checkov.io/skip.

Dockerfiles

Dockerfile, Containerfile, *.dockerfile. FROM tag, USER, COPY vs ADD, HEALTHCHECK.

Speed, on one corpus

Wall-clock CLI time. Median of three runs after warmup (./scripts/bench.sh). 40 Terraform files (1,080 resources), 20 CloudFormation files (300 resources), 20 Kubernetes files (160 resources). Latest row: Rustmaninoff 0.6.8 release binary, 546 built-in checks (Linux x86_64 runner, 2026-11-26). Source: benchmarks/history.json.

Rustmaninoff 0.6.8
0.043 s
Checkov 3.4.11
2.53 s
Trivy 0.76.2
5.60 s
ScannerFullTerraformCloudFormationKubernetes
Rustmaninoff 0.6.843 ms28 ms25 ms36 ms
Checkov 3.4.112.53 s2.29 s——
Trivy 0.76.25.60 s———

About 59× Checkov and 130× Trivy on the full corpus. Real-world sample (terraform-aws-modules/terraform-aws-s3-bucket@v4.1.2): Rustmaninoff 27 ms, Checkov 13.1 s.

Policy dialect

A check definition is the pass condition. Built-in YAML is rewritten from Checkov (Bridgecrew / Palo Alto Networks, Apache-2.0) and keeps published CKV ids.

metadata:
  id: CKV_AWS_3
  name: Ensure all data stored in the EBS is securely encrypted
  severity: HIGH
  framework: terraform
resource_types:
- aws_ebs_volume
definition:
  cond_type: attribute
  attribute: encrypted
  operator: equals
  value: true

What's next

Added

Catalog depth to 536 checks (Docker 11/11 / K8s 111/113 (98.2%) of pinned Checkov ids), published fidelity table, reproducible benches, and Checkov-compare CI.

Still out of scope

Milestone 0.7.0 is open (7 of 12): 0.6.8 refreshed published benchmarks; 0.6.7 shipped CKV_K8S_151; CKV_K8S_32 is next. Helm, Kustomize, local modules, and baselines are still ahead. See the roadmap.