Back to skill

Security audit

cost-planner

Security checks for vulnerabilities and agentic risk

Overview

The skill plans generation costs and permits paid jobs only after the user chooses to proceed with an approved price or budget.

Planning alone should not incur generation charges. Before running a plan, approve its scope and spending limit. Successful jobs remain chargeable even when safety review blocks their outputs. Price-cap and duplicate-charge protections depend on the connected service, whose implementation is outside this artifact.

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 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

The planning-only skill includes a workflow that creates and charges for generation jobs.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

The manifest at L03 presents a budget-planning skill and explicitly states that planning never creates jobs or charges anything. However, L51–L63 extend the skill into execution, instructing the agent to call generate, retry submissions, and monitor billable jobs. Although this workflow is conditional on the user deciding to run the plan and includes price approval, it expands the skill beyond its advertised planning-only scope.

Content

No source excerpt is available for this finding.