Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@marcdomain/teriac

Latest version: v0.3.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: marcdomain
7 Stars
4 Forks
10 Versions
2.1K Downloads
TypeScript Repo language

Scan summary

@marcdomain/teriac was last scanned on 28 Nov 2026 at version 0.3.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 3 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.3.2.
  • Downloads: 2,090 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.2 LATEST 28 Nov 2026 No rules fired
0.3.1 25 Nov 2026 No rules fired
0.3.0 25 Nov 2026 No rules fired
0.2.4 15 Nov 2026 Not shown
0.2.2 13 Nov 2026 Not shown

No rules fired in 0.3.2

Findings

Findings for v0.3.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

teriac: Terraform, OpenTofu & Terragrunt, from your laptop to your pull requests

teriac comes in two parts. Use either one, or both together:

teriac CLI teriac server
For Your machine: macOS, Linux and Windows Your team's pull requests on GitHub
Does Installs and switches versions, plans and applies, gives each project its version Plans every pull request, applies when people ask, with permissions, approvals and guardrails
Get it npm install -g @marcdomain/teriac Helm chart or Docker image

teriac CLI

teriac CLI: signed installs, OpenTofu and Terragrunt, switching versions, auto-switch on cd, pinning, plan and apply by file, doctor, and AI: teriac explain reviews a plan, teriac fix repairs a failed one

teriac is one command for Terraform, OpenTofu and Terragrunt, with no sudo:

  • Versions: install, switch, pin, upgrade and remove any version; downloads are checked against the vendor's signature.
  • Projects: each project gets the version it asks for (.terraform-version, required_version, Terragrunt config), automatically on cd.
  • Runs: teriac plan, apply, destroy, init, fmt and validate, with targets taken from files, and teriac exec to run one command with any version.
  • Speed and health: a shared provider cache across projects, and teriac doctor to check the setup.
  • AI help (optional): teriac explain reviews a plan in plain English; teriac fix finds why a plan failed and suggests the fix.

Everything lives in ~/.teriac/; upgrading teriac itself never touches your installed versions. Install it.


teriac server

teriac server: install with Helm or Docker, the PR comment with risk and approvals, apply, sign in with GitHub, and the dashboard with live output, runs, the emergency stop, metrics and unlocking, then AI help: the plan review, inline code review, teriac ask, AI on the dashboard, per-project settings and policy drafts, and teriac adopt bringing resources made by hand under Terraform as a PR, from a comment or the dashboard

