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() -> str: """Get API key from environment.""" key = os.environ.get("SERPAPI_API_KEY") if not key: print("Error: SERPAPI_API_KEY environment variable not set", file=sys.stderr)
