Back to skill

Security audit

生物医药专利检索与组合研究(Biopharma Patent Landscape Research)

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a patent-research workflow, but reviewers should check it carefully because its legacy instructions can unexpectedly restructure Excel files and its install uses broad shared dependencies.

Install only after reviewing the Excel-writing behavior. Use copies of workbooks, explicitly choose strict-template when schema must not change, confirm that external patent/search queries are acceptable for the company data, and prefer pinned dependencies with runtime isolation.

Vulnerability Patterns
  • 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
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (2)

T08 · Insecure Dependencies

Warning
Location
skill.manifest.json:5
Finding

Unbounded Dependencies Installed in a Shared Runtime Environment

Content
View full analysis
=3.1.0", "requests>=2.31.0" ], "isolated_env": false } ``` ### Technical Analysis The manifest permits installation of any future `openpyxl` or `requests` release satisfying the specified minimum versions. It does not use exact versions, integrity hashes, or a lock file. Consequently, package contents may change after the Skill has been reviewed. The risk is increased by `"isolated_env": false`, which installs or loads these packages in a shared runtime. A compromised, malicious, or incompatible future dependency could therefore affect other Skills or Agent components using the same environment. The reviewed Skill instructions use managed tools such as `web.search`, `patent.search`, and `patent.fetch` for external access. No inspected implementation uses the `requests` package directly. Its inclusion therefore provides network-capable functionality beyond the demonstrated minimum requirements. This finding does not establish that the current official `openpyxl` or `requests` packages are malicious. The vulnerability arises from unrestricted future resolution, unnecessary dependency scope, and lack of runtime isolation. ### Attack Path 1. An attacker compromises a future dependency release or an applicable package distribution channel. 2. The malicious release retains a version satisfying `openpyxl>=3.1.0` or `requests>=2.31.0`. 3. The Skill is installed, rebuilt, or updated without a locked dependency set. 4. The package resolver downloads the compromised release. 5. Malicious package code executes during installation or when imported. 6. Because isolation is disabled, the code runs with the Agent process's filesystem, network, and env ...[truncated 727 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
references/legacy-company-patent-workflow.md:1219
Finding

Mandatory Formatter Modifies Workbook Content Beyond the Authorized Scope

Content
View full analysis
1 else False ) if is_sheet2 and sheet2_serial: _insert_serial_col(ws) for r in range(1, ws.max_row + 1): is_header = r == 1 for c in range(1, ws.max_column + 1): cell = ws.cell(row=r, column=c) val = cell.value font = _get_font(val, is_header=is_header) cell.font = font if is_header: cell.fill = copy(HEADER_FILL) ...[truncated 3229 chars]
Remediation
View remediation
Vulnerability Patterns
  • 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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (15)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 将 [references/legacy-company-patent-workflow.md](references/legacy-company-patent-workflow.md) 中的历史企业清单仅视为起点,绝不可将其视为当前事实。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- 将 [references/legacy-company-patent-workflow.md](references/legacy-company-patent-workflow.md) 中的历史企业清单仅视为起点,绝不可将其视为当前事实。

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The document gives mutually contradictory file-handling rules: it forbids adding columns or sheets, then later instructs the agent to append columns and alter workbook structure. In an automated skill that writes Excel files, this inconsistency can cause destructive file changes, column shifts, broken downstream pipelines, and silent corruption of user data.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill first requires preserving workbook structure, then mandates inserting a new first column into Sheet2. Inserting a leading column is especially dangerous because it shifts every downstream index and formula reference, potentially corrupting templates, automations, and user expectations in ways that are hard to detect immediately.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

The manifest suggests activation via 'research a biopharma patent portfolio or technology landscape,' but does not define specific trigger phrases, scope boundaries, or negative examples. This can make it unclear when the skill should activate versus when a general research request should be handled by another skill.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description explicitly defines the skill as a Chinese-language workflow and later instructions repeatedly require Chinese summaries and Chinese labels. Because the file does not offer user opt-in or an alternative language choice, this is a natural-language locale policy concern under the language/locale rule.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The instructions direct the agent to modify Excel files and maintain local caches on disk, but they do not clearly warn users that local files will be altered and cached artifacts created. In practice this can cause unintended overwrites, residual sensitive data storage, and confusion about where derived patent data and fetched documents are persisted.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The workflow materially expands from patent-landscape retrieval into target extraction, assignee inference, indication derivation, and AI-generated summaries. That scope creep increases the chance the agent will perform unintended data transformations or invoke additional tools and models not anticipated by the user, which can lead to unauthorized processing and misleading outputs.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The workflow instructs the agent to call unrelated MCP skills to infer disease indications from targets, which exceeds the stated patent-landscape use case. This broadens data access and tool permissions unnecessarily, creating avoidable exposure to overcollection, cross-tool data leakage, and unreliable medically flavored inferences presented as structured outputs.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The manifest description is broad and does not define clear activation boundaries, so an agent may invoke this skill for loosely related requests involving patents, companies, or pharma research. Overbroad trigger scope can cause unnecessary access to external resources or handling of sensitive business-research tasks when the user did not explicitly request this specialized workflow.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description is written in Chinese and effectively constrains interaction language without any indication that this is conditional on user preference. Forcing a language can mislead users, degrade consent and comprehension, and increase the chance that outputs are misinterpreted in a legal or compliance-sensitive patent-analysis context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
71% confidence
Finding

The display name and short description are presented in Chinese, while the default prompt is in English. This may implicitly impose a language choice or create inconsistent language behavior without documenting user preference handling.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The workflow uses web.search, patent.search, and patent.fetch to query external services using company names and patent identifiers, but the markdown does not prominently warn that user-provided inputs and related query data will be sent to external tools/services. For a markdown skill description, this is a missing disclosure about behavior that could affect privacy or data handling.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

The Step 4 text says it does not call any online interface and is pure local logic. The module interface later declares 'python.run # Step 3/4/5/7', which is not itself an online patent interface, but it does contradict the impression that Step 4 is only a lightweight in-place rule step rather than code execution via a separate tool.

Content

No source excerpt is available for this finding.