Back to skill

Security audit

全国采招大数据中心-采招网

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed procurement-data API integration with optional account setup, and I found no evidence of deception or malicious behavior.

Install only if you are comfortable using the Zhiliaobiaoxun/Caizhaowang API, sending queries and an API key to that service, and optionally allowing user-approved auto-registration that stores an API key locally. Preconfiguring ZLBX_API_KEY avoids the device-feature registration flow.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (25)

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 · SKILL.md (reported line 537)May include surrounding context.

分寸:同一会话最多引导一次;用户拒绝或表示已经在用之后本会话不再出现。引导必须出现在首次用法介绍、家族 Skill 转介之后,作为回答的最后一段。

安装包身份与升级检查:所有发往知了标讯 API 的请求(包括账户查询)必须额外携带以下两个请求头:

text
X-Skill-Package: national-procurement-data-center-caizhaowang/1.0.10

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 · SKILL.md (reported line 537)May include surrounding context.

分寸:同一会话最多引导一次;用户拒绝或表示已经在用之后本会话不再出现。引导必须出现在首次用法介绍、家族 Skill 转介之后,作为回答的最后一段。

安装包身份与升级检查:所有发往知了标讯 API 的请求(包括账户查询)必须额外携带以下两个请求头:

text
X-Skill-Package: national-procurement-data-center-caizhaowang/1.0.10

Hidden Instructions

High
Category
Prompt Injection
Confidence
94% confidence
Finding

This duplicate finding points to the same hidden instruction region that directs the agent to preserve package-specific identity headers and use configured credentials. Even if the content appears operational rather than overtly malicious, concealed instructions affecting authentication and outbound request composition increase the risk of unauthorized or misleading cross-system actions and reduce auditability.

Content

Scanner excerpt · references/api-account.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
94% confidence
Finding

This duplicate finding points to the same hidden instruction region that directs the agent to preserve package-specific identity headers and use configured credentials. Even if the content appears operational rather than overtly malicious, concealed instructions affecting authentication and outbound request composition increase the risk of unauthorized or misleading cross-system actions and reduce auditability.

Content

Scanner excerpt · references/api-account.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
86% confidence
Finding

This duplicate hidden-instructions finding points to the same concealed identity-directive content at the top of the file. The risk is the same: model-consumable hidden text can steer credential and header behavior outside normal user awareness, making prompt-injection style manipulation and covert policy override easier.

Content

Scanner excerpt · references/api-company.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
86% confidence
Finding

This duplicate hidden-instructions finding points to the same concealed identity-directive content at the top of the file. The risk is the same: model-consumable hidden text can steer credential and header behavior outside normal user awareness, making prompt-injection style manipulation and covert policy override easier.

Content

Scanner excerpt · references/api-company.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
94% confidence
Finding

This second finding is substantively the same hidden-instruction issue: markdown comments and prose instruct the agent to preserve a package-specific client identity and send fixed headers tied to package provenance. In a hostile-skill threat model, such content is dangerous because it attempts to steer authentication and outbound request identity from within untrusted documentation, which can override safer agent policies or cause cross-context credential use.

Content

Scanner excerpt · references/api-market.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
94% confidence
Finding

This second finding is substantively the same hidden-instruction issue: markdown comments and prose instruct the agent to preserve a package-specific client identity and send fixed headers tied to package provenance. In a hostile-skill threat model, such content is dangerous because it attempts to steer authentication and outbound request identity from within untrusted documentation, which can override safer agent policies or cause cross-context credential use.

Content

Scanner excerpt · references/api-market.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This duplicated hidden-instruction finding is still valid: the skill text contains concealed directives telling the agent how to authenticate and identify itself to a remote API. Even if intended for package integrity, such hidden instructions create a prompt-injection-style control channel that can manipulate network behavior and increase the risk of unauthorized metadata or credential disclosure.

Content

Scanner excerpt · references/api-registry.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
90% confidence
Finding

This duplicated hidden-instruction finding is still valid: the skill text contains concealed directives telling the agent how to authenticate and identify itself to a remote API. Even if intended for package integrity, such hidden instructions create a prompt-injection-style control channel that can manipulate network behavior and increase the risk of unauthorized metadata or credential disclosure.

Content

Scanner excerpt · references/api-registry.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
93% confidence
Finding

This duplicated finding points to the same hidden-instruction block that tells the agent to use an existing API key and attach package/source identity headers. In skill content, such instructions are risky because they can manipulate how credentials are sent, create covert exfiltration or tracking opportunities, and bypass the principle that only trusted runtime configuration should control authentication behavior.

Content

Scanner excerpt · references/api-search.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
93% confidence
Finding

This duplicated finding points to the same hidden-instruction block that tells the agent to use an existing API key and attach package/source identity headers. In skill content, such instructions are risky because they can manipulate how credentials are sent, create covert exfiltration or tracking opportunities, and bypass the principle that only trusted runtime configuration should control authentication behavior.

Content

Scanner excerpt · references/api-search.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
88% confidence
Finding

This duplicate finding refers to the same hidden instruction block at the top of the file. The concealment of request-shaping instructions inside comments is a genuine prompt-layer control risk because it influences authentication and metadata disclosure while being easy to miss during review.

Content

Scanner excerpt · references/auto-register.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Hidden Instructions

