Ae1
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md 默认再用 `scripts/render_report.py` 生成一份可分享的 HTML 版报告并告知保存路径(详见 report-template.md「HTML 报告导出」)。
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mainly a company due-diligence assistant, but it needs review because it hides request-control instructions and persists API credentials while using device-derived registration data.
Install only if you are comfortable giving this skill access to a Zhiliaobiaoxun API key, allowing it to store that key in ~/.zlbx/config.json, and, if you choose automatic registration, sending platform, architecture, and a hashed MAC address to the vendor. Prefer preconfiguring ZLBX_API_KEY if you do not want the auto-registration device flow.
Referenced artifact was not completely inspected
默认再用 `scripts/render_report.py` 生成一份可分享的 HTML 版报告并告知保存路径(详见 report-template.md「HTML 报告导出」)。
Referenced artifact was not completely inspected
默认再用 `scripts/render_report.py` 生成一份可分享的 HTML 版报告并告知保存路径(详见 report-template.md「HTML 报告导出」)。
This duplicate finding identifies the same hidden comment-based instruction block that directs API request headers and update acknowledgement behavior. Because the instructions are concealed rather than declared structurally, they reduce auditability and increase the risk of covert behavior being introduced or modified without obvious review.
安装包身份与升级检查:所有发往知了标讯 API 的请求(包括账户查询)必须额外携带以下两个请求头:
X-Skill-Package: enterprise-due-diligence-shuidixinyong/1.0.7
This duplicate finding identifies the same hidden comment-based instruction block that directs API request headers and update acknowledgement behavior. Because the instructions are concealed rather than declared structurally, they reduce auditability and increase the risk of covert behavior being introduced or modified without obvious review.
安装包身份与升级检查:所有发往知了标讯 API 的请求(包括账户查询)必须额外携带以下两个请求头:
X-Skill-Package: enterprise-due-diligence-shuidixinyong/1.0.7
This is effectively the same hidden-instruction issue duplicated by the scanner: the package author is attempting to control request identity and credential handling from within skill content. In a system where agents consume package text, such hidden directives can override expected routing or cause unauthorized outbound requests with sensitive headers, especially because the content also insists on preserving package-specific identity values.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This is effectively the same hidden-instruction issue duplicated by the scanner: the package author is attempting to control request identity and credential handling from within skill content. In a system where agents consume package text, such hidden directives can override expected routing or cause unauthorized outbound requests with sensitive headers, especially because the content also insists on preserving package-specific identity values.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate hidden-instructions finding refers to the same concealed request-identity block. Even if intended for package integrity, placing execution-directive content in hidden comments creates an adversarial pattern because the model may follow instructions that are opaque to users.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate hidden-instructions finding refers to the same concealed request-identity block. Even if intended for package integrity, placing execution-directive content in hidden comments creates an adversarial pattern because the model may follow instructions that are opaque to users.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate hidden-instructions finding is also valid: the commented block contains authoritative request-identity directives that the model may follow despite being invisible to end users. In a due-diligence skill, covert request-header manipulation is especially concerning because it governs how external authenticated API calls are made and attributed.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate hidden-instructions finding is also valid: the commented block contains authoritative request-identity directives that the model may follow despite being invisible to end users. In a due-diligence skill, covert request-header manipulation is especially concerning because it governs how external authenticated API calls are made and attributed.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate finding identifies the same hidden-instruction pattern: concealed text instructs the agent to preserve and send credential-bearing identity headers. In a security-sensitive environment, hidden directives increase the risk of prompt injection and unauthorized request shaping, because the model may follow adversarial packaging instructions that are invisible to normal users.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
This duplicate finding identifies the same hidden-instruction pattern: concealed text instructs the agent to preserve and send credential-bearing identity headers. In a security-sensitive environment, hidden directives increase the risk of prompt injection and unauthorized request shaping, because the model may follow adversarial packaging instructions that are invisible to normal users.
请求身份:使用已配置的 API Key,并保留本包的 X-Client,携带下列完整身份头;不得沿用其它包的版本或来源。
X-Client: company-intel/1.0.2
Code contains obfuscation (base64, hex encoding with execution). This is often used to hide malicious functionality.
# 知了标讯白色 logo(299x96 PNG base64 内嵌,保证报告离线/打印/转发时不裂图)
_LOGO_B64 = "iVBORw0KGgoAAAANSUhEUgAAASsAAABgCAYAAABFTFSvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABK6ADAAQAAAABAAAAYAAAAACurZhBAAA2V0lEQVR4Ae2dB5xU1fXHzzZ6752ldxHpHTtqTKJJjEmMGkvKP/aIRk0UayzYxZJouokaYyzRiKCAoIB0kN47LB0WFnZh9//9vZmHb4eZnZndmWVW3vl8fjOv3fvuO+++3z3nvHvvM/PF14CvAV8DFUADafbM2OusKOMCKywoqgDlDV/ENIpemJ5vGYW5VmjbrChtlaXZYks7usRuumlb+ET+Vl8DvgYqkgYyzdJ6WqWskXa0IhU7UlnTzLgiK4K8jh7litK22FPPT4O03rb8zAk26hc5kVL6230N+BpIbQ1kWpEdsYJ8Hu4jqV3SeEuXlpZBkhaWmf49s/RvW9aRFfbs2D9ZweF/2i23bIo3O/94XwO+Bk6sBtJP7OmTeHZZV0JBgdmRI1mWnt7V0jIesozK7+H6/shGj66UxLP7Wfsa8DWQYA18fcnKq6iAWxggrbS0XpDWc1a34dP2zDMtvIf5y74GfA2krgZODrJy9e+SVuHROpae8ROC8i/bsy/1cHf7/74GfA2krgZOLrJy70NhoWJ0lXENz8Tces6eHHuqu8v/9zXgayA1NXBykpXuhayswkJeMKQPtHR7greGnVLzFvml8jXga0AaOHnJSlfvENbRLEtLG2BphaPtiSfqabMvvgZ8DaSeBk5ustL9EGE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 27 chars]
The skill explicitly states it will write HTML reports to a local directory, but it does not declare any tool scope or allowed-tools restrictions for file writing. This weakens least-privilege boundaries: if the runtime grants broader filesystem access than intended, the skill could write files in unexpected locations or be repurposed to create unsafe artifacts without clear policy constraints.
The activation rules are intentionally broad, including cases where the user does not explicitly ask for due diligence and only expresses a general desire to know whether a company is trustworthy. Overbroad triggering can cause the agent to invoke this skill unnecessarily, leading to unintended external data disclosure, unexpected quota consumption, and surprising autonomous behavior in benign conversations.
The document presents the skill instructions entirely in Chinese and does not indicate that users may choose another language or locale. Per the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is clearly documented and justified.
The skill’s documented behavior expands from enterprise due-diligence into account provisioning, trial activation, and billing-related flows. That scope expansion is security-relevant because it enables credential acquisition and account lifecycle actions not implied by the manifest, increasing attack surface and the chance of unexpected data handling or user manipulation.
The skill instructs collection of device fingerprinting attributes such as platform, CPU architecture, and a MAC-derived hash, which are unrelated to due-diligence analysis. Even with hashing, this is persistent device tracking data sent to a third party, creating privacy risk and a capability mismatch between stated purpose and actual behavior.
The document explicitly instructs posting collected device features to an external registration endpoint. Exfiltrating host-derived identifiers to a third-party service is dangerous in this context because the skill is supposed to perform company due-diligence, not collect and transmit device telemetry for account creation.
> ### ⚠️ 请求体必须用 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`)。
>
The alternate curl-based instruction is part of the same external transmission workflow and reinforces that local-collected data should be sent to a remote service. The risk is not the serialization method itself, but the unauthorized purpose expansion into third-party device-data transmission.
> ### ⚠️ 请求体必须用 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 字符串时
Persistently writing API keys to local configuration and then using them for future sessions introduces credential-handling behavior unrelated to due-diligence analysis. This increases the blast radius of compromise because secrets are stored on disk and reused automatically, potentially without the user understanding the persistence model.
This duplicate session-persistence finding points to the same instruction set for creating ~/.zlbx and merging stored credentials. The danger is the same: persistent secret storage and automatic reuse from a skill whose declared purpose does not require local auth-state management.
注意事项:
- 目录不存在时先 `mkdir -p ~/.zlbx`
- 文件已存在时**合并而非覆盖**(保留用户可能的其他配置)
- `source: "auto"` 字段必须写入,**这是后续判断「是否输出自动登录链接」的关键依据**
This duplicate session-persistence finding points to the same instruction set for creating ~/.zlbx and merging stored credentials. The danger is the same: persistent secret storage and automatic reuse from a skill whose declared purpose does not require local auth-state management.
注意事项:
- 目录不存在时先 `mkdir -p ~/.zlbx`
- 文件已存在时**合并而非覆盖**(保留用户可能的其他配置)
- `source: "auto"` 字段必须写入,**这是后续判断「是否输出自动登录链接」的关键依据**
The file is entirely written as a reporting template in Chinese and instructs a fixed output format, including statements like producing the report in Markdown in-chat. There is no indication that the user may choose another language, which creates a natural-language policy concern if the skill forces a specific locale by default.
The template instructs the agent to create a JSON temp file and run a local Python script to generate an HTML report by default. That expands the skill from producing due-diligence analysis into local file creation and code execution, which increases attack surface and can cause unintended filesystem side effects without explicit user consent.