Destructive delete command
- Finding
- Documentation contains a destructive delete command without an explicit confirmation gate.
Security checks across static analysis, malware telemetry, and agentic risk
The skill is aligned with self-learning, but it can persistently rewrite the agent’s memory/instruction files and inject learned reminders into future sessions, so it needs careful review before use.
Install this only if you are comfortable with the agent modifying its long-term memory and behavior files. Start with dry-run mode, back up your workspace, review every proposed memory/config change, keep the OpenClaw hook disabled unless you want cross-session reminders, and remove or restrict any tool permissions you do not need.
VirusTotal findings are pending for this skill version.
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
A mistaken, sensitive, or prompt-injected conversation detail could become long-term memory or a future instruction for the agent.
The skill persists conversation-derived content into long-term memory and agent instruction/configuration files, and repeated patterns can be promoted automatically into files that influence future behavior.
分析过去 24 小时的对话内容 ... 自动更新 8 个核心配置文件 ... Recurrence-Count >= 3 自动提升
Use dry-run/manual review first, restrict the workspace, inspect proposed changes before writing, and require explicit approval before promoting entries into SOUL.md, AGENTS.md, TOOLS.md, BOOTSTRAP.md, or HEARTBEAT.md.
Future sessions may be steered toward processing learned records before or alongside the user’s current request.
The hook can insert reminders into the agent context immediately after the system prompt, based on persistent learning records.
return {
action: 'inject',
message: reminder,
position: 'after_system'
};Enable the hook only if you want this persistent behavior, keep .learnings content trusted and reviewed, and disable the hook when doing sensitive or unrelated work.
The skill’s available authority may extend beyond reading history and updating memory, potentially allowing messages to be sent into sessions if the agent uses that tool.
Read, Write, Bash, and session-history access fit the memory-update purpose, but SessionsSend grants active session-messaging authority that is not clearly scoped or justified in the provided workflow.
allowed-tools: - Read - Write - Bash - SessionsList - SessionsHistory - SessionsSend
Remove SessionsSend unless it is necessary, or require explicit user approval and clear scoping for any session-sending action.
Users may believe destructive memory edits always require confirmation when some configurations or defaults may not enforce that.
The runtime default shown in the code disables delete confirmation, while the documentation advertises deletion protection; this matters because the skill’s AI update flow can add, update, or delete memory/configuration content.
'safety': {
'require_confirm_for_delete': False,
'max_delete_count': 10,Set `require_confirm_for_delete: true`, run in `--dry-run` mode before applying changes, and require review for any delete or cleanup operation.
A future dependency version could behave differently from the version the publisher tested.
Dependencies are installed from version ranges rather than locked versions; this is normal for many projects but gives less reproducible provenance.
PyYAML>=6.0 ... pytest>=7.0.0 ... black>=22.0.0 ... flake8>=4.0.0
Install in an isolated environment and consider pinning or reviewing dependency versions before use.