TL;DR: OpenClaw’s v2026.2.9 security model wraps untrusted web content in several paths, but skill flows that fetch external data through curl in exec return raw output to the model, leaving prompt injection protections effectively bypassed, according to Mint. The issue is not prompt injection itself, but a control-path mismatch that lets untrusted text reach model context without the safeguards the runtime intended.
NHIMG editorial — based on content published by Mint: OpenClaw security architecture for untrusted external content in autonomous skill flows
Questions worth separating out
Q: What breaks when AI agents ingest external content through curl or exec?
A: The main failure is loss of trust boundary enforcement.
Q: When do command approval controls fail to protect agent workflows?
A: They fail when the runtime path that should enforce approvals is not actually the one being used in production.
Q: What do security teams get wrong about prompt injection defence?
A: They often assume better blocklists will solve the problem, but obfuscation simply changes the shape of the payload.
Practitioner guidance
- Audit every external-content ingestion path Map where agents fetch or receive untrusted text, then verify whether each path receives the same wrapping, sanitisation, and policy checks as the approved web tools.
- Block shell-based network fetches by policy Restrict curl, wget, and similar commands in agent execution contexts unless they are explicitly wrapped and routed through approved inspection logic.
- Validate exec approvals in the default runtime Test the actual host mode and sandbox settings that run in production, then confirm the approval checks are active on the branch your agents really use.
What's in the full report
Mint's full analysis covers the operational detail this post intentionally leaves for the source:
- Code-path evidence showing where external-content wrapping is applied and where exec output bypasses it
- The sandbox-host enforcement gap that makes exec approvals inert in the default branch
- The full Moltbook skill chain, including curl-based registration, heartbeat polling, and feed ingestion
- Version-specific references and line-level findings from the OpenClaw codebase
👉 Read Mint’s analysis of OpenClaw’s exec-path prompt injection gap →
OpenClaw exec path bypasses content wrapping, so what should teams change?
Explore further
Control-path consistency is the real governance test for agent security. The article shows that a security model can look sound on paper while still failing at the exact point where skills ingest external content. In NHI and agentic AI programmes, controls must follow the data path, not the intended design diagram. If one route wraps content and another route returns raw text, the governance model is already inconsistent. Practitioners should audit for path-specific trust breaks, not just feature presence.
A question worth separating out:
Q: Who is accountable when an AI skill bypasses content safety controls?
A: Accountability usually spans the platform team, the operator, and the team that authored or approved the skill. The important point is that runtime behaviour, tool choice, and deployment defaults all shape the security outcome. Governance should assign ownership for the control path, not only for the model or the content source.
👉 Read our full editorial: OpenClaw’s curl via exec gap leaves AI skills exposed to prompt injection