Back to skill

Security audit

TradingView技术指标分析助手(20260328V3)

Security checks for vulnerabilities and agentic risk

Overview

This skill is packaged as a technical-analysis helper but actually operates as a remote Prana client that handles and stores API credentials, so users should review it before installing.

Install only if you are comfortable with a remote Prana service receiving your prompts and with this skill handling API credentials. Prefer pre-provisioned, narrowly scoped credentials; avoid global secrets where possible; disable automatic key fetching and plaintext writes if supported; and do not pass proprietary trading strategies or sensitive account data unless the remote service is trusted.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
scripts/prana_skill_client.js:207
Finding

Automatic Disclosure of Ambient Identity Variables to a Remote Service

Content
View full analysis
str: """ Assemble the complete GET /api/v1/api-keys URL. """ root = base_url.rstrip("/") path = f"{root}/api/v1/api-keys" q: Dict[str, str] = {} aid = (os.environ.get("ACCOUNT_ID") or os.environ.get("PRANA_ACCOUNT_ID") or "").strip() if aid: q[" ...[truncated 3861 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/prana_skill_client.js:49
Finding

API Secret Keys Are Persisted in Plaintext Without Explicit Access Controls

Content
View full analysis
None: """Write public_key:secret_key to config/api_key.txt.""" CONFIG_DIR.mkdir(parents=True, exist_ok=True) lines = [ "# Auto- ...[truncated 3918 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:65
Finding

Runtime Dependencies Are Installed Without Version or Integrity Pinning

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (21)

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is presented as a Python technical-analysis toolkit, but the instructions describe remote service invocation, credential acquisition and storage, configuration parsing, and result polling, with Node.js as the preferred execution path. Such description-behavior divergence is risky because it obscures the real trust boundary and can trick users into authorizing sensitive actions they did not expect.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is presented as a Python technical-analysis toolkit, but the instructions describe remote service invocation, credential acquisition and storage, configuration parsing, and result polling, with Node.js as the preferred execution path. Such description-behavior divergence is risky because it obscures the real trust boundary and can trick users into authorizing sensitive actions they did not expect.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The documentation instructs the user to fetch secret/public keys from an external endpoint and install them as global environment variables, then restart the gateway to activate them. In the context of a purported indicator-analysis skill, this is highly dangerous because it introduces unnecessary credential handling, persistent secret exposure, and broader platform compromise risk if the endpoint, skill, or host is untrusted.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
安装完成后执行:`node scripts/prana_skill_client.js -m "…" [-t thread_id]`

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The file implements a remote proxy client for Prana and forwards user input to an external service, while the skill is ներկայացced as a local TradingView/Python technical-analysis toolkit. This mismatch is security-relevant because users may supply sensitive market data, prompts, or credentials under the assumption processing is local, when the code actually exfiltrates that data to a third-party endpoint.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The code automatically discovers API credentials from a remote service and can persist them to local files without explicit confirmation. This expands the skill's privileges beyond its stated technical-analysis purpose and creates credential-handling risk: secrets may be written to disk, reused unexpectedly, or exposed through poor filesystem hygiene, backups, or source control mistakes.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill forwards user messages and invocation parameters to an external remote agent service, which is outside the expectations set by a local TradingView analysis tool. In this context, the hidden network execution path is especially dangerous because users may provide proprietary trading strategies, market data, or sensitive instructions that are silently transmitted to a third party.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file presents the skill as a local TradingView technical analysis tool, but its primary function is to forward user input to a remote Prana service for execution. This creates a material trust-boundary violation: user data leaves the local environment and is processed by an undisclosed external service, which is especially risky when the package metadata implies local/offline analysis.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The client automatically fetches API keys from a remote endpoint and, by default, persists them to disk under config/api_key.txt, with optional JSON persistence as well. For a purported technical-indicator skill, silent credential acquisition and storage is unrelated functionality that expands attack surface, risks credential leakage, and can create unauthorized or non-transparent account binding.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill declares no explicit tool/permission scope, yet its documented workflow requires network access, reading environment variables, and persistent configuration changes. This lack of least-privilege scoping is dangerous because a consumer may trust it as a simple analysis tool while it performs credential retrieval and system-wide configuration actions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill claims to be a local technical-analysis/visualization tool, but the workflow requires accessing an external API to retrieve keys and then executing through a remote client. In this context, the mismatch increases danger because users seeking offline analytics may unknowingly expose data and trust a remote service instead.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill tells users to fetch secret and public keys and configure them for ongoing use without any guidance on secure handling, storage, rotation, or exposure risks. This is dangerous because users may leak long-lived credentials through shell history, logs, shared environments, or broad process inheritance.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill is marketed as a Python analysis toolkit, yet users are told to prefer a Node.js client for execution. While not as severe as direct secret handling, this inconsistency is security-relevant because it masks the true execution surface and may cause users to install and run an unexpected client stack with different dependencies and risks.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest/description claims a Python technical-analysis toolset, but this file is a Node.js wrapper for remote invocation rather than local indicator computation. That discrepancy undermines informed consent and review, making it easier to hide unexpected execution paths, dependencies, and data flows from users and auditors.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Fetching API credentials over the network and saving them locally by default, without explicit user approval, is unsafe secret-management behavior. Even if the transport is HTTPS, automatically persisting secrets to project files increases the chance of leakage through local compromise, backups, logs, or accidental repository commits.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

顶部文档把该脚本描述为“薄客户端(无业务逻辑)”,但实际代码不仅通信,还负责解析 SKILL.md frontmatter、构造调用内容、选择多种凭证来源、自动请求创建密钥并持久化到本地文件。这不是单纯的传输层封装,文档与实现意图存在直接偏差。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The module docstring is entirely in Chinese and presents the skill behavior only in that language, with no indication that users can choose another language or locale. This creates a natural-language policy issue because it imposes a specific language context without documented opt-in or justification.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill includes remote account/API-key management logic that is not directly necessary for local technical analysis functionality. Even if intended for usability, embedding account bootstrap behavior into a skill client can enable unexpected identity creation, hidden service enrollment, and credential handling risks that users would not reasonably expect from this skill context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The natural-language instructions and metadata are entirely in Chinese, which effectively forces a specific language for users without any opt-in or explanation. Under the stated policy, language constraints should either be optional or clearly justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script's visible error/help/status messages are written in Chinese, and there is no option to select another language or locale. This creates a language-policy issue if users are expected to interact in other languages and have not opted into Chinese-only output.

Content

No source excerpt is available for this finding.