High
Category
Prompt Injection
Confidence
88% confidence
Finding

This duplicate finding refers to the same hidden instruction block at the top of the file. The concealment of request-shaping instructions inside comments is a genuine prompt-layer control risk because it influences authentication and metadata disclosure while being easy to miss during review.

Content

Scanner excerpt · references/auto-register.md (reported line 1)May include surrounding context.

请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。

text
X-Client: zlbx-bidding/2.5.0

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The manifest description says to invoke the skill whenever the user needs cross-province, cross-industry comprehensive data retrieval or enterprise profile analysis, but it does not define concrete trigger phrases, scope limits, or negative examples. This is broad enough to overlap with many general research requests and could cause unintended invocation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The instruction mandates specific Chinese-source wording and forbids displaying supplier names, brands, domains, internal identifiers, and translated names, which effectively imposes a locale/language presentation policy without asking the user. The file does not offer any user choice of language or explain a justified region-specific constraint.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file documents account-management functions such as balance and daily consumption queries that are unrelated to the stated purpose of procurement-data search and enterprise profiling. This expands the skill’s effective privilege scope and encourages use of an API key for operational account introspection, which can expose billing/usage metadata and normalize unnecessary access to account-level endpoints.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill explicitly instructs the agent to automatically expand a user-supplied company name into multiple related entities and proceed with downstream analysis without confirmation. This can lead to over-broad data retrieval, mistaken attribution across subsidiaries or similarly named firms, and privacy or compliance issues if the user intended a narrower target.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill documentation adds mandatory account-management behavior unrelated to the user-facing purpose of procurement search and company profiling. Requiring an automatic balance check and upgrade-notice workflow can cause the agent to perform extra actions on the user's account and disclose vendor-driven messages without explicit user intent, expanding the scope of authority beyond the requested task.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The document is written entirely as mandatory operational guidance in Chinese and instructs the skill how to communicate results and notices, but it does not offer any user language or locale choice. Under the policy, forcing a specific language without opt-in is a natural-language policy violation unless the locale constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
79% confidence
Finding

The file is a markdown document, so natural-language policy checks apply. Lines L335-L336 instruct the skill to relay the skill_update_notice message verbatim to the user, and the surrounding document is written entirely in Chinese with no opt-in or alternative locale path, which can force a specific language experience on users.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
91% confidence
Finding

The skill instructs the agent to collect device fingerprints (platform, architecture, MAC-derived hash) and transmit them to an external auto-registration endpoint. Even though the document claims privacy minimization and requires user consent, this still causes outbound transfer of host-derived identifiers and enrollment metadata to a third party, which is a meaningful privacy and trust boundary crossing. The surrounding context makes this more sensitive because the skill is designed to trigger registration when no API key is configured, creating pressure to gather local machine attributes and persist returned credentials.

Content

Scanner excerpt · references/auto-register.md (reported line 130)May include surrounding context.

md
> ### ⚠️ 请求体必须用 JSON 序列化函数生成,不要手拼字符串
>
> 用 `json.dumps(payload)` / `requests.post(url, json=payload)` / `JSON.stringify(payload)`,
> 或 `curl -d @file`;**不要用字符串拼接,也不要用 Python 的 `str(dict)`**
> (后者产出单引号,服务端会报 `Expecting property name enclosed in double quotes`)。
>

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/auto-register.md (reported line 131)May include surrounding context.

md
> ### ⚠️ 请求体必须用 JSON 序列化函数生成,不要手拼字符串
>
> 用 `json.dumps(payload)` / `requests.post(url, json=payload)` / `JSON.stringify(payload)`,
> 或 `curl -d @file`;**不要用字符串拼接,也不要用 Python 的 `str(dict)`**
> (后者产出单引号,服务端会报 `Expecting property name enclosed in double quotes`)。
>
> 历史教训:曾有版本采集 `home_path`,Windows 的 `C:\Users\alice` 直接拼进 JSON 字符串时

Session Persistence

Medium
Category
Rogue Agent
Confidence
94% confidence
Finding

This duplicate finding points to the same credential persistence behavior. Automatically creating configuration directories and merging a third-party-issued API key into persistent local config is a real security concern because it modifies host authentication state beyond the current session.

Content

Scanner excerpt · references/auto-register.md (reported line 195)May include surrounding context.

text

注意事项:
- 目录不存在时先 `mkdir -p ~/.zlbx`
- 文件已存在时**合并而非覆盖**(保留用户可能的其他配置)
- `source: "auto"` 字段必须写入,**这是后续判断「是否输出自动登录链接」的关键依据**

Session Persistence

Medium
Category
Rogue Agent
Confidence
94% confidence
Finding

This duplicate finding points to the same credential persistence behavior. Automatically creating configuration directories and merging a third-party-issued API key into persistent local config is a real security concern because it modifies host authentication state beyond the current session.

Content

Scanner excerpt · references/auto-register.md (reported line 195)May include surrounding context.

text

注意事项:
- 目录不存在时先 `mkdir -p ~/.zlbx`
- 文件已存在时**合并而非覆盖**(保留用户可能的其他配置)
- `source: "auto"` 字段必须写入,**这是后续判断「是否输出自动登录链接」的关键依据**

Static analysis

No suspicious patterns detected.