Back to skill

Security audit

personal-finance-tracker

Security checks for vulnerabilities and agentic risk

Overview

This finance skill is mostly local, but it adds automatic long-term memory that can store sensitive finance-adjacent notes and influence future skill behavior.

Review this skill before installing if you plan to share transaction histories, budgets, debt details, or investment preferences. Its finance features are not inherently malicious, but its automatic learning file can retain notes and preferences locally and may influence later runs; use only redacted or aggregated data unless the persistence behavior is removed or tightly controlled.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • 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
  • 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 (2)

T02 · Agent Memory Poisoning

Error
Location
scripts/learner.py:82
Finding

Persistent Agent-Memory Poisoning Through Unvalidated Learning Data

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/learner.py:61
Finding

Plaintext Persistence of Potentially Sensitive Financial and Personal Data

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
Findings (12)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is presented as a personal finance assistant, but it also includes a generic cross-session learning and persistence mechanism that records usage, errors, and preferences to disk. That is dangerous because users may disclose highly sensitive financial information under a no-storage expectation, while the embedded learner expands the skill’s behavior into persistent data collection beyond its stated purpose.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The document states that financial data is only analyzed and not stored, but later instructs persistent storage of usage history and user preferences in learned_patterns.json. In a finance context, this inconsistency is dangerous because it can mislead users into sharing bank, budget, debt, or spending information under false privacy assumptions, increasing retention and leakage risk.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

L007 lists generic trigger terms such as “记账”, “理财”, “省钱”, and “财务规划”, which are broad phrases that could match many ordinary conversations rather than a narrowly defined invocation. The file does not provide negative examples, activation boundaries, or contextual constraints to distinguish when the skill should or should not activate.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill invites users to upload or share financial data but does not prominently warn about privacy risks or define safe input boundaries. In a personal finance context, that omission is dangerous because users may provide transaction histories, account details, debts, or other highly sensitive records that could then be exposed, retained, or mishandled.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

L094 states that all advice follows Chinese financial regulatory requirements, which is a locale-specific policy constraint. The document does not indicate that this applies only to users in China or offer any language/locale choice, so it may improperly force one jurisdiction's rules on all users.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

A generic self-learning and memory system is embedded in a skill whose declared purpose is finance assistance, without a clear functional need tied to the finance workflow. This broadens the skill’s effective scope into profile building and long-term tracking, which is especially sensitive when the surrounding context involves personal financial habits and potential risk tolerance data.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The learning module instructs persistent storage of user preferences and usage history across sessions, creating a durable memory layer in a skill that handles sensitive finance interactions. Even if it claims not to store explicit financial fields, natural-language notes, error records, preferences, and reflections can still capture spending habits, debt concerns, investment preferences, or other sensitive personal-finance signals that may later leak or be misused.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The learner examples reference unrelated capabilities such as resume optimization, indicating the skill contains copy-pasted or multi-purpose behavior not aligned with a finance-only assistant. This is dangerous because it suggests the skill may invoke or retain data under a broader hidden framework, weakening trust boundaries and increasing the chance of unintended processing of sensitive user information.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The module is explicitly designed as a generic cross-skill learner for any WorkBuddy skill, not as a finance-specific helper. That broad scope enables collection of arbitrary capability usage, errors, notes, and preferences across unrelated skills, expanding data collection beyond the declared purpose and increasing privacy and misuse risk.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The natural-language documentation and all CLI/user-facing messages are written only in Chinese, which imposes a language choice without offering the user any locale selection or opt-in. The policy specifically flags language or locale constraints when they are forced rather than optional or justified.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The data model persists preferences, error patterns, recent operations, and optimizations in a generic structure that is unrelated to personal-finance functionality. In this skill context, that makes the component context-inappropriate telemetry collection and creates unnecessary accumulation of behavioral data that could reveal sensitive user habits.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The code writes learned_patterns.json to disk and stores user preferences, notes, operational history, and error metadata without any user-facing disclosure or consent mechanism. Because this is a personal finance skill, persisted notes and preferences may contain sensitive financial or behavioral information, raising privacy risk if accessed locally or reused unexpectedly.

Content

No source excerpt is available for this finding.