Back to skill

Security audit

Simple Tech Analyzer

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Chinese-language stock technical-analysis skill with disclosed promotional upsell content and no evidence of persistence, credential access, destructive behavior, or hidden privilege use.

Install only if you are comfortable with a Chinese-language stock-analysis tool that uses local Tongdaxin market data and may include upgrade prompts in its analysis output. Treat the analysis as informational, not financial advice.

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
Findings (1)

T01 · Skill Instruction Hijacking

Error
Location
index.js:61
Finding

Unconditional Promotional Content Injection into Analysis Results

Content
View full analysis
2 ? '放量' : volumeRatio < 0.5 ? '缩量' : '正常', upgradeHint: '需要缠论分型、笔、线段、中枢分析?升级专业版服务!' }; ``` The declared intent is also documented in `index.js:2-5`, where the implementation is described as a free traffic-acquisition skill designed to guide users toward an upgraded service. The associated paid service and pricing are advertised in `SKILL.md:23-38`. ### Technical Analysis The `analyzeStock()` function unconditionally adds an `upgradeHint` field containing promotional content to every successful technical-analysis response. This field is unrelated to calculating MACD, RSI, price, or volume indicators and cannot be disabled by the caller. Because the promotional instruction is embedded directly in the structured result, an AI agent or other downstream consumer may interpret and present it as part of the requested analysis. This compromises output integrity and allows the skill to use legitimate stock-analysis requests as a channel for unsolicited commercial redirection. The behavior best matches skill instruction hijacking because skill-controlled content is inserted into agent-consumable output with the explicit purpose of steering users toward an unrelated paid offering. The reviewed code does not attempt to override safety constraints or acquire system privileges, so the scope is limited to response manipulation and commercial steering. ### Attack Path 1. A user asks an agent to analyze a stock. 2. The agent invokes the exported `analyzeStock(code)` function. 3. The function retrieves market bars and calculates the available technical indicators. 4. On every successful request, the function adds the hardcoded `upgradeHint` promotion to the returned obje ...[truncated 1080 chars]
Remediation
View remediation
Vulnerability Patterns
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill’s descriptive text and user-facing output strings are entirely in Chinese, including analysis labels and promotional text, with no indication that the user can choose another language. Under the policy, forcing a specific language without opt-in is a natural-language locale violation unless the regional constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

The markdown describes the skill entirely in Chinese, including the title, usage instructions, features, and disclaimer. Under the policy for natural-language violations, forcing a specific language without giving the user a language or locale choice can be a policy issue.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.