Back to skill

Security audit

A Share Portfolio

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed A-share portfolio analysis skill that asks users for holdings and uses stock-data tooling for market data, with no evidence of hidden persistence, exfiltration, or destructive behavior.

Install only if you are comfortable sharing portfolio details such as stock codes, position sizes, cost basis, and dates in the current chat. For privacy, provide only the minimum holdings information needed for the analysis and avoid account identifiers or brokerage credentials.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Vague Triggers

Medium
Confidence
95% confidence
Finding
The trigger phrases are broad enough to match common conversational finance requests, which can cause the skill to activate when the user did not clearly intend a portfolio-analysis workflow. In this context, unintended activation is more dangerous because the skill handles sensitive holdings data and may prompt for or process financial positions that the user did not mean to expose to this skill.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill description does not clearly warn users that their portfolio holdings are sensitive financial data or that those details may be sent to an external data tool during analysis. That creates a meaningful privacy and consent risk, since users may disclose positions, cost basis, and trade dates without understanding how the data is processed.

Natural-Language Policy Violations

Low
Confidence
95% confidence
Finding
This markdown file contains user-facing natural-language content exclusively in Chinese, but does not state that the skill is China-specific or offer any language/locale choice. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Static analysis

No suspicious patterns detected.