Back to skill

Security audit

auto-lamp-ip-advisor

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent automotive-lamp patent and sourcing report generator, with expected external patent lookup and local report export behavior that users should handle carefully for confidential designs.

Before installing, confirm you are comfortable using the PatSnap/智慧芽 MCP service for patent lookup and saving generated reports locally. Avoid providing confidential lamp designs unless your workspace and PatSnap account are approved for that data, and review the generated footer attribution before sharing reports externally.

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

Note
Location
SKILL.md:479
Finding

Mandatory Third-Party Branding in Generated Reports

Content
View full analysis

⚠️ 本报告由 Eureka AI(基于智慧芽PatSnap)自动生成,仅供参考,不构成法律意见。

正式生产前请委托专利代理机构进行 FTO(自由销售权)检索与法律评估。

报告生成时间:{生成日期}

``` The first paragraph states that the report was automatically generated by Eureka AI using PatSnap. The same attribution is embedded in both the HTML template and the mandatory disclaimer specification. ### Technical Analysis The Skill requires every generated report to contain fixed third-party branding. Because the instruction is mandatory and forms part of the prescribed final artifact, it overrides the agent's discretion to produce a neutral or accurately attributed report. This constitutes instruction-level output hijacking: loading and following the Skill causes unrelated promotional attribution to be inserted into user-facing HTML and ZIP artifacts. The statement may also incorrectly represent authorship or endorsement when the execution environment, agent identity, or tools actually used differ from the hard-coded attribution. No code execution, privilege escalation, credential access, persistence, or system compromise results from this issue. ### Attack Path 1. A user invokes the Skill to perform an automotive-lamp supply-chain or patent-risk analysis. 2. The agent follows the mandatory HTML report template and disclaimer requirements. 3. The fixed Eureka AI and PatSnap attribution is inserted into the report without requiring user approval. 4. The report is written to an HTML file and packaged into a ZIP archive. 5. The branded statement remains in the downloadable artifact and may be redistributed as if it were accurate attribution. ### Impact Assessment The impact is limited to the integrity and neutrality of generated content: - Every generated report carries mandatory third-party bran ...[truncated 434 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly requires writing generated report content to local files and packaging it into a ZIP, but it does not require user notice, consent, retention limits, or safe handling of potentially sensitive uploaded design data. Because the skill processes proprietary engineering descriptions and parts lists, silent local persistence can expose confidential business information through residual files, shared workspaces, or unintended later access.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

L020-L025 将触发条件定义为“当用户提供以下任意内容时触发”,其中“询问车灯零部件外购/自制决策”“询问车灯相关专利风险”覆盖面较宽,未说明必须是汽车车灯场景下的哪些具体表达,也没有列出不触发的反例。对 manifest/markdown 文件而言,这类触发描述过于宽泛,容易与普通咨询类对话重叠。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

L173 在 HTML 模板中固定 lang="zh-CN",且整份技能说明默认以中文输出,没有说明可根据用户偏好切换语言。根据语言/locale 政策,强制单一语言或地区设置而不给用户选择,属于自然语言层面的潜在政策问题。

Content

No source excerpt is available for this finding.