mirror of
https://github.com/JuliusBrussee/caveman.git
synced 2026-08-11 13:21:09 +02:00
The old loader setdefault'ed EVERY key found in repo-root .env.local into os.environ. Security scanners (Hermes skill scan, issue #528) flag that as a high-severity exfiltration surface: install caveman into a profile with secrets in .env.local and the benchmark quietly pulls all of them into its process environment. The benchmark only ever needs ANTHROPIC_API_KEY (anthropic.Anthropic() reads it implicitly), so read that one key and nothing else — skip the file entirely when the var is already set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011kmm2umRGb5nLxdimrwweZ