picoclaw
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONPERSISTENCECREDENTIALS_UNSAFETIME_DELAYED_CONDITIONALDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The PicoClaw framework provides an
exectool for shell command execution and ahookssystem that can trigger external processes. - Evidence:
references/tools.mddescribestools.execfor shell execution, which includes configurable guardrails likeenable_deny_patternsandcustom_deny_patterns. - Evidence:
references/hooks.mddescribes out-of-process hooks usingcommandarrays (e.g.,["python3", "/tmp/review_gate.py"]) to run arbitrary scripts. - Evidence:
references/cron.mdnotes that cron jobs can execute commands gated bytools.execpolicy. - [REMOTE_CODE_EXECUTION]: The skill supports installing additional agent skills from remote GitHub repositories and specialized registries, as well as adding MCP servers.
- Evidence:
references/skills.mddetails the commandpicoclaw skills install <owner>/<repo>/<skill-folder>for fetching and adding skills to the workspace. - Evidence:
references/skills.mddetails installation from registries configured undertools.skills.registries. - Evidence:
references/tools.mdmentionspicoclaw mcp addfor adding Model Context Protocol servers which can execute local or remote code. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process user input from a wide variety of third-party communication platforms, creating a broad surface for indirect prompt injection attacks.
- Ingestion points: Telegram, Discord, Slack, WhatsApp, WeCom, LINE, and OneBot channels as described in
references/channels.md, along with web search results and MCP server outputs. - Boundary markers: Use of
allow_fromfor peer IDs provides access control, but the documentation does not specify explicit instruction delimiters to isolate untrusted user data from agent logic. - Capability inventory: The agent has high capabilities including command execution via the
exectool, persistence via thecronservice, and network access via web search tools and outbound webhooks. - Sanitization:
references/troubleshooting.mdmentions that release v0.2.9 includes fixes for Gemini MCP schema sanitization. - [DATA_EXFILTRATION]: The system manages sensitive credentials and supports outbound communication channels that could be leveraged to send data to external targets.
- Evidence:
references/auth.mdandreferences/config.mddiscuss the storage of API keys and OAuth tokens in~/.picoclaw/auth.jsonand.security.yml. - Evidence:
references/channels.mddescribes theteams_webhookchannel, which is an output-only channel designed for sending notifications to external Microsoft Teams targets. - [PERSISTENCE]: The integrated
cronservice allows for the scheduling of recurring tasks that persist across process restarts. - Evidence:
references/cron.mddescribes thepicoclaw cron addcommand for creating scheduled jobs based on time intervals or cron expressions. - [TIME_DELAYED_CONDITIONAL]: The skill includes a cron-based scheduler capable of executing commands at specific times or intervals, which could be used to gate malicious behavior.
- Evidence:
references/cron.mddefines scheduled job execution viapicoclaw cron addand mentionstools.cron.exec_timeout_minutesfor bounding executions. - [CREDENTIALS_UNSAFE]: The skill's primary function includes the local storage and management of authentication secrets in configuration files.
- Evidence:
references/auth.mdstates that credentials from various providers (OpenAI, Anthropic, Google) are stored in~/.picoclaw/auth.json. - Evidence:
references/config.mddescribes.security.ymlas a file for storing sensitive API keys and tokens separate from the main configuration. - [DYNAMIC_EXECUTION]: The hook system and MCP integration allow for the dynamic loading and execution of external scripts and servers at runtime.
- Evidence:
references/hooks.mddetails out-of-process hooks that run JSON-RPC over stdio using arbitrary commands. - Evidence:
references/tools.mddescribes the serial hardware tool which allows for direct interaction with attached hardware devices.
Audit Metadata