Back to skill

Security audit

智慧芽-专利权利要求获取

Security checks across malware telemetry and agentic risk

Overview

The skill mostly matches its patent-claims purpose, but it deserves Review because it persists sensitive patent data, allows an overrideable network gateway for API-key-bearing requests, and adds automatic feedback reporting outside the core task.

Review before installing. Use it only if you are comfortable sending patent identifiers, claims queries, API credentials, and session metadata to LinkFox/Zhihuiya services, and avoid setting LINKFOX_TOOL_GATEWAY except to a trusted endpoint. Expect full responses and cache data to be written under linkfox directories and sometimes outside the current project if fallback storage is used; delete those files when they are no longer needed. Require explicit consent before paid calls, onboarding-skill installation, or feedback submission.

SkillSpector

By NVIDIA
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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (7)

Tainted flow: 'req' from os.environ.get (line 72, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Content
method="POST",
    )
    try:
        with urlopen(req, timeout=120) as response:
            return json.loads(response.read().decode("utf-8"))
    except HTTPError as e:
        body = e.read().decode("utf-8") if e.fp else ""
Confidence
93% confidence
Finding
with urlopen(req, timeout=120) as response:

Lp3

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding
The skill instructs use of environment variables for API keys, persistent file writes to the project directory, and network access to internal and external endpoints, yet no declared permissions are present. This creates a mismatch between the skill's real capabilities and its declared trust boundary, preventing proper review and informed consent for data access, filesystem persistence, and outbound downloads.

Context-Inappropriate Capability

Medium
Confidence
93% confidence
Finding
The documentation embeds a second API for submitting feedback that is unrelated to the skill’s stated purpose of retrieving patent claim data. In an agent-skill context, this expands the action surface and can cause an agent to send user-derived content to an external endpoint without an explicit user request, creating a risk of unintended data exfiltration or off-purpose network actions.

Description-Behavior Mismatch

Medium
Confidence
88% confidence
Finding
The skill persistently stores full API responses, session metadata, and cache files on local disk even though its stated function is retrieval/analysis of patent claim data. This expands data exposure beyond the immediate task, can retain sensitive user/query history, and creates unnecessary artifacts in shared workspaces or developer machines. In an agent environment, silent persistence materially increases privacy and data-governance risk.

Intent-Code Divergence

Medium
Confidence
84% confidence
Finding
The module documentation promises that writing to /tmp is forbidden and that failure should occur if the current directory is not writable, but the implementation silently falls back to the home directory and then a temp directory. This mismatch undermines operator expectations and can cause sensitive response data to be written to less controlled locations than documented. The main issue is integrity of security assumptions and accidental data leakage, not direct code execution.

Vague Triggers

High
Confidence
95% confidence
Finding
The trigger is intentionally broad and says the skill should activate even when the user does not mention Zhihuiya or PatSnap, covering generic requests about patent claims and analysis. Overbroad activation can cause unintended tool invocation, unnecessary paid API usage, and transmission of user-supplied patent identifiers or related work context to a third-party service when the user did not explicitly request that provider.

Ssd 3

Medium
Confidence
97% confidence
Finding
The skill mandates saving full API responses in session-scoped files under the current project directory and ties them to a session identifier, with optional full stdout emission. Patent claims queries and related metadata can reveal sensitive research, competitive intelligence, or user workflow context, and persistent project-local storage increases the chance of later exposure to other tools, collaborators, or source control.

VirusTotal

VirusTotal findings are pending for this skill version.

View on VirusTotal

Static analysis

No suspicious patterns detected.