Back to skill

Security audit

RockDesk Remote Control

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because generic requests may activate its remote-control workflow, and part of the scan was incomplete; it did not report clear malicious behavior.

Treat this as a review-needed skill, not as a finding that its author is malicious. Before installing, consider whether you want generic clipboard, mounting, or machine-operation requests to trigger RockDesk guidance, and whether you need a service that keeps running after logout or a machine restart. The scan was partial, so it could not fully assess the artifact.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (25)

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

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

md
app into Applications and open it once)
  - Linux x86_64: https://rockdesk.io/download/latest/linux-amd64; arm64:
    https://rockdesk.io/download/latest/linux-arm64 (a .deb:
    `curl -fL -o rockdesk.deb https://rockdesk.io/download/latest/linux-amd64 && sudo apt install ./rockdesk.deb`)
  - Android: https://rockdesk.io/download/latest/android (an .apk)

  You may offer to download and install it for them, but ask first. The version

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**Install this skill:** save this file unchanged as `SKILL.md` in a folder named

Activation includes generic clipboard, mounting, and remote-operation requests without requiring RockDesk context.

Medium
Category
Trigger Abuse
Confidence
96% confidence
Finding

Generic triggers such as clipboard-history requests and any request to operate another machine can activate this privileged remote-control workflow without an explicit RockDesk request. This creates a scope-confusion risk, potentially steering unrelated tasks toward remote inspection or software setup, although the authorization and installation-consent rules limit the consequences.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
app into Applications and open it once)
  - Linux x86_64: https://rockdesk.io/download/latest/linux-amd64; arm64:
    https://rockdesk.io/download/latest/linux-arm64 (a .deb:
    `curl -fL -o rockdesk.deb https://rockdesk.io/download/latest/linux-amd64 && sudo apt install ./rockdesk.deb`)
  - Android: https://rockdesk.io/download/latest/android (an .apk)

  You may offer to download and install it for them, but ask first. The version

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
password and can use everything.
- What others may use: `sudo rds config` lists it;
  `sudo rds config feature <shell|file|fwd|mount|vpn|serial|usb|…> on|off`
  changes it; `sudo rds config otp off` / `ask on` switch the one-time password
  / the allow dialog.
- With a one-time password, prove it once (`RDS_PASSWORD=… $RDS <id> shell -c …`
  or `$RDS <id> auth`); later commands on the same connection don't need it again.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
- **On the machine to control:** RockDesk has to be installed there too. The
  user reads its 9-digit ID in the app and decides how you may get in (see
  Authorization below). A Linux machine without a screen:
  `sudo systemctl enable --now rockd`, then `sudo rds otp` prints a one-time
  password.

## Find `rds` and check that it works

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
- **Config dir** (identity, permissions, clipboard history): `~/.config/rockd/`.
  On Windows it is `%APPDATA%\rockd`, or `C:\ProgramData\rockd` for the system
  service; for the Linux system service it is `/var/lib/rockd` (root's `rds`
  finds it, so run `sudo rds …` there). `--dir <dir>` or `$ROCKD_DIR` overrides it.

## For agents (read first)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
- There, people who come in with the one-time password may also use the
  terminal and port forwarding (file transfer was already on), and "allow when
  someone connects" is off (nobody is there to click).
- Fixed password: `sudo rds passwd` (prompts twice; `--clear` removes it).
- Key pair, like ssh: on your own computer `$RDS key gen` once (later `$RDS key`
  prints the same public line); on the headless machine
  `sudo rds authorize "<that line>"`. Your computer then gets in with no

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
- **On the machine to control:** RockDesk has to be installed there too. The
  user reads its 9-digit ID in the app and decides how you may get in (see
  Authorization below). A Linux machine without a screen:
  `sudo systemctl enable --now rockd`, then `sudo rds otp` prints a one-time
  password.

## Find `rds` and check that it works

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
Setting up a host from the command line (no GUI needed): on a machine without
a screen use the system service above. On a desktop you can also run the
per-user daemon without the app: `systemctl --user enable --now rockd` (plus
`sudo loginctl enable-linger $USER`, so it keeps running after you log out).
The first start writes a default config: the official server, one-time
password on. `$RDS status` shows the ID; `$RDS otp` prints the current
one-time password (`$RDS otp new` makes another). For lasting access:

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% 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 65)May include surrounding context.

md
- **On the machine to control:** RockDesk has to be installed there too. The
  user reads its 9-digit ID in the app and decides how you may get in (see
  Authorization below). A Linux machine without a screen:
  `sudo systemctl enable --now rockd`, then `sudo rds otp` prints a one-time
  password.

## Find `rds` and check that it works

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

md
- Before anything destructive or irreversible, say what you will run and get
    confirmation. That includes deleting, overwriting, restarting services,
    sending messages, `sync --delete`, and `clip history rm/clear`.
  - Read-only inspection needs no confirmation.
  - Never type the user's passwords or secrets into remote fields.
  - Clipboard history can hold secrets (passwords, codes, tokens). Don't send
    it to third-party services unless the user asked.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Machines without a screen (servers, robots, dev boards; Linux .deb 1.0.10+):

