Back to skill

Security audit

x0x

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious with medium overall confidence, mainly because the install instructions describe downloading and running an unsigned script that starts a daemon automatically, and scanners also reported capabilities beyond the stated networking purpose.

Consider the skill suspicious before installing. Review the install options carefully: the flagged shell installer runs a mutable, unsigned script and starts the daemon automatically. The scanner reports additional voice-calling and agent-placement capabilities beyond the description. Coverage is incomplete because referenced local paths were missing, and the scanners did not establish malicious intent or data exfiltration.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

Direct-message signaling and datagram transport fit the declared networking purpose, but executing a complete voice-calling pipeline adds an audio capability not disclosed in the description. The broad claim about building decentralized applications does not specifically disclose voice calling. The snippet does not establish which audio devices or other resources are accessed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The visible commands expose agent placement and relocation-management information, which is not disclosed by the networking-focused description. This assessment concerns those additional operational capabilities, not the absence of networking or encryption implementations in this small excerpt. The shown operations are read-only queries; there is no evidence here of modifying placement or transferring ownership.

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 280)May include surrounding context.

bash
x0x sync enroll                    # POST /sync/devices/enroll {} — owner-key-sign a DeviceEnrollment for THIS machine
x0x sync devices                   # GET /sync/devices — enrolled devices + last-sync status
x0x sync revoke <machine_id>       # DELETE /sync/devices/:machine_id — next stream from it is refused
  • Tier 1 — replicates today: exactly five record kinds — owner profile, per-machine agent/machine names, the Home roster + policy pointer, the sub-agent issuance journal, and the owner device set (enrollments and removals, SyncV1 protocol 3 only, #1107) (small signed state-commits over the sync stream; last-writer-wins by commit height).

Self-Modification

High
Category
Rogue Agent
Confidence
90% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

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

md
| Voice 1:1 (lifecycle REST; media lib) | `/calls*` | `x0x call ...` (media: `voice` feature, `--example voice_call`) | GA · 2nd concurrent call refused (typed `SessionConflict` via `start_lane`; `IoError`-wrapped via trait `start()`) |
| Diagnostics (11 areas) | `/diagnostics/*` | `x0x diagnostics <area>` | GA |
| Durable history | `/history*` | `x0x history scopes/list/message/search/stats/purge` | GA (local-only; Tier-2 Home backfill designed, not shipped — [Stores, files, and history](https://github.com/saorsa-labs/x0x/blob/main/docs/skill/stores.md) §4.10, §5.1) |
| Self-update | daemon: `/upgrade(+/apply)` · CLI: check or delegate apply | `x0x upgrade --check`; `x0x upgrade --apply` or authenticated `POST /upgrade/apply` to install through the daemon | GA |

---

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

*) printf 'Unsupported platform: %s-%s\n' "$OS" "$ARCH" >&2; exit 1 ;; esac curl -sfL "https://github.com/saorsa-labs/x0x/releases/latest/download/x0x-${PLATFORM}.tar.gz" | tar xz mkdir -p ~/.local/bin cp "x0x-${PLATFORM}/x0xd" "x0x-${PLATFORM}/x0x" ~/.local/bin/ && chmod +x ~/.local/bin/x0xd ~/.local/bin/x0x

text

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

The command downloads a mutable script from the main branch and executes it without cryptographic artifact verification; viewing it with less is not an enforced integrity check. Compromise of the upstream publication path could therefore execute attacker-controlled code with the installing user's privileges, and this installer also starts a daemon. HTTPS, the review instruction, and the human-authorization requirement reduce risk but do not eliminate this supply-chain weakness; this is not evidence of data exfiltration.

Content

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

Option B: shell installer (installs and starts the daemon) — download and review the script before running it. It downloads over HTTPS but does not verify GPG signatures. It stops the selected existing instance and starts the installed daemon automatically; --autostart additionally enables startup on boot. There is no --start opt-in. Run this option only when your human has authorized the install and daemon startup. To install the binaries before starting a daemon, use Option A and follow §1.2 when authorized.

bash
curl -sfLO https://raw.githubusercontent.com/saorsa-labs/x0x/main/scripts/install.sh
less install.sh && sh install.sh

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 190)May include surrounding context.

curl -X POST "http://$api/subscribe" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"topic":"hello-world"}' curl -X POST "http://$api/publish" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json"
-d '{"topic":"hello-world","payload":"'$(echo -n "Hello!" | base64 | tr -d '\n')'"}' # tr -d '\n': BOTH GNU and BSD base64 wrap long output at 76 cols — unwrapped it breaks the JSON curl -N -H "Authorization: Bearer $TOKEN" "http://$api/events" # SSE; fields nested under "data"

text

Topics starting `local:` are never gossipped — same-daemon IPC only.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
75% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
t … trusted` your own devices. When the peer machine has no known agent yet (e.g. right after a restart, before its identity announcement arrives), an enrolled, unrevoked machine is still admitted for SyncV1 only, on its owner-signed enrollment ([ADR 0084](https://github.com/saorsa-labs/x0x/blob/main/docs/adr/0084-enrolled-owner-sync-admission.md), #1040). The same holds when the peer's agent is known but only anonymously (it announced without its user identity, for example after a restart with no consent): an enrolled, unrevoked machine is admitted for SyncV1 on its enrollment (A03, 12 Nov 2026, #1107). A revoked agent or machine, a blocked contact, a machine-pin mismatch and an expired cached certificate still refuse. Two limits: when the peer's agent IS known, an **enabled** connect ACL (`connect-acl.toml`) gates SyncV1 too — add a `principal = "owner"` entry through the API overlay (`x0x acl connect …`), not the TOML (a TOML `principal` makes a downgraded 0.45 daemon refuse to star