direnv
Pass
Audited by Gen Agent Trust Hub on Jul 8, 2026
Risk Level: SAFE
Full Analysis
- [PRIVILEGE_ESCALATION]: Documentation in
references/install-and-setup.mdincludes standard installation instructions for Linux systems usingsudowith system package managers such asaptanddnf. - [PERSISTENCE_MECHANISMS]: The skill provides instructions for adding shell hooks to user profile files (e.g.,
~/.bashrc,~/.zshrc) to enable automatic environment variable loading, which is the standard setup for the tool. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill documents the processing of
.envrcfiles located in project directories (SKILL.md). - Boundary markers: Includes a 'Safety Guardrails' section explicitly warning users to review file contents before running
direnv allowto prevent execution of untrusted code (SKILL.md). - Capability inventory: The tool manages environment variable exports and can execute scripts via the
.envrcfile and thedirenv execcommand (references/command-cookbook.md). - Sanitization: Implements a security model that blocks execution of new or modified configuration files until the user manually approves them using
direnv allow(references/install-and-setup.md). - [DYNAMIC_EXECUTION]: Uses
evalto initialize shell hooks within profile files, which is a standard method for integrating the tool's functionality into the shell environment.
Audit Metadata