Back to skill

Security audit

habit-trigger-detective

Security checks for vulnerabilities and agentic risk

Overview

This is a local habit-journaling and analysis skill whose file access and scripts match its disclosed purpose.

Before installing, understand that the skill stores personal habit, mood, urge, location, company, and device context in a local journal file. Use it for ordinary habit tracking, and seek professional help rather than relying on this tool for substance dependence, eating disorders, gambling, compulsive behavior, withdrawal, loss of control, or significant distress.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
85% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · references/journal-template.md (reported line 34)May include surrounding context.

md
## Rules

1. Log EVERY occurrence you notice — including "small" ones.
2. Never judge entries. Sanitized data = useless analysis.
3. If you miss logging an event, log it later from memory and mark it "late".
4. Baselines are as important as events. Don't skip them.
5. 5-7 days is enough; 8+ events and 5+ baselines minimum for analysis.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The phrase "Use when someone keeps failing the same habit or falling into the same bad one despite motivation" is a broad natural-language trigger rather than a narrow invocation condition. It overlaps with many common coaching or productivity conversations and does not clearly define boundaries or exclusion examples beyond the later body text.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.