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
md """检查文件权限""" target_path = Path(target) # ... sensitive_files = [".env", ".env.local", ".env.production", "id_rsa", "config.json"] for filename in sensitive_files: filepath = target_path / filename stat = filepath.stat()
