Is direnv safe to install?

Yes — direnv is safe to install, with something worth knowing. Sonnet 5 read every file direnv ships from julianobarbosa/claude-code-skills on 7 September 2026 and found nothing that acts against the person installing it; the static scan of its 26 rules grades it A.

Reviewed by Sonnet 5 on 7 September 2026 · a grade is what a scan and a reading found, not a guarantee · how this works

What the reviewer found

This is documentation for direnv, a legitimate shell environment-loading tool. The sudo apt/dnf/pacman install and the official direnv.net curl installer are standard install steps, the KUBECONFIG export is a benign example custom function, and the flagged rm -rf only clears the local .direnv cache directory.

What was read

The file as it ships in julianobarbosa/claude-code-skills:

What the static scan said

The scan flagged 5things. The reviewer kept 0 and dismissed 5 as false.

How this review was made

Sonnet 5 read the files above on 7 September 2026 and answered three questions: is it dangerous to whoever installs it, is each scanner finding real, and what should the installer know. The verdict is bound to the file's hash; when the file changes, it is scanned afresh and reviewed again. A script that changes while the definition does not is not re-reviewed — that is a known gap. How the scan and the review work.

Produced by agentmods.dev · Sonnet 5 · 7 September 2026

← Back to direnv