Back to skill

Security audit

Gratitude

Security checks for vulnerabilities and agentic risk

Overview

This is a simple gratitude-journal skill that stores user-provided reflections locally, with privacy considerations but no hidden, remote, destructive, or deceptive behavior found.

Install only if you are comfortable with gratitude entries and generated pattern summaries being saved as local plaintext files under ~/gratitude/. Avoid recording details you would not want exposed through device sharing, backups, search indexing, or synced home folders, and review/delete the files manually if needed.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:7
Finding

Plaintext Persistence of Potentially Sensitive Personal Information

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:7-20; related sensitive-data collection instructions appear at SKILL.md:44-57 and SKILL.md:59-76
Vulnerability Type: Plaintext storage of sensitive personal data
Risk Level: Medium

Evidence

markdown
## Core Behavior
- Help user log what they're grateful for
- Surface patterns and insights over time
- Help identify gratitude when they're stuck
- Create `~/gratitude/` as workspace

## File Structure

~/gratitude/ ├── log/ │ └── 2024/ ├── patterns.md ├── favorites.md └── practice.md

text

The types of information intended for collection and analysis include:

markdown
Categories to explore:
- People, relationships
- Health, body
- Home, comfort, safety
- Work, progress, learning
- Nature, beauty
- Small pleasures
markdown
## People Mentioned Most
- Sarah: 12 times
- Mom: 8 times
- Work team: 6 times

## Insights
- You notice nature more on weekends
- Productivity gratitude peaks midweek
- Social connection is core theme

Technical Analysis

The Skill instructs the Agent to create a persistent journal under ~/gratitude/ and store entries, named individuals, health-related observations, preferences, favorites, and inferred behavioral patterns in ordinary Markdown files. It does not require owner-only file permissions, encryption, informed consent before persistence, data minimization, retention limits, or secure deletion.

Consequently, file permissions depend on the host environment's default umask and directory configuration. The journal may also be included automatically in home-directory backups, indexing systems, endpoint monitoring, or synchronization services. Derived files such as patterns.md concentrate information about relationships, routines, health, and emotional experiences, potentially making disclosure more harmful than exposure of an isolated entry.

Atta

...[truncated 1329 chars]

Remediation
View remediation

Remediation Suggestions

  1. Clearly notify users before the first write that journal entries will be stored locally in plaintext, and obtain explicit consent.
  2. Create ~/gratitude/ with owner-only permissions, such as mode 0700, and journal files with mode 0600 where the operating system supports POSIX permissions.
  3. Verify existing permissions before writing and warn the user if the directory or files are accessible to other accounts.
  4. Offer encrypted-at-rest storage using an established platform credential store or a well-reviewed encryption mechanism.
  5. Minimize collection by avoiding unnecessary names, health details, and behavioral inferences unless the user explicitly requests them.
  6. Provide configurable retention periods and commands to review, export, redact, and securely delete stored entries and generated summaries.
  7. Warn users that home-directory backup, synchronization, and indexing services may copy or process the files.
  8. Do not include sensitive details in aggregated pattern files unless the user has explicitly enabled pattern analysis.
Vulnerability Patterns
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill creates and stores personal gratitude entries in ~/gratitude/ but the user-facing description does not warn that private reflections and relationship details will be persisted locally. This undermines informed consent and can expose sensitive personal data if the device is shared, backed up broadly, or later accessed by other tools.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrase "gratitude" is broad enough to match ordinary conversation rather than a clear invocation of the skill. That can cause unintended activation and immediate logging or prompting around sensitive emotional content, which is especially risky in a journaling skill that stores personal data on disk.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.