Back to skill

Security audit

Cloudways Integration

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent Cloudways integration guide that handles sensitive credentials and database actions openly, with documented vault storage and write-query guardrails.

Install only if you intend to manage Cloudways-hosted WordPress sites through OpenClaw. Treat the configured credentials as production-sensitive, use least-privilege access where possible, verify the selected app/server before running DB actions, and prefer read-only or dry-run paths before confirmed writes.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (14)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- storing Cloudways account auth in the vault
- loading server and application inventory from the Cloudways API
- storing server-level master SSH/SFTP credentials
- storing app-level SSH, WordPress admin, and DB access secrets
- deriving WordPress review metadata for local code review/edit flows
- testing SSH access and DB Manager access
- running guarded read-only SQL queries

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/cloudways-api-notes.md (reported line 8)May include surrounding context.

md
The current OpenClaw integration uses Cloudways account auth plus inventory discovery.

### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/implementation.md (reported line 25)May include surrounding context.

md
The current OpenClaw integration uses Cloudways account auth plus inventory discovery.

### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- live config path:
  - `~/.openclaw/workspace/config/cloudways.json`
- live vault path:
  - `~/.openclaw/secrets.json`
- DB audit log path:
  - `~/.openclaw/workspace/logs/cloudways-db-audit.jsonl`
- per-server and per-app secret keys are namespaced with generated prefixes

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/cloudways-api-notes.md (reported line 54)May include surrounding context.

md
- live config path:
  - `~/.openclaw/workspace/config/cloudways.json`
- live vault path:
  - `~/.openclaw/secrets.json`
- DB audit log path:
  - `~/.openclaw/workspace/logs/cloudways-db-audit.jsonl`
- per-server and per-app secret keys are namespaced with generated prefixes

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/implementation.md (reported line 50)May include surrounding context.

md
- live config path:
  - `~/.openclaw/workspace/config/cloudways.json`
- live vault path:
  - `~/.openclaw/secrets.json`
- DB audit log path:
  - `~/.openclaw/workspace/logs/cloudways-db-audit.jsonl`
- per-server and per-app secret keys are namespaced with generated prefixes

Session Persistence

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

md
- deriving WordPress review metadata for local code review/edit flows
- testing SSH access and DB Manager access
- running guarded read-only SQL queries
- running tightly constrained write SQL with confirmation + audit logging

## Core workflow

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/cloudways-api-notes.md (reported line 9)May include surrounding context.

md
### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`
  - `api_key`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/cloudways-api-notes.md (reported line 19)May include surrounding context.

md
### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`
  - `api_key`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/cloudways-api-notes.md (reported line 20)May include surrounding context.

md
### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`
  - `api_key`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/cloudways-api-notes.md (reported line 21)May include surrounding context.

md
### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`
  - `api_key`

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/cloudways-api-notes.md (reported line 22)May include surrounding context.

md
### Auth flow used
- OAuth-style access token request to:
  - `POST https://api.cloudways.com/api/v2/oauth/access_token`
- Request fields:
  - `email`
  - `api_key`

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% 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 · references/implementation.md (reported line 23)May include surrounding context.

md
This is the core implementation.

Key responsibilities:
- read/write vault-backed Cloudways account credentials
- read/write Cloudways local config
- fetch Cloudways OAuth access token
- fetch and normalize inventory

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown file describes storing server/app credentials securely, testing DB access, inspecting DB data, and performing write queries, but it does not include a clear warning to users about the sensitivity of credentials or the risk of modifying production data. Under SQP-2 for markdown files, skills should warn about behaviors that could affect user data, privacy, or system integrity.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.