Back to skill

Security audit

expense-categorizer

Security checks for vulnerabilities and agentic risk

Overview

The bundled tool leaves your ledger unchanged, but it lacks the promised categorization and can incorrectly flag transactions as duplicates.

Use copies of your data and manually verify every duplicate flag. The documented YAML quickstart is incompatible with the script's CSV reader, and the script does not categorize expenses. Treat the optional Windows app as a separate software trust decision; this assessment does not establish its safety.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The code implements a limited duplicate-reporting utility rather than the declared ledger-cleanup and expense-categorization workflow. It neither constructs a composite key from separate transaction fields nor produces categorized or deduplicated transaction data. If the expected key column is absent, all rows receive an empty comparison key, causing every row after the first to be reported as a duplicate. No network access or unrelated resource access is evident.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_write.

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.

The module promises to merge duplicate records, but only generates a duplicate-report file.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The module docstring at L004 explicitly says it finds and merges duplicate records. However, L085–L104 only collect unique rows in memory and write duplicates.md; no merged or deduplicated transaction dataset is saved or returned. Users relying on the stated behavior would still have an unchanged ledger.

Content

No source excerpt is available for this finding.