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 cwd = Path.cwd() if cwd is None else cwd home = Path.home() if home is None else home candidates = (cwd / ".env", home / ".config" / "yinchao" / ".env") visited: set[Path] = set() for path in candidates: path = path.expanduser()
