Back to skill

Security audit

VPS Agent Migration

Security checks for vulnerabilities and agentic risk

Overview

This migration guide is coherent but uses unsafe root SSH, disables host verification, and exposes Discord/VPS secrets in commands.

Review this skill carefully before installing or using it. If you proceed, replace password-based root SSH with a verified SSH key and a limited account, remove StrictHostKeyChecking=no, avoid printing or embedding Discord tokens in shell commands, do a dry-run and allowlist the files to transfer, back up openclaw.json, and prepare a rollback before restarting gateways or disabling the local account.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:22
Finding

Insecure SSH Password Handling and Disabled Host Verification

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:31
Finding

Discord Bot Token Exposed Through Terminal Output and Inline Commands

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:26
Finding

Migration Uses Root Privileges and an Overly Broad File Transfer

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Using StrictHostKeyChecking=no disables SSH server identity verification and allows man-in-the-middle interception or redirection to a rogue host. Because the same step also carries administrative access and later moves sensitive agent files and tokens, an attacker on the network could capture credentials, tamper with migrated files, or install a malicious configuration on the VPS.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
99% confidence
Finding

Using StrictHostKeyChecking=no disables SSH server identity verification and allows man-in-the-middle interception or redirection to a rogue host. Because the same step also carries administrative access and later moves sensitive agent files and tokens, an attacker on the network could capture credentials, tamper with migrated files, or install a malicious configuration on the VPS.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The guide performs live configuration edits, binding changes, account disablement, and gateway restarts without warning about service interruption, misrouting, or rollback procedures. A mistake in agent ID, Discord ID, or bindings could disable the local bot, break production routing, or leave the remote bot misconfigured, causing loss of availability or unintended behavior. The context makes this somewhat more dangerous because the actions affect running automation accounts and root-owned service configuration.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file presents the description and operational instructions in Chinese only, which effectively forces a specific language for users of the skill. There is no indication of user opt-in, alternative language availability, or justification for a Chinese-only locale.

Content

No source excerpt is available for this finding.