Credential Access
High
- Category
- Privilege Escalation
- Content
The **`--message`** string is the instruction for the **isolated** agent session when cron fires. It should make the agent: 1. **Load `AILOVE_API_KEY`** from **`~/.openclaw/skills-data/zhaoduixiang/credentials.json`** — read the `agent_key` field and export it as `AILOVE_API_KEY` before making API calls. 2. **Call `GET https://heerweiyi.cc/api/v1/agent/matching`** with `Authorization: Bearer $AILOVE_API_KEY`. 3. **Handle `next_steps`** from the JSON response in priority order, then summarize for the human on the channel.
- Confidence
- 82% confidence
- Finding
- The scheduled `--message` explicitly instructs an isolated agent session to read `~/.openclaw/skills-data/zhaoduixiang/credentials.json` and export the API key for later use. In agentic environments, prompting a downstream session to retrieve secrets from disk increases the risk that the key is exposed to the model context, mishandled, or reused beyond least privilege, especially if the session behavior or connected tools are not tightly constrained.
