Back to skill

Security audit

Habit

Security checks for vulnerabilities and agentic risk

Overview

This package is labeled as a habit tracker, but the artifacts implement and document a generic local data-logging tool that stores, searches, and exports arbitrary user input.

Install only if you are comfortable with a mislabeled local data logger. Do not enter sensitive health, routine, or personal information unless you have reviewed the stored files under ~/.local/share/habit and understand that entries may be searchable and exportable locally.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (8)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is presented as a habit-building tool, but the documented behavior is a generic data-processing/logging CLI with dynamic shell-like placeholders and unrelated pipeline operations. This mismatch can mislead users or orchestrating agents into invoking capabilities outside the declared scope, enabling inappropriate data handling, logging, export, or command routing under a trusted productivity-themed label.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The command table documents a generic data-processing interface instead of habit-tracking actions, despite the skill claiming to manage habits, streaks, reminders, and progress. In an agent ecosystem, this is dangerous because tool-selection logic may trust the metadata and expose users to unintended ingestion, querying, exporting, or profiling operations against local data.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill is presented as a habit-building tool, but its implemented interface is a generic data ingestion/logging toolkit with broad commands unrelated to habits. This mismatch is dangerous because users and calling agents may trust it with sensitive habit or wellness data under false assumptions, while the tool primarily persists arbitrary input and enables later search/export of that data.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The documentation markets a simple, clean habit-management experience, but the exposed interface includes broad data-tooling commands inconsistent with that promise. This increases the chance that users or agents will overtrust the skill and use it in contexts where unrelated data operations are unsafe or privacy-invasive.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Vague command descriptions like 'Ingest', 'Transform', 'Query', and 'Filter' are underspecified and conceal what data is accepted, how it is processed, and what side effects occur. In a tool-consuming agent environment, this ambiguity can cause unsafe invocation, accidental data exposure, or misuse of broad operations beyond the user's intent.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The inline documentation brands the script as a habit utility while the code behaves as a generic data toolkit. Mislabeling a tool's purpose can cause operators or upstream agents to route sensitive user data into a component with broader persistence and retrieval capabilities than expected, increasing the risk of unintended collection and disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The export functionality aggregates all stored log data into json, csv, or txt files without clearly advertising that capability in a security-focused way. This increases the chance that sensitive accumulated user data can be easily materialized into portable files and exposed through syncing, accidental sharing, or other local access paths.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

User-provided input is written verbatim to persistent local log files and mirrored into a history log without a clear upfront warning or consent flow. In the context of a habit skill, users may submit sensitive health, routine, or personal productivity details, creating a privacy risk if the local machine is shared, backed up, or later inspected by other tools.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.