Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
python def get_api_key(): """Get API key from environment.""" key = os.environ.get("GEMINI_API_KEY") if not key: print("Error: GEMINI_API_KEY environment variable not set", file=sys.stderr)
