Back to skill

Security audit

政策资产联动日报

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed market-report generator; its main caveat is that it searches public market/news data and the generated HTML can contact TradingView when opened.

Install this only if you are comfortable with the agent browsing public news and market sources and with the generated report contacting TradingView when opened. For offline or privacy-sensitive use, remove or disable the TradingView widget and verify market data independently because the report is research material, not investment 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
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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/report_template.html (reported line 401)May include surrounding context.

html
</style>
</head>
<body data-theme="light">
    <!-- Language Toggle -->
    <div class="lang-toggle">
        <button class="lang-btn active" onclick="switchLang('zh')">中文</button>
        <button class="lang-btn" onclick="switchLang('en')">EN</button>

Hidden Instructions

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This is a duplicate match of the same hidden-instruction issue: the comment embeds actionable generation-time instructions to fetch external financial data. In agent contexts, such hidden instructions can bypass normal policy checks or cause unapproved browsing/data collection when the template is processed.

Content

Scanner excerpt · assets/report_template.html (reported line 437)May include surrounding context.

html
</div>

        <!-- ===== Key Prices Dashboard ===== -->
        <!-- 每次生成报告时,搜索以下品种的最新价格并填入:
             国际黄金(XAU/USD)、上金所Au9999、沪金主力(SHFE)、黄金T+D、周大福足金饰品零售价、
             布伦特原油、WTI原油、比特币、以太坊、
             美元指数(DXY)、在岸/离岸人民币汇率、伦铜、

Hidden Instructions

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This is a duplicate match of the same hidden-instruction issue: the comment embeds actionable generation-time instructions to fetch external financial data. In agent contexts, such hidden instructions can bypass normal policy checks or cause unapproved browsing/data collection when the template is processed.

Content

Scanner excerpt · assets/report_template.html (reported line 437)May include surrounding context.

html
</div>

        <!-- ===== Key Prices Dashboard ===== -->
        <!-- 每次生成报告时,搜索以下品种的最新价格并填入:
             国际黄金(XAU/USD)、上金所Au9999、沪金主力(SHFE)、黄金T+D、周大福足金饰品零售价、
             布伦特原油、WTI原油、比特币、以太坊、
             美元指数(DXY)、在岸/离岸人民币汇率、伦铜、

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The description and trigger language are broad enough to match generic report-generation or macro-briefing requests, which can cause the skill to activate outside a narrowly intended context. Over-broad invocation increases the chance of unintended web access, data collection, and file generation when a user did not clearly request this specialized workflow.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instructions require the report to be bilingual in Chinese and English and repeatedly mandate a Chinese/English toggle, which imposes a locale/language format by default. Because no user choice or opt-in is offered, this is a natural-language policy issue under the language/locale rule.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill instructs the agent to write an HTML file to the workspace and present it without any prior disclosure or confirmation to the user. Silent file creation can surprise users, create unwanted artifacts, and in multi-step workflows may expose sensitive fetched content or persistent outputs beyond what the user expected.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The template loads a third-party TradingView script from an external domain, which means opening the generated HTML causes network access and execution of remote JavaScript outside the control of the report author. In a skill described as producing a single-file report, this breaks self-containment and creates supply-chain, privacy, and integrity risk because the remote provider can track viewers or change delivered content.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

The report causes third-party/network data access via the embedded market widget and instructs population of prices via search, but the user-facing template does not clearly warn that viewing or generating the report may contact external services. This can mislead users in privacy-sensitive or air-gapped environments and may violate expectations around local-only document generation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The instruction to mark unverifiable content as "待核实" imposes a specific language for output/status labeling in a general guidance document. Because the file does not state that the skill is China-specific or that Chinese output is optional, this may violate the language/locale policy requiring user choice or clear justification.

Content

No source excerpt is available for this finding.