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 ) def _env_credential(markers): for key, value in os.environ.items(): upper = key.upper() if not upper.startswith(("HUAWEI", "HW_", "HWC")): continue
