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
OpenClaw stores outbound MCP servers in
~/.openclaw/openclaw.jsonundermcp.servers.<name>. Put your key in~/.openclaw/.envfirst, so it never lands in the config file. Create that file and restrict it before putting anything in it, so the key is never written into a world-readable file:bash touch ~/.openclaw/.env && chmod 600 ~/.openclaw/.envThen open
~/.openclaw/.envin your editor and add a line:
