Back to skill

Security audit

rankrat

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious with medium confidence because the scanners report unpinned Docker images and an installer that can run with root privileges, creating supply-chain and installation risks.

Consider not installing until the Docker images are pinned to reviewed digests and the installer source and integrity are independently verified. Avoid the system-wide sudo installation unless you have reviewed and trust the installer. Skillspector’s scan is partial because several referenced local paths were missing, and the downloaded installer was not available for review; the clean AIG result does not resolve those gaps.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (11)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Installation supports the declared product, but these commands exceed its explicit shell and filesystem permission boundaries. In particular, executing a remote installer with optional root privileges is materially broader than the stated runtime access. The downloaded script is not supplied, so its additional behavior cannot be determined; the mismatch rests on the visible execution and installation commands.

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 · references/setup.md (reported line 275)May include surrounding context.

md
--pids-limit 16 --memory 64m --cpus 0.25 \
  --mount type=volume,src=rankrat-lighthouse-runtime,dst=/run/lighthouse \
  --entrypoint /bin/sh psyb0t/rankrat-lighthouse \
  -c 'chmod 1777 /run/lighthouse \
    && touch /run/lighthouse/.initialized \
    && chown -R 10001:10001 /run/lighthouse \
    && chmod 0750 /run/lighthouse'

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 · references/setup.md (reported line 277)May include surrounding context.

md
--entrypoint /bin/sh psyb0t/rankrat-lighthouse \
  -c 'chmod 1777 /run/lighthouse \
    && touch /run/lighthouse/.initialized \
    && chown -R 10001:10001 /run/lighthouse \
    && chmod 0750 /run/lighthouse'
docker run --rm -d --name rankrat-lighthouse-worker --init --read-only \
  --user 10001:10001 --cap-drop=ALL --security-opt no-new-privileges:true \

Docker image referenced without tag or digest: 'docker run invocations'.

Medium
Category
MCP Rug Pull
Confidence
75% confidence
Finding

Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.

Content

No source excerpt is available for this finding.

Docker image referenced without tag or digest: 'docker run --rm'.

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The complete command uses psyb0t/rankrat without a version or digest, implicitly selecting a mutable latest image. An altered image could read mounted provider credentials and OAuth tokens and misuse their account-wide authority despite the container hardening.

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 · references/setup.md (reported line 199)May include surrounding context.

(no root) or system-wide:

bash
curl -fsSL https://raw.githubusercontent.com/psyb0t/rankrat/main/install.sh \
  -o rankrat-install.sh
less rankrat-install.sh
bash rankrat-install.sh                # per-user   -> ~/.local/bin/rankrat

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
90% confidence
Finding

The optional system-wide installation executes a script downloaded from mutable main with host root privileges, without an enforced integrity or provenance check. Reading it first is useful but does not reliably prevent a compromised upstream script from taking over the host and accessing provider credentials.

Content

Scanner excerpt · references/setup.md (reported line 203)May include surrounding context.

-o rankrat-install.sh less rankrat-install.sh bash rankrat-install.sh # per-user -> ~/.local/bin/rankrat sudo bash rankrat-install.sh --system # system-wide -> /usr/local/bin/rankrat

text

The single public launcher is named `rankrat`; it is not duplicated into agent

Docker image referenced without tag or digest: 'docker run --rm'.

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The command runs the unpinned psyb0t/rankrat image with provider secrets and writable OAuth storage mounted. Compromise or unexpected replacement of the mutable image could expose credentials and enable account-wide provider operations.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
70% confidence
Finding

Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Content

Scanner excerpt · references/setup.md (reported line 260)May include surrounding context.

md
The commands above use the writable default. Before mounting config writable,
verify that the resolved directory is owner-only, `boundaries.json` is not a
symlink, both are owned by the current UID, and the file is not group- or
world-writable. The public `rankrat` launcher performs those checks. For a read-only
caller, set `RANKRAT_READ_ONLY=true` and make only `/run/config` read-only.
Never make the provider-secret mount writable during normal service operation.

Docker image referenced without tag or digest: 'docker run --rm'.

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The initializer executes a shell from an unpinned psyb0t/rankrat-lighthouse image as container root with ownership-changing capabilities. Network isolation and the narrow volume mount limit exposure, but a substituted image could corrupt the shared volume or attack the container boundary.

Content

No source excerpt is available for this finding.

Docker image referenced without tag or digest: 'docker run --rm'.

Medium
Category
MCP Rug Pull
Confidence
99% confidence
Finding

The browser worker uses an unpinned psyb0t/rankrat-lighthouse image, allowing its executable contents to change without review. A compromised image could falsify audit results, abuse browser network access, or tamper with its shared runtime volume, although it receives no provider credential mounts.

Content

No source excerpt is available for this finding.