# Install threatcl with Homebrew

Documenting your Threat Models with HCL. Version 0.6.5 via Homebrew; verified 2026-08-01.

## Install

```sh
sudo av install brew:threatcl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install threatcl
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:threatcl
- **Package manager:** Homebrew
- **Version:** 0.6.5
- **Source summary:** Documenting your Threat Models with HCL
- **Homepage:** <https://github.com/threatcl/threatcl>
- **Repository:** <https://github.com/threatcl/threatcl>
- **Last updated:** 2026-08-01T13:15:26Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- threatcl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.6.5
## Project history and usage

threatcl is a command-line tool and HCL-based specification for documenting threat models in text files. The official README says the project was formerly named hcltm and was renamed to threatcl.

### Project history

The project frames threat modeling as a DevOps and version-control workflow: its README argues for a simple text-file format, a CLI-driven user experience, and integration with VCS. It builds on HashiCorp Configuration Language and the README explicitly connects that choice to Terraform familiarity and machine-readable structure.

### Adoption history

The official documentation positions threatcl for several installation and automation paths: Homebrew, Go install, Docker, and GitHub Actions. The README also documents release provenance through SLSA and GitHub attestations, which fits the security-tooling audience that may want to verify downloaded binaries and container images.

### How it is used

Users write threat models in HCL, then use the CLI to validate, list, view, export, query, generate dashboards, render data-flow diagrams, parse Terraform output, or run a server. The optional `config.hcl` file can override default classifications, impact types, STRIDE elements, and dependency classifications.

### Why package nerds care

For package nerds, threatcl is notable because it turns a security documentation practice into a normal source-controlled artifact with a CLI, Homebrew install, container image, GitHub Action, release attestations, and HCL syntax familiar to infrastructure engineers.

### Timeline

- Project README: hcltm is renamed to threatcl.
- Current README: documents Homebrew, Docker, GitHub Actions, SLSA attestations, HCL threat models, GraphQL queries, Terraform parsing, and optional config.hcl.
- Current docs site: documents Homebrew, Go, Docker, and GitHub Actions getting-started flows.

### Related projects

- Related projects and specifications include Terraform and HCL2, OWASP threat-modeling material, OpenThreatModel, go-dfd, GitHub Actions automation, and security-as-code workflows.

### Sources

- <https://github.com/threatcl/threatcl#readme - official README for rename from hcltm, goals, HCL basis, CLI commands, Homebrew install, release provenance, and config.hcl.>
- <https://threatcl.dev/ - official documentation site for getting started, Homebrew/Go/Docker/GitHub Actions installs, and example threat model.>


## Security Notes

No matching local secret-handling manifest was found for threatcl. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: config.hcl

## Combined YAML source

View the package source record on GitHub. [combined/threatcl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/threatcl.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
