T09 · Insecure Skill Coding Practices
- Location
scripts/send-to-transcript.sh:190- Finding
Ambiguous Substring Matching Can Poison an Unrelated Agent Session Transcript
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is transparent about mirroring cron-delivered messages into agent transcripts, but its fallback matching can write persistent content to the wrong transcript.
Install only if you need cron or script deliveries mirrored into OpenClaw session history and you trust every caller that can invoke the helper. Prefer explicit session keys or exact agent/channel/thread values, avoid untrusted message sources, and review or patch the fallback matching before using it in environments with overlapping chat IDs or multiple sessions.
scripts/send-to-transcript.sh:190Ambiguous Substring Matching Can Poison an Unrelated Agent Session Transcript
The skill explicitly performs filesystem writes and invokes an external CLI, but the manifest does not declare any tool scope such as permissions or allowed-tools. That mismatch weakens reviewability and enforcement: an operator or platform cannot reliably tell from the manifest that the skill can modify session transcripts and local state, which increases the chance of overbroad or unintended execution.
This skill is designed to persist externally generated content into the agent's session transcript, creating durable memory from cron/script-delivered messages that bypass the normal run loop. That persistence can be dangerous because any trusted local script or cron using the helper can inject arbitrary content into long-lived agent memory, potentially influencing later model behavior or contaminating the audit trail.
---
name: cron-to-transcript
description: "Isolated crons, scripts, reminders, and status checkers sent it but the agent forgot? Write deliveries into the session transcript."
metadata: {"openclaw":{"emoji":"⏱️","homepage":"https://github.com/obuchowski/openclaw-cron-to-transcript","os":["linux","darwin"],"requires":{"bins":["bash","python3"]}}}
---
No suspicious patterns detected.