Back to skill

Security audit

Personal Finance

Security checks for vulnerabilities and agentic risk

Overview

This finance CSV tool mostly does what it says, but its optional export can overwrite user-writable files and is less safely scoped than its docs claim.

Review this skill before installing. It appears offline and purpose-aligned, but only run it on CSVs you trust, choose export paths carefully, avoid opening generated CSVs in spreadsheets when input rows may be attacker-controlled, and do not rely on its current output-path safety claim to prevent overwrites.

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 (2)

T09 · Insecure Skill Coding Practices

Warning
Location
personal-finance.sh:250
Finding

Output Path Validation Can Be Bypassed to Overwrite Arbitrary Writable Files

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
personal-finance.sh:261
Finding

Generated CSV Files Are Vulnerable to Spreadsheet Formula Injection

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (3)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · personal-finance.sh (reported line 257)May include surrounding context.

sh
for rule in rules:
        for keyword in rule["keywords"]:
            if keyword in text:
                return rule["category"]
    return "Uncategorized"

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill advertises file read and write behavior but does not declare an explicit tool scope such as permissions or allowed-tools. That creates an authorization ambiguity: an agent or runtime may permit broader filesystem access than users expect, especially because --output enables writing arbitrary paths. In a personal-finance context, undeclared file access is more sensitive because inputs contain financial data and account information.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This JSON manifest defines activation-like matching keywords for categories. The keyword "deposit" is overly broad everyday language and could match many unrelated transactions, making the trigger scope insufficiently specific.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.