A self-hosted service for pull requests. It plans every project a pull request changes, posts one clear comment, and applies when someone comments teriac apply:

  • Readable PR comments: a table of what each project adds, changes and destroys, its risk, and what still blocks it; check runs with an Apply button and notes on the risky lines.
  • Who can do what: per-project permissions and required approvals from your GitHub users and teams, a fresh approval after new commits, and only the reviewed plan is applied.
  • Guardrails: built-in AWS security rules and your own policies, change freezes, protected resources, a leaked-secret scan, and emergency access that expires on its own.
  • Terragrunt and OpenTofu built in: dependencies run in order, and only the affected units run.
  • Drift: scheduled checks that name who changed what, alerts in Slack, Teams, Discord or Google Chat, and optional fix PRs.
  • Dashboard: runs, locks, drift, the audit log, guardrails, and delivery metrics (PR to applied, failure rate, time to fix), plus a weekly summary in chat.
  • AI help (optional): a plain-English review of every plan, inline code review with one-click suggestions, one-click fixes for failed runs, drift decisions, teriac ask and policy drafts, from Claude on Anthropic's API, Bedrock, Vertex AI or Foundry. Advisory only.
  • Adopt what was made by hand: teriac adopt reads resources created in the console and opens a PR with their code and import blocks, planned first so applying imports them and changes nothing (tidied by AI when it's on).
  • Easy to run: a Helm chart or one Docker image (signed, amd64 and arm64), with scheduled database backups to S3, GCS or Azure.
kubectl create namespace teriac
kubectl -n teriac create secret generic teriac-github \
  --from-file=private-key=app.pem --from-literal=webhook-secret="$WEBHOOK_SECRET"
helm install teriac oci://ghcr.io/marcdomain/charts/teriac-server -n teriac \
  --set github.appId=123456 --set github.existingSecret=teriac-github \
  --set 'config.repoAllowlist={github.com/acme/*}'

Setting up the GitHub App, PR commands and every setting: the server guide. Helm values: the chart guide.


Installation

npm install -g @marcdomain/teriac

The first time you run teriac, it creates ~/.teriac and adds ~/.teriac/bin to your PATH (shell configs, fish conf.d, or Windows User PATH). Restart your terminal once after that.

teriac has no install script, so it works the same with npm, pnpm, Bun and Yarn, and npm never asks you to allow scripts.


How it works

npm install -g @marcdomain/teriac
       │
       ▼
first `teriac` run (and after each upgrade)
  ├── creates ~/.teriac/bin/, ~/.teriac/store/, ~/.teriac/cache/
  └── adds ~/.teriac/bin to PATH (shell configs / Windows registry)
       │
       ▼
teriac install 1.9.0
  ├── fetches version list  →  ~/.teriac/cache/terraform-versions.json  (1hr TTL)
  ├── downloads zip         →  system temp dir  (with progress bar)
  ├── verifies SHA256       →  HashiCorp / OpenTofu checksums
  ├── extracts binary only  →  ~/.teriac/store/terraform/1.9.0
  └── records arch          →  ~/.teriac/store/terraform/arch.json
       │
       ▼
teriac use 1.9.0
  ├── copies ~/.teriac/store/terraform/1.9.0  →  ~/.teriac/bin/terraform
  └── writes active version  →  ~/.teriac/active.json

       │
       ▼
terraform plan   ← resolves to ~/.teriac/bin/terraform  (same binary as teriac)
teriac plan         ← spawns ~/.teriac/bin/terraform directly (no PATH lookup)

Both terraform and teriac commands always use the exact same binary.


Store layout

~/.teriac/
  bin/
    terraform          ← active terraform binary (no sudo, no symlinks)
    tofu               ← active opentofu binary
    terragrunt         ← active terragrunt binary
  store/
    terraform/
      1.9.0            ← installed versions (binary renamed to version number)
      1.7.3
      arch.json        ← { "1.9.0": "arm64", "1.7.3": "amd64" }
    opentofu/
      1.8.0
      arch.json
    terragrunt/
      1.2.1
      arch.json
  cache/
    terraform-versions.json   ← remote list cached for 1 hour
    opentofu-versions.json
  active.json          ← { "terraform": "1.9.0", "opentofu": null, "terragrunt": "1.2.1" }

Commands

Install
teriac install latest                   # latest stable
teriac install 1.9.0                    # exact version
teriac install 1.9.^                    # latest 1.9.x patch
teriac install 1.8.0-beta1              # explicit pre-release (warns you)
teriac install latest --provider tofu   # OpenTofu
teriac install 1.9.0 --arch amd64       # override architecture

Aliases: teriac i


Switch version
teriac use 1.9.0
teriac use latest                       # latest installed version
teriac use 1.8.0 --provider tofu

No sudo. Copies binary to ~/.teriac/bin/terraform.


Auto-switch

Detects and switches to the version your project requires. Installs it if not already in store.

teriac auto-switch
teriac as                               # alias
teriac as --provider tofu

Reads version from (in priority order):

  1. A version file in the current directory:
    • Terraform: .terraform-version, .tfswitchrc, .tfswitch.toml, or a terraform line in .tool-versions (asdf / mise)
    • OpenTofu: .opentofu-version, .tofu-version, an opentofu or tofu line in .tool-versions, then .terraform-version
  2. terraform.tfstate → terraform_version field
  3. required_version in any .tf file — supports all constraint operators: =, >=, >, <=, <, !=, ~>, and compound ">= 1.3, < 2.0"

Shell hook — auto-switch on cd

Wraps cd so that entering a directory automatically switches the terraform version — but only if the directory looks like a terraform project. Non-terraform folders have zero overhead (one filesystem check, no subprocess).

A directory is considered a terraform project if it contains:

  • a version file (.terraform-version, .opentofu-version, .tofu-version, .tfswitchrc, .tfswitch.toml), or
  • a .tool-versions file with a terraform, opentofu or tofu line, or
  • any *.tf files

The hook switches Terraform as above, and also switches OpenTofu when the project pins it with its own file (.opentofu-version, .tofu-version or .tool-versions).

cd ~/Downloads           # no .tf files → nothing happens
cd ~/projects/react-app  # no .tf files → nothing happens
cd ~/projects/infra      # has main.tf  → auto-switch runs silently
cd ~/projects/platform   # has .terraform-version → auto-switch runs silently

Setup (one-time, add to your shell config):

# Bash
printf '\neval "$(teriac shell-init bash)"\n' >> ~/.bashrc

# Zsh
printf '\neval "$(teriac shell-init zsh)"\n' >> ~/.zshrc

# Fish
printf '\nteriac shell-init fish | source\n' >> ~/.config/fish/config.fish

# PowerShell
Add-Content $PROFILE "`nInvoke-Expression (teriac shell-init powershell | Out-String)"

After setup, entering a terraform project switches the version automatically — no manual teriac as needed.

shell-init also installs tab completions for all teriac commands and installed versions. After running the setup command above, teriac <tab> will complete commands, teriac use <tab> will complete installed versions, and teriac --provider <tab> will complete provider names.


List versions
teriac list                             # installed versions (default)
teriac ls --remote                      # all available versions from HashiCorp
teriac ls --remote --provider tofu      # all available OpenTofu versions

Active version is marked with 🚀.


Current version
teriac current                          # shows active version + PATH status
teriac which                            # alias
teriac current --provider tofu

Example output:

Active terraform version: 1.9.0
Binary: /Users/you/.teriac/bin/terraform
Reported: Terraform v1.9.0
PATH OK — 'terraform' resolves to teriac-managed binary

Pin version

Writes a version file in the current directory so teammates get the same version via teriac auto-switch. Each tool has its own file, so pinning one never switches another:

teriac pin                              # pin currently active version → .terraform-version
teriac pin 1.9.0                        # pin a specific version
teriac pin --provider tofu              # → .opentofu-version
teriac pin --provider terragrunt        # → .terragrunt-version

Upgrade
teriac upgrade                          # upgrade active 1.6.3 → latest 1.6.x patch
teriac upgrade 1.9                      # install + use latest 1.9.x
teriac upgrade latest                   # install + use absolute latest
teriac upgrade --provider tofu

Also re-anchors ~/.teriac/bin in PATH to ensure it takes precedence over any system-installed terraform.


Remove
teriac remove 1.7.3
teriac rm 1.7.3 1.6.6                   # remove multiple
teriac rm 1.8.0 --provider tofu

Warns if you're removing the currently active version.


Prune

Remove all non-active versions at once to free disk space.

teriac prune                            # remove everything except the active version
teriac prune --keep 2                   # keep the 2 most recent + the active version
teriac prune --provider tofu
teriac prune --yes                      # skip confirmation prompt

The active version is always kept regardless of --keep.


Exec

Run a single command with a specific installed version without changing the active version. Useful for cross-version testing and CI.

teriac exec 1.9.0 -- version
teriac exec 1.8.0 -- plan -var="env=prod"
teriac exec 1.7.3 --provider tofu -- validate

Pass all terraform/tofu flags after --.


Doctor

Run a full health check: store directories, active binaries, PATH order, PATH conflicts, and shell config.

teriac doctor

Example output:

teriac doctor

Store
  ✔  ~/.teriac/store/terraform/ exists
  ✔  ~/.teriac/store/opentofu/ exists

Active versions
  ✔  terraform: active version is 1.9.0
  ✔  terraform: binary exists
  ✔  terraform: executes  (Terraform v1.9.0)
  –  tofu: not set up (no versions installed)

PATH
  ✔  ~/.teriac/bin is in PATH
  ✔  ~/.teriac/bin precedes system dirs in PATH
  ✔  'terraform' resolves to teriac-managed binary
  ✔  PATH block found in shell config (~/.zshrc)

Cache
  ✔  terraform version cache exists
  –  opentofu version cache not yet created

All checks passed. teriac is healthy.

Exits with code 1 if any issue is found.


Terraform commands (via teriac)

All commands use the teriac-managed binary and accept extra terraform flags after --:

teriac init
teriac validate
teriac fmt
teriac fmt -- -recursive

teriac plan
teriac plan --file main.tf                        # extract targets from file
teriac plan --file main.tf --file network.tf      # multiple files
teriac plan --file main.tf -- -var="env=prod"     # with extra terraform flags

teriac apply --file main.tf -- -auto-approve
teriac destroy --file main.tf -- -auto-approve

--file parses .tf files and auto-generates -target flags for every resource, data, and module block found. Comments are stripped before parsing.

All commands support --provider tofu to use OpenTofu instead.

AI review and fixes

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @marcdomain/teriac

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229