Back to skill

Security audit

Habit Tracker

Security checks for vulnerabilities and agentic risk

Overview

This skill is a local habit-tracking CLI that stores user-entered habits and logs on the user's machine, with no evidence of hidden network access or unrelated behavior.

Install only if you are comfortable storing habit names, reminders, completion history, and optional notes as local plaintext JSON files under ~/.config/habit-tracker. Be careful with the delete command because it removes both the habit and its logs immediately.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (12)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/habit-cli.js add "Exercise" --frequency daily --target 1 --reminder "08:00"

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill description is broadly phrased around common productivity tasks like building habits, tracking routines, and generating reports, which could cause the agent to invoke this skill for many generic self-improvement requests. Over-broad activation increases the chance of unintended tool use and unnecessary access to persistent user data or command execution paths, even if the skill itself is not overtly malicious.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
72% confidence
Finding

The skill explicitly stores habit definitions and completion logs in persistent files under ~/.config/habit-tracker/, creating session persistence across runs. Persistent storage can expose sensitive behavioral data, notes, and routines if accessed by other local processes, reused without user awareness, or retained longer than expected.

Content

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

md
## Features

- **Habit Definition**: Create habits with custom frequency (daily/weekly/monthly), targets, and reminders
- **Habit Logging**: Log completions manually with optional notes and custom dates
- **Statistics**: View completion rates, streaks, and trends
- **Progress Reports**: Visual progress bars and summary reports

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The delete command permanently removes both a habit and all associated logs immediately after a single CLI invocation, with no confirmation prompt, dry-run mode, or undo capability. In a local productivity CLI this is not code-execution dangerous, but it is still a real safety issue because a mistyped name/ID, scripting error, or accidental invocation can cause irreversible user data loss.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.