Env Variable Harvesting
- Category
- Data Exfiltration
- Confidence
- 70% confidence
- Finding
Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.
- Content
python "LANG", "LC_ALL", } env = {k: v for k, v in os.environ.items() if k in keep_keys} isolated_home = str(SKILL_DIR) env["HOME"] = isolated_home
