Back to skill

Security audit

Expense Tracker

Security checks for vulnerabilities and agentic risk

Overview

This local expense tracker is purpose-aligned, but its very broad activation phrases could cause unintended local financial file creation or edits.

Install only if you are comfortable with a chat-based finance tracker creating and retaining local files under ~/.openclaw/expense-tracker/. Use explicit finance phrasing when invoking it, and review or remove its local data directory if it activates unintentionally.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

High
Confidence
98% confidence
Finding
The skill advertises activation for very broad phrases such as 'any personal finance task,' which creates a high risk of accidental invocation during ordinary conversation. Because the skill has read/write/exec capabilities and immediately performs filesystem initialization on first activation, unintended triggering can cause unwanted state changes and persistence without clear user intent.

Vague Triggers

High
Confidence
99% confidence
Finding
The listed triggers include generic single words and everyday phrases like 'today', 'report', 'net', 'goal', 'help', 'menu', and 'good morning', which are highly likely to appear in unrelated conversations. In this skill, accidental activation is more dangerous because it can lead to file reads/writes, creation of local financial records, and execution of setup/export shell commands.

Session Persistence

Medium
Category
Rogue Agent
Content
On first activation, do the following:

```bash
mkdir -p ~/.openclaw/expense-tracker/backups
```

Create all data files if they don't exist:
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.

Session Persistence

Medium
Category
Rogue Agent
Content
When user says **"export"**:

```bash
mkdir -p ~/.openclaw/expense-tracker/exports
```

Generate CSV files:
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.

Static analysis

No suspicious patterns detected.