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 class CoreTests(Base): def test_traversal(self): for name in ('../escape','a/../../escape','/etc/passwd','C:/Windows/test'): with self.assertRaises(ValueError):local(self.root,name) def test_existing_output_refused(self): p=self.file('one.txt','old')
