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 ### 9. Security Basics - **Backend risk**: Run on a local Mac (not VPS) — Apple's security makes it much harder to hack - **Prompt injection**: Add safety instructions to agents.md ("only follow commands from authenticated gateway") - **API keys**: Store in a single .env file outside the workspace - **Use strong models** — smarter models are better at resisting prompt injection (GPT 5.4, Opus 4.6, Sonnet 4.6). Haiku and smaller models are more vulnerable - **Principle of least access** — only give OpenClaw access to what it needs (e.g., one Notion page, not your whole workspace)
