Back to skill

Security audit

Luna Calorie Tracker

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed calorie-tracking skill that stores meal history for summaries, with privacy considerations but no hidden or malicious behavior found.

Install this only if you are comfortable keeping food-photo-derived nutrition history and calorie goals in OpenClaw memory files. Treat those memory files as sensitive personal data and delete them manually if you no longer want the history retained.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Confidence
93% confidence
Finding
The README explicitly promotes persistent storage of meal history and memory files, but it does not warn users that this creates a lasting record of potentially sensitive health, lifestyle, and routine-related data. In a calorie-tracking skill, retained food logs and derived nutrition history can reveal personal habits and health information, so omission of privacy guidance meaningfully increases user exposure.

Session Persistence

Medium
Category
Rogue Agent
Content
# Navigate to Luna's workspace
cd ~/.openclaw/workspace   # or your agent's workspace path

# Create the skills directory if it doesn't exist
mkdir -p skills/luna-calorie-tracker

# Clone the skill
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.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill explicitly persists detailed dietary logs, meal history, and calorie goals into memory files without any notice, consent step, retention policy, or privacy controls. Dietary data can reveal sensitive health information, habits, and conditions, so silent long-term storage increases privacy and misuse risk even if the feature is intended for convenience.

Static analysis

No suspicious patterns detected.