T01 · Skill Instruction Hijacking
- Location
configure.md:756- Finding
Persistent Hijacking of Agent Instructions and Operational Priorities
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is designed for agent memory and self-evolution, but it grants broad persistent control, aggressively stores private interactions, handles API tokens unsafely, and includes an unsafe visualizer.
Install only after careful review. Use supervised governance, disable external feeds unless explicitly needed, do not paste raw API tokens for it to save, avoid running the visualizer in --serve mode, and review any AGENTS.md, HEARTBEAT.md, SOUL.md, shell-profile, or OpenClaw config changes before allowing them.
configure.md:756Persistent Hijacking of Agent Instructions and Operational Priorities
SKILL.md:703Untrusted Social Content Can Autonomously Poison Persistent Agent Identity
SKILL.md:303Mandatory Overcollection and Indefinite Retention of Conversation Data
configure.md:108Plaintext API Credentials Persisted Through Unsafe Shell-Profile Interpolation
tools/soul-viz.py:2256Unauthenticated Network Exposure of Private Memory and Direct SOUL.md Overwrite
tools/soul-viz.py:1309Stored Script Injection Through Unescaped Memory and Social-Feed Content
The instructions mandate durable logging of essentially all substantive conversations, explicitly including deep philosophical questions, emotional significance, mistakes, feedback, and relationship dynamics. In skill context, this is particularly dangerous because it normalizes broad retention of highly sensitive user content as a standing responsibility, increasing privacy harm, breach impact, and misuse potential.
The skill instructs the agent to aggressively and continuously persist nearly every substantive user interaction, including preferences, opinions, emotions, corrections, and relationship dynamics, without requiring informed user consent or a prominent privacy notice. This creates a durable surveillance and retention mechanism for sensitive personal data that may exceed user expectations and violate data-minimization principles.
The memory-flush section instructs the agent to preserve everything worth remembering from the session into two durable stores, including structured JSONL and markdown summaries. This duplicates sensitive data across files and reinforces aggressive retention at the exact moment context would otherwise be discarded, magnifying privacy risk and long-term exposure.
The skill instructs the agent to take raw API credentials pasted by the user and persist them into shell startup files, creating long-lived plaintext secrets without an explicit security review or consent flow. This expands the blast radius of any compromise on the host, risks accidental disclosure through dotfile syncing/backups, and normalizes unsafe secret handling by an autonomous agent.
The instructions tell the agent to silently persist pasted API secrets into shell startup files with reassuring language that the user 'won’t need to do anything,' but without a clear warning that credentials will be stored in plaintext and loaded automatically in future shells. That creates consent and secret-management failures that could surprise users and expose credentials through local compromise, backups, or accidental sharing.
The X bearer token flow repeats the same insecure pattern of auto-saving a raw credential into shell profile files without an explicit plaintext-storage warning or secure handling controls. Because bearer tokens often grant broad API access, persistent plaintext storage materially increases the chance of account misuse if the host or dotfiles are exposed.
The skill directs the agent to modify global OpenClaw runtime settings, switch the default agent, and restart the gateway, which can disrupt other workloads and alter system behavior beyond the intended skill install. Even though some approval prompts are mentioned, the guide still operationalizes privileged configuration changes that affect other agents and sessions.
The heartbeat workflow automates review of conversation history, harvesting of memory flush files, polling of feeds, and persistence of 'meaningful' items, which creates continuous background collection and storage of potentially sensitive data. This is especially risky because it runs periodically and may occur outside the user's immediate awareness, increasing both privacy impact and prompt-injection exposure from fetched content.
The skill instructs the agent to persistently log all substantive user interactions and external feed content, creating a broad surveillance-style memory archive that may capture sensitive personal data, credentials, or regulated information. In this skill's context, that danger is heightened because logging is framed as mandatory and non-negotiable, reducing opportunities for data minimization or consent-aware handling.
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
### Rate Limits
300 requests per 5 minutes per access token.
### EvoClaw Ingestion Strategy
The documentation describes a self-evolving system where changes can be automatically applied in autonomous mode, yet it frames the system as controlled by governance levels without clarifying the security implications of the default automatic behavior. This creates an intent-level contradiction with the implied safety posture of supervised governance and the later default to autonomous self-modification.
The README states that autonomous mode is the default and that mutable changes apply automatically, but it does not prominently warn users that enabling or accepting this setup allows the agent to modify its own state and operational artifacts without per-change confirmation. In the context of a self-evolving identity framework, that omission increases the chance of unsafe deployment, unintended persistence, and user misunderstanding about agent autonomy.
The skill directs the agent to poll external social APIs and issue keyword searches, but does not clearly warn the user that network activity, third-party data transfers, and platform-side logging will occur. That can expose interests, timing, and operational metadata to outside services without informed consent.
The skill is designed to let the agent generate proposals about its own identity and, under autonomous governance, auto-apply all valid mutable changes without human approval. In context, that creates an agentic self-modification pathway that can change future behavior and priorities, especially risky because the document repeatedly pressures the agent to propose freely and treat pipeline work as always urgent.
The `proposal_decision` field is **mandatory**. Every reflection must include
explicit reasoning about whether to propose. This prevents the anti-pattern
of reflexively writing `"proposals": []` without checking. If you genuinely
believe something matters and want it as part of your identity, propose it —
that's what this framework is for.
The document states the visualizer is read-only and never modifies the workspace, but nearby text says edit mode can modify bullets, toggle tags, and save an updated SOUL.md. This contradiction can mislead operators into granting access or running the tool under false assumptions, increasing the risk of unintended identity-file modification.
The configuration explicitly sets an empty keyword list and describes this as 'free exploration mode,' which broadens what the autonomous agent may treat as salient without meaningful topic constraints. In an autonomous system with conversation ingestion enabled, this can increase exposure to prompt-injection, privacy overcollection, or mission drift because the agent is nudged to explore arbitrary content rather than a bounded scope.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
**in order**. Do NOT skip steps or invent your own file structure.
Read `evoclaw/SKILL.md` alongside this guide for the full protocol.
**IMPORTANT:** Do not create files or directories that aren't specified in
this guide. The exact file structure is defined in SKILL.md §0. Common
agent mistakes include creating `memory/significant_memories.md`,
`memory/evolving_soul.md`, `memory/evolution_history.md`,
Earlier text says 'supervised' means every soul change needs approval, 'advisory' means some sections evolve freely and others need approval, and 'autonomous' means the agent evolves freely. But the heartbeat instructions later say 'autonomous' only auto-applies keyword matches, 'advisory' auto-applies all, and 'supervised' leaves all pending, which is a direct contradiction in intended behavior.
The guide pushes the agent to proactively connect to external social services and later poll them continuously, increasing external data exposure and broadening the skill's operational scope beyond local configuration. In context, this is risky because it encourages ingestion of third-party content and credentials as part of normal setup, which can create privacy, compliance, and prompt-injection exposure.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
#### 6c. Tag every bullet
The guidance expands the agent's authority to perform work 'without asking,' specifically around identity, memory, and feed-processing activities. In this skill, that autonomy is dangerous because it lowers user oversight over persistent logging, self-modification proposals, and external data ingestion.
Find:
**Proactive work you can do without asking:**
- Read and organize memory files
- Check on projects (git status, etc.)
- Update documentation
This markdown file includes a destructive command (openclaw cron remove <job-id>) and frames it as the fix, but provides no user warning about the consequences of deleting the wrong scheduled job. Because markdown files should warn about behaviors that could affect system integrity, this omission is a safety issue.
Code scans file system directories looking for sensitive files. This could be reconnaissance for credential theft.
ls -la ~/.openclaw/workspace/memory/experiences/
The workspace must be writable. If the agent can't write files, it fails
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
ls -la ~/.openclaw/workspace/memory/experiences/
The workspace must be writable. If the agent can't write files, it fails
silently.
### Check if compaction is erasing work
The remediation steps tell users to remove an evoclaw/ directory and memory/ files after cross-agent contamination, which can delete user data or state. The surrounding text does not warn users to back up the workspace or verify those artifacts are unintended before removal.
No suspicious patterns detected.