Back to skill

Security audit

zan-diary

Security checks for vulnerabilities and agentic risk

Overview

This is a simple local diary skill that stores diary, todo, and goal information in a disclosed folder on the user's machine.

Before installing, understand that diary entries, todos, and goal progress will be stored persistently in local Markdown files under ~/.zan-diary/. Avoid putting secrets or highly sensitive information there unless you are comfortable with local plaintext storage.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (1)

Missing User Warnings

Medium
Confidence
96% confidence
Finding
The skill instructs the agent to read, create, and modify files under `~/.zan-diary/` in the user's home directory, but the description does not clearly warn users about this file-system access or persistence behavior. This can lead to unexpected local data creation/modification and privacy risks, especially for a diary skill handling sensitive personal information.