.env was refused only by the basename rule, so <home>/.env (or a profile's) symlinked to a differently named file stayed readable through its real path. agent/file_safety.py lists .env in _CREDENTIAL_FILE_NAMES; add it to HERMES_CREDENTIAL_FILES for parity. Refs #46413 Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com>