Env Variable Harvesting
- Category
- Data Exfiltration
- Confidence
- 60% 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
js } (function loadEnvFiles() { const shellKeys = new Set(Object.keys(process.env)); try { parseEnvContent(readFileSync(getDefaultKlingEnvPath(), 'utf-8'), { shellKeys }); } catch {}
