tfsec

Install command:
brew install tfsec

Static analysis security scanner for your terraform code

https://aquasecurity.github.io/tfsec/latest/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/tfsec.json

Formula code: tfsec.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
macOS on
Intel
sonoma ✅
ventura ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.28.14
head ⚡️ HEAD

Depends on when building from source:

go 1.27.4 Open source programming language to build simple/reliable/efficient software

Binaries: tfsec

GitHub Packages downloads:

Last 30 days10,298
Downloads1,441,475
Analytics install events (30 days)2,268
Downloads / install events (30 days)4.5×

Source: GitHub Packages, fetched 2026-11-11T00:52:59Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs2,2674,90727,089
Installs (--HEAD)1218
Installs on Request2,2674,90727,086
Installs on Request (--HEAD)1218
Build Errors0