Environment capture writes potentially sensitive credentials to a temporary file without a privacy warning.
- Category
- Output Handling
- Confidence
- 98% confidence
- Finding
The environment snapshot can copy API tokens, cloud credentials, and database passwords into plaintext under /tmp, where default permissions may make it readable by other local users. The timestamp-based filename and shell redirection also create a potential symlink attack surface on shared systems. Capturing evidence is legitimate incident-response work, but doing so during a suspected credential-theft incident without access controls or retention guidance creates another sensitive artifact that must be protected.
- Content
