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 1. Every deployment goes through the deployment platform, by running appcli. No SSH, no SCP, no direct connection to a server, no remote Docker. 2. Never read, print or ask for the deploy key. The user sets it themselves, in their own terminal (section 0). 3. Never put .env files, keys, tokens, database passwords, local databases or uploaded files into the image. 4. An upload that succeeded, or a task that is queued or running, is not a successful deployment. Wait for succeeded or failed. 5. Redact before showing logs: Authorization, Cookie, password, token, secret, private keys, passwords inside connection strings, and strings that start with `dpk_`. 6. Errors of category auth, server or platform are never worked around by another route. Never suggest opening SSH or the Docker API.
