Back to skill

Security audit

GPCA

Security checks for vulnerabilities and agentic risk

Overview

This financial and shopping skill is mostly purpose-aligned, but it needs Review because it auto-installs unpinned remote code, accesses email verification codes, persists sessions, and has inconsistent payment-domain protections.

Review carefully before installing. Do not allow automatic setup unless you trust and have independently reviewed the referenced MCP server and its npm dependencies. Prefer manual entry of email verification codes, avoid granting inbox access for password reset, and do not let the agent fill card details on any merchant domain that is not strictly allowlisted and verified immediately before payment.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
SKILL.md:17
Finding

Automatic Retrieval and Execution of Unpinned Remote Code

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
references/shopping-assistant.md:196
Finding

Payment Domain Allowlist Can Be Bypassed Through User Confirmation

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (27)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
93% confidence
Finding

The KYC section describes submitting KYC data and uploading KYC documents, which involves processing highly sensitive personal information. The markdown provides no warning about privacy implications, secure handling expectations, or the need for explicit user consent before collecting or uploading identity documents.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill establishes a natural-language workflow for accessing and reading a user's mailbox contents to extract authentication data. In a banking/shopping context, this is especially dangerous because the same session may expose other sensitive emails, account recovery messages, financial alerts, or personal data, enabling broader compromise than the immediate OTP use case.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The flow instructs the agent to access the user's email account and extract a one-time login code, effectively placing the agent inside a second-factor authentication channel. In a banking/card-management skill, this is especially dangerous because mailbox access can expose password resets, financial notifications, and other account recovery materials, enabling broader account takeover or sensitive data disclosure beyond the GPCA session.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

The instruction to automatically perform setup and explicitly not ask the user removes an approval checkpoint before executing system-changing actions. In the context of cloning, building, and registering an MCP server, this increases the risk of unauthorized environment modification and silent execution of untrusted code.

Content

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

md
## MCP Server Setup (Required — Auto-install)

This skill needs the GPCA MCP server for API tools (`gpca_auth_status`, `gpca_list_cards`, etc.). When the user first uses this skill, check if the MCP tools are available. If not, run the setup steps below automatically. Do NOT ask the user to run them manually.

### Check if already installed

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs the agent to automatically clone, build, and register external software from a remote GitHub repository using shell commands. This creates a software supply chain and arbitrary code execution risk, especially because the installation is performed without explicit user approval and is not constrained to a vetted package source or pinned commit.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file documents actions such as registration, login, password reset, and account/profile access, which affect authentication state and sensitive user data. The reference provides no warning or disclosure about handling credentials, email codes, or account changes, despite the file describing security-relevant behaviors.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The documented tools include ordering cards, binding/activating/freezing cards, changing or resetting PINs, viewing CVV, obtaining deposit addresses, and transferring value to cards. These behaviors can affect financial assets or expose sensitive payment data, yet the file contains no cautionary language about user confirmation, financial risk, or sensitive-data handling.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow explicitly offers automatic reading of email verification codes by opening the user's mailbox in a browser, which extends the skill's access into highly sensitive email content beyond core card and wallet operations. Email inbox access can expose unrelated messages, account-reset links, financial notifications, and personal data, creating a significant privacy and account-compromise risk if misused or over-broadened.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The workflow describes automatic mailbox access without clearly warning users that the agent may see broader email contents than just the verification code. Lack of informed disclosure weakens user consent and increases the risk that users unknowingly expose personal, financial, or security-related communications.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The login flow not only offers automatic inbox reading for verification retrieval, but instructs the agent to remember the user's prior choice and default to auto-login next time without re-asking. Reusing prior consent for mailbox access increases the chance of silent overreach into sensitive email data and undermines meaningful, context-specific authorization for each access event.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Persisting a default to future auto-login without re-asking omits a warning about the continuing privacy implications of repeated mailbox access. Users may not realize that a prior one-time choice is being treated as ongoing authorization to inspect future inbox contents.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The instruction to remember a user's auto-login preference creates retention of a behavioral preference tied to sensitive email-based code retrieval. Even if the retained data is minimal, storing this preference normalizes repeated mailbox access and can enable future privacy-invasive behavior without renewed consent.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The forgot-password workflow extends automatic email-reading into account recovery, one of the most security-sensitive operations in the system. Accessing a mailbox during password reset can expose highly sensitive recovery messages and creates a path where compromise of the agent or misuse of the feature could facilitate account takeover or unauthorized reset assistance.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

