Back to skill

Security audit

Hostcheck

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed, read-only host health checklist with some administrator-level remediation suggestions users should review before running.

Install only if you want your agent to inspect host health and security posture. Treat any sudo update, upgrade, or package-install recommendation as a manual administrator action to review before running, especially on production OpenClaw hosts.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (6)

Chaining Abuse

High
Category
Tool Misuse
Confidence
78% confidence
Finding

The use of && to chain sudo apt update and sudo apt upgrade compounds risk because it bundles multiple privileged operations into a single copy-pastable action. In agent-assisted contexts, chained commands reduce opportunities for review between steps and can lead to broader-than-intended administrative changes.

Content

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

md
## Recommendations

If issues found, provide actionable advice:
- Run `sudo apt update && sudo apt upgrade`
- Check firewall with `sudo ufw status`
- Review logs with `journalctl --user -u trading-*`
- Set up backups with rsync or Borg

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill advertises very broad natural-language triggers such as 'Check my system' and 'Security status', which can cause unintended invocation in normal conversation. In an agent environment, overly generic activation phrases increase the chance that the skill runs in contexts the user did not explicitly intend, potentially exposing host information or initiating privileged guidance unexpectedly.

Content

No source excerpt is available for this finding.

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

md
- Disk: 62% used

### ⚠️ Updates Available
- 3 security updates (run: sudo apt upgrade)
- Last check: 3 days ago

### 🔒 Security

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

md
- Disk: 62% used

### ⚠️ Updates Available
- 3 security updates (run: sudo apt upgrade)
- Last check: 3 days ago

### 🔒 Security

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
74% confidence
Finding

The skill recommends a chained privileged command (sudo apt update && sudo apt upgrade) that, if surfaced by an agent without sufficient confirmation or context, could encourage direct execution of administrative package changes. While common and legitimate for maintenance, embedding root-level remediation steps in a skill increases the chance of unsafe automation or user copy-paste of impactful commands.

Content

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

md
## Recommendations

If issues found, provide actionable advice:
- Run `sudo apt update && sudo apt upgrade`
- Check firewall with `sudo ufw status`
- Review logs with `journalctl --user -u trading-*`
- Set up backups with rsync or Borg

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

The skill includes a privileged installation command (sudo apt install ufw) as a recommendation. Even though it is not auto-executed, installation commands alter system state and can normalize privileged actions within a read-only diagnostic skill, which becomes riskier if an agent is allowed to act on recommendations.

Content

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

md
- Ask before making any changes
- Does NOT include virus scanning (requires ClamAV)
- Does NOT include real-time protection
- UFW requires manual installation (sudo apt install ufw)

## Current Host Status (Example)