Files
hermes-agent/tools
Teknium d6a21bc4ed fix(skills-guard): exempt all os.environ.get() reads from the env-dump pattern; os.getenv secret reads score medium
Follow-up to @AIalliAI's #60750 commits: with python_environ_get_secret
downgraded to medium, the high-severity python_os_environ pattern still
fired on the same os.environ.get("...KEY") line, re-escalating the verdict
the downgrade intended to avoid. Exempt every .get() form (non-secret =
config read; secret-shaped = scored medium by the dedicated pattern), and
apply the same medium grade to the sibling os.getenv() secret pattern —
same shape, same rationale (#60709 point 2).
2026-08-28 03:46:21 -07:00
..