Back to skill

Security audit

RockDesk Remote Control

Security checks for vulnerabilities and agentic risk

Overview

The skill is marked suspicious because scanners report installation instructions that bypass Windows security screening for an unsigned remote-access installer; inspection was also incomplete.

Consider not installing until the installer can be verified through a signed, trusted source and the security-screening bypass instructions are resolved. The scan is partial, so it does not establish that the rest of the skill is safe.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
Findings (26)

Installation guidance steers the agent into bypassing Windows security screening for an unsigned remote-access installer.

High
Category
Prompt Injection
Confidence
99% confidence
Finding

This identifies the same security-screening bypass as SDI-2, rather than a separate exploit. The guidance deliberately steers installation around an operating-system warning for unsigned, privileged remote-access software, increasing supply-chain compromise risk.

Content

No source excerpt is available for this finding.

The skill instructs agents to bypass Windows download protections when installing an unsigned executable.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The skill explicitly recommends downloading an unsigned executable in a way intended to avoid Windows download screening, and alternatively tells users to override SmartScreen. Installing a remote-access service with administrator privileges after bypassing those protections could give a substituted or compromised installer extensive control; asking permission to install does not establish its authenticity.

Content

No source excerpt is available for this finding.

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

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

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 56)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 66)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 66)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 87)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)

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 66)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 106)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 159)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 159)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 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)

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 161)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 161)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 167)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 170)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 172)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 173)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 …`

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 174)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 182)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 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

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 206)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 439)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 440)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