env_var_inventory

env_var_inventory is an agent for coding agents from hyperledger-iroha/iroha. It costs 0 tokens per session (20,351 once invoked), scanned A, a copy of env_var_inventory.fr, Apache-2.0.

An inventory of environment variables used across a Rust project and its examples or tests.

In plain words
What is it for?
It is for auditing environment-variable usage and keeping the inventory documentation current.
Why use it?
It shows where configuration switches and environment settings are referenced, making them easier to review and maintain.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/hyperledger-iroha/iroha/env_var_inventory
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

Wrote 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.

agentmods badge for env_var_inventory

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_inventory.svg)](https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_inventory)
Your own site
<a href="https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_inventory"><img src="https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_inventory.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 20,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.20351
Opus 5 $0.00000 $0.10176
Sonnet 5 $0.00000 $0.04070
Haiku 4.5 $0.00000 $0.02035

Measured 3d ago against content hash 2a0a23896374, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

env_var_inventory scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to env_var_inventory.fr — 1,296 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/source/agents/env_var_inventory.md · 926 lines

How it starts

The opening of the file, as written. The whole thing — 926 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Environment toggle inventory

Last refreshed via python3 scripts/inventory_env_toggles.py --json docs/source/agents/env_var_inventory.json --md docs/source/agents/env_var_inventory.md

Total references: 505 · Unique variables: 137

ACTIONS_ID_TOKEN_REQUEST_TOKEN (prod: 1)

  • prod: crates/sorafs_orchestrator/src/bin/sorafs_cli.rs:313 — let request_token = env::var("ACTIONS_ID_TOKEN_REQUEST_TOKEN").map_err(|_| {

ACTIONS_ID_TOKEN_REQUEST_URL (prod: 1)

  • prod: crates/sorafs_orchestrator/src/bin/sorafs_cli.rs:310 — let raw_url = env::var("ACTIONS_ID_TOKEN_REQUEST_URL").map_err(|_| {

BLOCK_DUMP_HEIGHTS (example: 1)

  • example: crates/iroha_core/examples/block_dump.rs:62 — let height_filter = env::var("BLOCK_DUMP_HEIGHTS").ok().map(|raw| {

BLOCK_DUMP_SUM_ASSET (example: 1)

  • example: crates/iroha_core/examples/block_dump.rs:51 — let sum_asset = env::var("BLOCK_DUMP_SUM_ASSET")

BLOCK_DUMP_VERBOSE (example: 1)

  • example: crates/iroha_core/examples/block_dump.rs:50 — let verbose = env::var("BLOCK_DUMP_VERBOSE").is_ok();

CARGO (prod: 3, test: 2)

  • test: crates/iroha_test_network/src/lib.rs:1026 — let running_under_cargo = std::env::var_os("CARGO").is_some();
  • test: crates/sorafs_manifest/tests/provider_admission_fixtures.rs:11 — let mut cmd = Command::new(env::var("CARGO").unwrap_or_else(|_| "cargo".into()));
  • prod: mochi/mochi-core/src/supervisor.rs:547 — let cargo = env::var_os("CARGO")
  • prod: mochi/mochi-core/src/supervisor.rs:602 — let cargo = env::var_os("CARGO")
  • prod: mochi/mochi-core/src/supervisor.rs:656 — let cargo = env::var_os("CARGO")

CARGO_BIN_EXE_iroha (test: 2)

  • test: crates/iroha_cli/tests/cli_smoke.rs:40 — env!("CARGO_BIN_EXE_iroha")
  • test: crates/iroha_cli/tests/taikai_policy.rs:20 — env!("CARGO_BIN_EXE_iroha")

CARGO_BIN_EXE_iroha_monitor (test: 4)

  • test: crates/iroha_monitor/tests/attach_render.rs:11 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • test: crates/iroha_monitor/tests/http_limits.rs:10 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • test: crates/iroha_monitor/tests/invalid_credentials.rs:9 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)
  • test: crates/iroha_monitor/tests/smoke.rs:9 — std::env::var_os("CARGO_BIN_EXE_iroha_monitor").map(PathBuf::from)

Read the full file on GitHub · 926 lines

Changes

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.

  1. 3d ago First seen · 926 lines · 0 tokens per session scan A 2a0a23896374

Subscribe to this mod's changes

env_var_inventory is an agent published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 20,351 tokens. A static security scan graded it A with 0 findings. It is 92% identical to env_var_inventory.fr, differing in 1,296 lines, and is treated as a copy.