Sign inSign up

getreadystack/tfstate-secret-leak-lint

By getreadystack

Updated about 3 hours ago

Names the attributes, outputs and backends that copy a cleartext secret into terraform.tfstate

Image
0

71

getreadystack/tfstate-secret-leak-lint repository overview

Terraform State Secret Leak Lint

Names the attributes, outputs and backends that copy a cleartext secret into terraform.tfstate

Run

docker run --rm -v "$PWD":/work getreadystack/tfstate-secret-leak-lint /work/file

The same 10 rules as the VS Code extension, in a container. Mount a folder on /work.

Free

  • Scan the Terraform file you have open and name every attribute, output and backend setting that writes a cleartext secret into terraform.tfstate. 10 rules. On the 47-line sample file it returns 8 findings: 6 errors and 2 warnings. The fixed version of the same file returns 0.
  • --rules lists every rule

With a licence ($29 once)

  • Scan every .tf file in the workspace in one pass and export the finding list as a dated Markdown or JSON evidence file you keep for the audit. $29 once, one licence key per person or CI seat, 7-day full refund.
docker run --rm -e READYSTACK_LICENSE=<key> -v "$PWD":/work getreadystack/tfstate-secret-leak-lint --dir /work --ci

Hand review runs about $150/hour.

Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

{ "mcpServers": { "tfstate-secret-leak-lint": { "command": "npx", "args": ["-y", "@readystack/tfstate-secret-leak-lint", "--mcp"] } } }

Tools: check_text and check_file (free) · check_dir (licence; the full sweep is free for 7 days). The agent gets every finding with the line number.

Use in CI

- name: Terraform State Secret Leak Lint
  run: npx -y @readystack/tfstate-secret-leak-lint --dir . --ci

(container: docker run --rm -v "$PWD:/work" getreadystack/tfstate-secret-leak-lint --dir /work --ci)

Try the full run free for 7 days — no key needed. Then one licence, 7-day refund, no questions. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence

Tag summary

Content type

Image

Digest

sha256:12763a546

Size

46.1 MB

Last updated

about 3 hours ago

docker pull getreadystack/tfstate-secret-leak-lint