Back to skill

Security audit

Toss Payments CLI

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Toss Payments helper for looking up and canceling payments, but users should treat its secret key and base URL settings carefully.

Install only if you intend to operate Toss Payments from this environment. Keep TOSS_SECRET_KEY private, verify TOSS_BASE_URL points to the legitimate Toss Payments API before use, and treat cancel-payment commands as real financial actions that may not be easy to undo.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The natural-language description and usage comments are presented in Korean, but the file does not indicate that the skill is intended only for Korean-speaking users or provide any opt-in language choice. Under the policy, forcing a specific language without user opt-in is a locale/language policy violation.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
87% confidence
Finding

The skill sends payment identifiers and cancellation requests to an external payment API, which is expected for its purpose, but the documented ability to override the base URL via TOSS_BASE_URL creates SSRF/exfiltration risk if an attacker can influence the environment. In this context, the skill handles sensitive payment operations, so allowing arbitrary endpoint redirection makes misuse more dangerous than a normal outbound network call.

Content

Scanner excerpt · SKILL.md (reported line 42)May include surrounding context.

toss-pay cancel-payment --payment-key {paymentKey} --reason "부분 환불" --amount 5000

text

Base URL: https://api.tosspayments.com/v1 (환경변수 TOSS_BASE_URL로 오버라이드 가능)

## Install
```bash

Static analysis

No suspicious patterns detected.