text
sudo systemctl enable --now rockd     # system service: starts at boot, config in /var/lib/rockd
sudo rds status                       # this machine's ID
sudo rds otp                          # its current one-time password (sudo rds otp new: a fresh one)

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% 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 158)May include surrounding context.

Machines without a screen (servers, robots, dev boards; Linux .deb 1.0.10+):

text
sudo systemctl enable --now rockd     # system service: starts at boot, config in /var/lib/rockd
sudo rds status                       # this machine's ID
sudo rds otp                          # its current one-time password (sudo rds otp new: a fresh one)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

text
sudo systemctl enable --now rockd     # system service: starts at boot, config in /var/lib/rockd
sudo rds status                       # this machine's ID
sudo rds otp                          # its current one-time password (sudo rds otp new: a fresh one)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

text
sudo systemctl enable --now rockd     # system service: starts at boot, config in /var/lib/rockd
sudo rds status                       # this machine's ID
sudo rds otp                          # its current one-time password (sudo rds otp new: a fresh one)
  • There, people who come in with the one-time password may also use the

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

text
sudo systemctl enable --now rockd     # system service: starts at boot, config in /var/lib/rockd
sudo rds status                       # this machine's ID
sudo rds otp                          # its current one-time password (sudo rds otp new: a fresh one)
  • There, people who come in with the one-time password may also use the

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
- Fixed password: `sudo rds passwd` (prompts twice; `--clear` removes it).
- Key pair, like ssh: on your own computer `$RDS key gen` once (later `$RDS key`
  prints the same public line); on the headless machine
  `sudo rds authorize "<that line>"`. Your computer then gets in with no
  password and can use everything.
- What others may use: `sudo rds config` lists it;
  `sudo rds config feature <shell|file|fwd|mount|vpn|serial|usb|…> on|off`

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
prints the same public line); on the headless machine
  `sudo rds authorize "<that line>"`. Your computer then gets in with no
  password and can use everything.
- What others may use: `sudo rds config` lists it;
  `sudo rds config feature <shell|file|fwd|mount|vpn|serial|usb|…> on|off`
  changes it; `sudo rds config otp off` / `ask on` switch the one-time password
  / the allow dialog.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
`sudo rds authorize "<that line>"`. Your computer then gets in with no
  password and can use everything.
- What others may use: `sudo rds config` lists it;
  `sudo rds config feature <shell|file|fwd|mount|vpn|serial|usb|…> on|off`
  changes it; `sudo rds config otp off` / `ask on` switch the one-time password
  / the allow dialog.
- With a one-time password, prove it once (`RDS_PASSWORD=… $RDS <id> shell -c …`

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% 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 180)May include surrounding context.

md
Setting up a host from the command line (no GUI needed): on a machine without
a screen use the system service above. On a desktop you can also run the
per-user daemon without the app: `systemctl --user enable --now rockd` (plus
`sudo loginctl enable-linger $USER`, so it keeps running after you log out).
The first start writes a default config: the official server, one-time
password on. `$RDS status` shows the ID; `$RDS otp` prints the current

Session Persistence

Medium
Category
Rogue Agent
Confidence
70% 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 205)May include surrounding context.

md
`powershell -NoProfile -NonInteractive -Command`, so use PowerShell syntax there; the exit code
    of a failing external program still comes back.
$RDS <id> spawn "<command>"
    Start a detached process on the peer that outlives the call (servers, long jobs):
      → spawned pid 12345  ·  log: <path of its log file>
$RDS <id> shell                          Interactive TTY for a human (ConPTY on Windows).
$RDS <id> shell --list [--json]          Sessions the peer keeps after a disconnect (30 min by default).

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
**Install this skill:** save this file unchanged as `SKILL.md` in a folder named
`rockd-remote-control` inside your agent's skills folder:

- Claude Code: `~/.claude/skills/rockd-remote-control/SKILL.md`
- Gemini CLI: `~/.gemini/skills/rockd-remote-control/SKILL.md`
- DeepSeek Harness (`dsh`), Codex and other agents that read the shared folder:
  `~/.agents/skills/rockd-remote-control/SKILL.md` (Windows:

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
`rockd-remote-control` inside your agent's skills folder:

- Claude Code: `~/.claude/skills/rockd-remote-control/SKILL.md`
- Gemini CLI: `~/.gemini/skills/rockd-remote-control/SKILL.md`
- DeepSeek Harness (`dsh`), Codex and other agents that read the shared folder:
  `~/.agents/skills/rockd-remote-control/SKILL.md` (Windows:
  `%USERPROFILE%\.agents\skills\rockd-remote-control\SKILL.md`). dsh does not

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

md
- Claude Code: `~/.claude/skills/rockd-remote-control/SKILL.md`
- Gemini CLI: `~/.gemini/skills/rockd-remote-control/SKILL.md`
- DeepSeek Harness (`dsh`), Codex and other agents that read the shared folder:
  `~/.agents/skills/rockd-remote-control/SKILL.md` (Windows:
  `%USERPROFILE%\.agents\skills\rockd-remote-control\SKILL.md`). dsh does not
  read `~/.claude/skills`.