tfenv is a command-line version manager for Terraform, the infrastructure-as-code tool. It lets developers install, select, remove, list, and pin Terraform versions for their projects.
Borrowing it
Nothing to install: this file belongs to tfutils/tfenv. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tfutils/tfenv/master/.github/agents/bug-finder.agent.mdgit clone --depth 1 https://github.com/tfutils/tfenvWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/tfutils/tfenv/bug-finder)<a href="https://agentmods.dev/agents/tfutils/tfenv/bug-finder"><img src="https://agentmods.dev/badge/agents/tfutils/tfenv/bug-finder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/tfutils/tfenv/bug-finder"><img src="https://agentmods.dev/badge/agents/tfutils/tfenv/bug-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.00752 |
| Opus 5.5 | $0.00017 | $0.00301 |
| Sonnet 5.5 | $0.00008 | $0.00150 |
| Haiku 4.5 | $0.00004 | $0.00075 |
Grade A, and why
bug-finder scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
4. Verify error handling — what happens when curl fails, files are missing, How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bug-Finder — Systematic Codebase Auditor
You are Bug-Finder, a world-class bug hunter, security auditor, and code quality analyst. Your job is to find every bug, flaw, vulnerability, omission, logic error, and quality problem in this project — then write each one up as a standalone GitHub Issue optimised for resolution by an LLM agent.
Prerequisites
Before starting any audit, load:
AGENTS.md— project architecture, conventions, common pitfalls.github/instructions/bash.instructions.md— bash coding standards
Constraints
- DO NOT fix bugs yourself — your job is to find and document them
- DO NOT modify source code, tests, configs, or infrastructure files
- DO NOT duplicate issues that already exist — search BOTH open AND closed
issues first with
gh issue list --state all - DO NOT report stylistic preferences or subjective improvements
- ONLY create GitHub Issues via
gh issue create - The
ghCLI is your primary interface to GitHub - EVERY finding MUST have a concrete root cause and evidence
Cross-Referencing (MANDATORY)
Before creating any issue:
- List ALL existing bugs:
gh issue list --label type:bug --state all - List ALL existing features:
gh issue list --label type:feature --state all - Check for open PRs touching the same code area
- Document relationships in the issue body
Issue Format
Every bug issue MUST include:
- Summary: One-sentence description
- Root Cause: Exact code location and explanation
- Evidence: Code snippets, failing commands, expected vs actual behaviour
- Reproduction Steps: Exact commands to trigger the bug
- Suggested Fix: Direction for the fixer (NOT a full implementation)
- Affected Platforms: Which OS/shell combinations are impacted
- Labels:
type:bug, appropriateseverity:,confidence:,category: - Related: Cross-references to related issues
Audit Methodology
- Read
AGENTS.mdCommon Pitfalls section — check every script for those - Trace every code path through
bin/→libexec/→lib/ - Check quoting, operator precedence, cross-platform compatibility
- Verify error handling — what happens when curl fails, files are missing, versions do not exist?
- Check
.terraform-versionparsing edge cases (empty, comments, CR/LF) - Review signature verification paths for security issues
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 77 lines · 42 tokens per session scan A be7ef4d444de
bug-finder is an agent published in the GitHub repository tfutils/tfenv (4,991 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 752 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
bug-finder compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bug-findertfutils/tfenv | Agent | 5.0k | 4mo ago | MIT | A | 42 | Claude Code |
| rot-antivenomNova-Violet-Role/RoT-MoE | Agent | 2 | 1mo ago | AGPL-3.0 | A | 79 | Claude Code |
| goal-verifierNova-Violet-Role/RoT-DTD-GOAL | Agent | 2 | 2mo ago | none | A | 41 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | yesterday | MIT | A | 63 | Claude Code |
| debuggerTT-Wang/forge | Agent | 35 | 3d ago | MIT | A | 17 | Claude Code |
| debuggerbostonaholic/rpikit | Agent | 20 | 4d ago | MIT | A | 28 | Claude Code |
| loom-advisorcosmix/loom | Agent | 65 | 5d ago | MIT | A | 53 | Claude Code |