Offering automatic email reading during password recovery without a clear warning is especially risky because reset messages are highly sensitive and may coexist with other account-security emails. Users are not adequately informed of the scope and consequences of granting mailbox access in this context.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
85% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · references/security-notes.md (reported line 17)May include surrounding context.

md
## Financial Operation Safety
- **Always confirm** before executing: transfers, card orders, PIN changes
- Show exact amounts and target card before confirmation
- Never auto-execute financial operations without explicit user consent
- **No auto-retry for transfers**: If `gpca_deposit_to_card` times out or returns an ambiguous error, do NOT retry — risk of double transfer. Ask user to check balance first.

## Session Management

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow explicitly instructs the agent to open and inspect the user's email inbox to retrieve a GPCA login code. Even with stated scope limits, this grants the agent access to unrelated mailbox content and expands data access beyond the core payment task, creating a real privacy and credential-exposure risk.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The Taobao/Alipay confirmation and escalation messages are written as fixed Chinese-language prompts, which implies the skill may force a specific language during parts of the workflow. The file does not state that the user can choose their preferred language or that Chinese is optional for these responses.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The documentation broadens the skill's operational scope from Amazon/Taobao to eBay and JD.com, creating a mismatch between declared capabilities and actual guided behavior. Scope drift is dangerous because it can enable automation on sites users and reviewers did not explicitly authorize, weakening trust boundaries and policy review assumptions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The instruction to store the user's shipping address in conversation memory introduces retention of sensitive personal data without clear notice, limitation, or deletion guidance. Even if intended for convenience, retaining address data increases exposure through unintended reuse, overcollection, or later disclosure in unrelated interactions.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Natural-language instructions to retain and reuse shipping addresses create a data retention risk because they normalize storing personal information beyond the immediate transaction. In a skill handling shopping, bank cards, wallet activity, and KYC-related workflows, this increases the consequences of privacy leakage or cross-session misuse.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The file documents inbox access and retrieval of GPCA verification codes from multiple email providers, but this sensitive capability is not disclosed in the stated skill scope. Accessing email expands the privilege boundary significantly because it exposes unrelated private communications and enables interception of authentication or verification secrets.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The email-provider guidance instructs the agent to access inboxes and extract verification codes without a clear warning that this exposes highly sensitive email content. In the context of a shopping and financial skill, email access is especially risky because inboxes may contain payment alerts, identity documents, and other authentication messages unrelated to the requested purchase.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The flow explicitly offers to open the user's mailbox in a browser and extract a GPCA one-time code on the user's behalf. Even if limited to a single email, this expands the skill's access into a highly sensitive channel and is not necessary for core card, wallet, or shopping functions described elsewhere. In a financial-account context, normalizing mailbox access for OTP retrieval increases the risk of over-collection and account compromise.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The auto-login path has the agent access the user's email and retrieve a verification code, but the flow does not present any explicit privacy notice about mailbox access, visibility into other messages, or handling of sensitive data. Because email is a broad, high-value repository, omitting a clear warning and consent boundary can mislead users about the extent of access and expose unrelated private information.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instruction mandates telling the user a Chinese message after setup completion. This imposes a specific language on users without offering a language choice or documenting a justified locale constraint, which conflicts with the language/locale policy for natural-language content.

Content

No source excerpt is available for this finding.