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 # Bash 重定向弱证据过滤 REDIRECT_RE = re.compile(r"(?:^|[\s;|&)])>{1,2}\s*([^\s;|&>]+)") WEAK_TARGET_BASENAMES = { ".env", ".gitignore", ".npmrc", ".nvmrc", ".editorconfig", "dockerfile", "makefile", "license", "readme", ".gitattributes", ".prettierrc", } WEAK_EXCLUDE = {"dev/null", "&1", "&2", "1", "2", "0"}
