Back to skill

Security audit

biomarker-investigation-zhcn

Security checks for vulnerabilities and agentic risk

Overview

The skill is generally coherent for biomarker research, but its setup and runtime instructions create avoidable API-key exposure and automatic external service calls that users should review before installing.

Install only if you are comfortable connecting Claude Code to PatSnap with your account. Prefer a safer credential mechanism than a URL query string if PatSnap or your MCP client supports one, restrict and rotate the API key, and be aware the skill instructs the agent to contact PatSnap on every load for a connectivity check.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:35
Finding

API Key Exposed Through URL Query Parameter

Content
View full analysis
Remediation
View remediation

other

Note
Location
SKILL.md:57
Finding

Mandatory External Connectivity Probe Exceeds Minimum Necessary Network Access

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill name explicitly indicates zhcn, suggesting a Chinese-language variant, but the file provides no user-facing option to choose another language or consent to locale-specific behavior. Under the policy rule, forcing a specific language without opt-in is a natural-language policy concern unless clearly documented as a justified region-specific constraint.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill’s advertised purpose is limited to biomarker-related academic and patent literature search, but the instructions expand into patent infringement risk assessment and broader R&D/commercial intelligence tasks. This scope expansion can cause the agent to access and synthesize more sensitive or off-purpose data than the user reasonably expects, increasing the risk of unauthorized analysis and data overreach.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill exposes access to news, drug deal, and organization/company intelligence that are not necessary for the stated biomarker literature and patent search function. Unnecessary tool exposure broadens the attack surface and creates opportunities for unintended data collection or mission creep beyond the user’s requested task.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The guidance says to preserve the user's language preference in queries, but the overall skill is written as a Chinese-only skill and does not clearly offer users a language choice for responses. Combined with the zhcn designation, this creates an implicit fixed locale behavior rather than an explicit opt-in or documented justified limitation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

L138 给出的原则是优先使用 MCP,只有在 MCP 无法满足需求时才考虑其他来源。L253-L289 则细化为在所有 MCP 检索完成后,只要结果严重不足或用户要求最新进展即可使用网络搜索;这不完全等同于“MCP 无法满足需求”,造成文档内部对外部来源使用门槛的表述不一致。

Content

No source excerpt is available for this finding.