Back to skill

Security audit

patent-expert

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent patent-assistance skill with one unsafe setup example users should avoid copying directly.

Install only if you want Chinese-language patent workflow help. Do not copy the Graphviz/Python PATH example as-is; use trusted local installs, verify the resolved Graphviz executable, and prefer a virtual environment. Treat the patent outputs as drafting support rather than legal advice.

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 (1)

T09 · Insecure Skill Coding Practices

Warning
Location
references/patent-drawing-guide.md:196
Finding

Host-Specific PATH Disclosure and Unsafe Executable Resolution Guidance

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/patent-drawing-guide.md (reported line 1)May include surrounding context.

md
# 专利交底书配图绘制指南

本指南基于 Graphviz (Python graphviz 库) 绘制专利交底书配图,适用于系统架构图、流程图、模块结构图、示意图等常见专利图类型。

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The trigger description activates on a wide set of common patent-related phrases, so the skill may be invoked in loosely related contexts without strong intent matching. Over-broad activation can cause unintended routing, inappropriate disclosure of specialized guidance, or interference with other safer/more relevant skills, especially in multi-skill agent environments.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The entire template is written in Chinese and provides no indication that other languages are supported or that Chinese is required for a specific regional compliance reason. This can violate language/locale policy when users are not given an explicit language choice or opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The entire skill content is written in Chinese and does not indicate that language selection is optional or limited to a China-specific/regional use case. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The document is written entirely in Chinese and immediately prescribes Chinese-specific tooling choices such as Chinese font rendering, but it does not state that the skill is region-specific or provide any language/locale opt-in. Under the policy, forcing a specific language without user choice is a natural-language policy violation unless the locale constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The natural-language instructions and examples are entirely in Chinese, and the file does not state that users may interact in other languages or opt into Chinese output. Under the policy, forcing a specific language without user choice can be a locale-policy issue unless clearly justified as region-specific.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file presents all instructions and output requirements exclusively in Chinese, and does not indicate that the user can choose another language or that the skill is intended only for a Chinese-speaking or region-specific context. Under the policy, forcing a specific language without opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.