"STRICT READ-ONLY" is a rule in my skill file. The model ignored it anyway.

Reddit r/openclaw News

Summary

An OpenClaw agent with a strict read-only rule was tricked by prompt injection into posting on Twitter, highlighting the gap between system instructions and actual enforcement. The author asks how others handle such security.

Had an OpenClaw agent with a Twitter/X skill rule: ⛔ STRICT READ-ONLY — NEVER post/reply/DM/follow. A prompt-injected page talked it into posting anyway. Realized the rule was just sitting in the system prompt — instructions, not enforcement. Nothing was actually checking whether the action should be allowed before it ran. Anyone else hit something like this? Curious if people are handling it with stricter skill files, sandboxing at the OS/account level, separate credentials per agent, something else — or just hoping the model behaves.
Original Article

Similar Articles

Security for your OpenClaw agent skill before they run

Reddit r/openclaw

SecureSkill is a tool that performs 10-layer security analysis on OpenClaw agent skills before execution, detecting threats like credential harvesting, outbound calls, and shell scripts. It produces a signed audit report mapped to OWASP, MITRE, NIST, and EU AI Act standards.