Back to skill

Security audit

pibox

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because its MCP setup example can change persistent client settings beyond its stated workspace limits; the scan also has incomplete reference coverage.

Consider whether you trust the pibox server and are comfortable with its requests and file operations. Before following the MCP setup example, review the client configuration changes and where credentials may be stored. The scan is partial: it inspected the single reported Markdown component, but several local references were missing, so the evidence does not cover those references.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (9)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The MCP setup examples invoke claude mcp add, although the declared shell permissions cover only curl and pibox. This command persistently changes client configuration, potentially outside the workspace, exceeding the advertised permissions even though connecting to a user-operated MCP server is consistent with the skill's purpose.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 49)May include surrounding context.

md
gent and read, write and delete workspace files. `PIBOX_MCP_MODE_TOKEN` does the same for the MCP surface and does not fall back to the API token. If the user's server is open, tell them rather than relying on it.
- **pibox is not isolated from the host.** The agent runs with broad access to the workspace and to host resources the wrapper provides, so use it only in a workspace the user trusts the agent with, and do not feed it untrusted prompts or repositories.
- **Deletes cannot be undone.** `DELETE /run/{id}`, `DELETE /files/{path}` and the MCP `delete_file` tool cancel a run or remove a file for good. Use them only on a run or file the current task created, and only when the user asked for that specific action.
- **Where data goes.** Prompts, tool output and workspace content go to the model provider the user configured. Telegram mode sends replies and files to `api.telegram.org`. The `curl` examples call the pibox server on `localhost:8080` by default, so change that address only

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 49)May include surrounding context.

md
gent and read, write and delete workspace files. `PIBOX_MCP_MODE_TOKEN` does the same for the MCP surface and does not fall back to the API token. If the user's server is open, tell them rather than relying on it.
- **pibox is not isolated from the host.** The agent runs with broad access to the workspace and to host resources the wrapper provides, so use it only in a workspace the user trusts the agent with, and do not feed it untrusted prompts or repositories.
- **Deletes cannot be undone.** `DELETE /run/{id}`, `DELETE /files/{path}` and the MCP `delete_file` tool cancel a run or remove a file for good. Use them only on a run or file the current task created, and only when the user asked for that specific action.
- **Where data goes.** Prompts, tool output and workspace content go to the model provider the user configured. Telegram mode sends replies and files to `api.telegram.org`. The `curl` examples call the pibox server on `localhost:8080` by default, so change that address only

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
70% confidence
Finding

Shadow Command Trigger: description clause 'interactive and one-shot pibox -p calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP tools, Telegram bot and cron results' conflicts with built-in command 'run'

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 109)May include surrounding context.

bash
# sync run
curl -s "$PIBOX_URL/run" \
  -H "Authorization: Bearer $PIBOX_API_MODE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "say HELLO", "workspace": "myproject"}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 118)May include surrounding context.

md
RUN_ID=$(curl -s "$PIBOX_URL/run" \
  -H "Authorization: Bearer $PIBOX_API_MODE_TOKEN" -H "Content-Type: application/json" \
  -d '{"prompt": "long task", "async": true}' | jq -r .runId)
curl -s "$PIBOX_URL/run/result?runId=$RUN_ID" \
  -H "Authorization: Bearer $PIBOX_API_MODE_TOKEN"

# cancel it

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 132)May include surrounding context.

"$PIBOX_URL/files/notes/hello.txt" curl -sS -H "Authorization: Bearer $PIBOX_API_MODE_TOKEN"
"$PIBOX_URL/files/notes" | jq curl -sS -X DELETE -H "Authorization: Bearer $PIBOX_API_MODE_TOKEN"
"$PIBOX_URL/files/notes/hello.txt"

text

The MCP registration example writes persistent client configuration outside the permitted workspace.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The registration command can persist MCP connection settings and an expanded bearer token in Claude Code configuration outside the permitted workspace. This is the same permission-boundary issue identified by TP4, rather than an independent attack, and the user-selected server limits evidence of malicious intent.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 186)May include surrounding context.

Raw JSON-RPC (debugging, non-MCP-aware callers):

bash
curl -s "$PIBOX_URL/mcp/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $PIBOX_MCP_MODE_TOKEN" \