Automatically review a Terraform pull request for security and architecture risks before it merges
Get a plain English blast radius rating for how risky an infrastructure change is
Run a fully local, private security review with no API key using Ollama
Hunt for chained misconfigurations across multiple resources using red team mode
| balmha/tf-triage | 42wim/fabio | 42wim/go-xmpp | |
|---|---|---|---|
| Stars | 0 | — | — |
| Language | Go | Go | Go |
| Last pushed | — | 2018-02-04 | 2020-01-24 |
| Maintenance | — | Dormant | Dormant |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | ops devops | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
Works fully offline with Ollama, or needs an API key exported as an environment variable to use a cloud provider.
tf-triage is a command line tool written in Go that reviews Terraform or OpenTofu infrastructure plans using an AI model before you apply them. You pipe the output of a terraform plan command into it, and it sends a simplified version of your planned changes to a language model, then returns a Markdown report you can post directly as a comment on a pull request. The report covers three things: a short plain English summary of what the change actually does, a security and architecture review that looks for problems like overly broad permissions, resources exposed to the public internet, missing encryption, or gaps in logging, and a blast radius rating of low, medium, or high explaining how risky the change is if something goes wrong. You can choose which AI model answers these questions. Ollama runs entirely on your own computer for free with no API key and no plans ever leaving your machine, which suits sensitive infrastructure or offline use. Alternatively you can use a cloud provider such as Groq, DeepSeek, Gemini, Anthropic, or OpenAI by setting the matching API key as an environment variable, generally trading local privacy for faster or more capable analysis. There is also a more aggressive mode called red team mode. Instead of a general summary, it tries to think like an attacker, looking specifically for chains of misconfigurations across multiple resources that could be combined into a real attack path, and it can suggest concrete commands to verify whether a given exposure is real. Installing it is possible through Homebrew on macOS, a one line install script for Linux or macOS, Go's own install command, or building from source. The project is released under the GPL 3.0 license.
A command line tool that uses an AI model to review Terraform plans for security risks and produce a plain English blast radius report.
Mainly Go. The stack also includes Go, Terraform, Ollama.
You can use and modify the code, but any distributed version, including modified copies, must also be released under the same open license.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.