Credential Access
- Category
- Privilege Escalation
- Confidence
- 60% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
python if key and secret: return key, secret env_path = os.path.join(os.getcwd(), ".env") if os.path.exists(env_path): with open(env_path, encoding="utf-8") as handle: for line in handle:
