Back to skill

Security audit

localhost.run

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign with medium confidence: the scanners found some potentially risky network, shell, and background-process behavior, but the contextual assessment treated the findings as expected for the skill’s purpose; coverage was partial.

The verdict is benign, not risk-free. Consider whether the skill’s network and shell access and detached background process fit your needs. Skillspector coverage was partial: one file was only partly inspected, and its tool-misuse analysis was degraded, so the evidence is incomplete.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (9)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% 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 · scripts/tunnel (reported line 288)May include surrounding context.

text
address=$(printf '%s' "$address" | tr 'A-Z' 'a-z')
                valid_domain "$address" || address="$domain"
                echo "$address" > "$dir/address"
                rm -f "$dir/link"
                set_state "$dir" connected "https://$address"
            fi
            sleep 1

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% 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 · scripts/tunnel (reported line 356)May include surrounding context.

text
alive "$sup" && kill -9 "$sup" 2>/dev/null
    ssh_pid=$(cat "$dir/ssh.pid" 2>/dev/null)
    alive "$ssh_pid" && kill "$ssh_pid" 2>/dev/null
    rm -f "$dir/supervisor.pid" "$dir/ssh.pid" "$dir/link"
    [ -d "$dir" ] && set_state "$dir" stopped "stopped"
}

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% 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 · scripts/tunnel (reported line 452)May include surrounding context.

text
stop_domain "$TARGET"
    mkdir -p "$dir"
    : > "$dir/events.jsonl"
    rm -f "$dir/address" "$dir/requests"
    [ -n "$REQUESTS" ] && : > "$dir/requests"
    local deadline=$(( $(date +%s) + HOURS * 3600 ))
    echo "$deadline" > "$dir/deadline"

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
75% 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 · scripts/tunnel (reported line 225)May include surrounding context.

text
login=(-i "$1" -o IdentitiesOnly=yes)
        forward=(-R "$2:80:localhost:$3" "agent@$HOST")
    else
        login=(-o PubkeyAuthentication=no)
        forward=(-R "80:localhost:$3" "nokey@$HOST")
    fi
    ssh_common_args

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 · scripts/tunnel (reported line 337)May include surrounding context.

text
public_check() {
    command -v curl >/dev/null 2>&1 || { echo "public: can't check (no curl)"; return 0; }
    local code
    code=$(curl -s -o /dev/null -m 10 -w '%{http_code}' "https://$1/" 2>/dev/null)
    if [ $? -eq 0 ]; then
        echo "public: https://$1/ answers HTTP $code"
    else

Session Persistence

Medium
Category
Rogue Agent
Confidence
65% 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 · scripts/tunnel (reported line 460)May include surrounding context.

text
set_state "$dir" starting "connecting"

    # Detached, so it outlives the agent's shell command.
    local detach=nohup
    command -v setsid >/dev/null 2>&1 && detach=setsid
    $detach bash "$0" __supervise "$dir" "$KEY" "$DOMAIN" "$port" "$REQUESTS" "$deadline" "$HOURS" < /dev/null > /dev/null 2>&1 &
    echo $! > "$dir/supervisor.pid"

Session Persistence

Medium
Category
Rogue Agent
Confidence
65% 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 · scripts/tunnel (reported line 461)May include surrounding context.

text
# Detached, so it outlives the agent's shell command.
    local detach=nohup
    command -v setsid >/dev/null 2>&1 && detach=setsid
    $detach bash "$0" __supervise "$dir" "$KEY" "$DOMAIN" "$port" "$REQUESTS" "$deadline" "$HOURS" < /dev/null > /dev/null 2>&1 &
    echo $! > "$dir/supervisor.pid"

Session Persistence

Medium
Category
Rogue Agent
Confidence
65% 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 · scripts/tunnel (reported line 461)May include surrounding context.

text
# Detached, so it outlives the agent's shell command.
    local detach=nohup
    command -v setsid >/dev/null 2>&1 && detach=setsid
    $detach bash "$0" __supervise "$dir" "$KEY" "$DOMAIN" "$port" "$REQUESTS" "$deadline" "$HOURS" < /dev/null > /dev/null 2>&1 &
    echo $! > "$dir/supervisor.pid"