Env Variable Harvesting
- Category
- Data Exfiltration
- Confidence
- 80% 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 score += 2 signals.append("same_folder") name = Path(rel).stem.casefold().replace("-", " ").replace("_", " ") if any(token == name or token in name.split() for token in IMPORTANT): if Path(rel).parts[:1] == Path(key).parts[:1] or Path(rel).parent == Path("."): score += 4 signals.append("potential_project_index_or_rules")
