Back to skill

Security audit

gongwen-writer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed document-format converter for Chinese government-style DOCX files, with no evidence of hidden persistence, credential access, network retrieval, or destructive behavior.

Install this only if you need Chinese government-style official document formatting. Be aware that the converter prints short previews of parsed document content to the console and overwrites the chosen output path if it already exists.

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
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

L03 将技能描述为适用于“产业调研报告、政策分析报告、工作报告等需要严格按照政府公文格式排版的文档”,其中“等”使触发范围扩展到不明确的开放集合。该描述没有给出排除条件或更具体的触发短语,容易导致在一般“文档格式化”请求下被误调用。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The document requires all punctuation to use full-width Chinese symbols and mandates Chinese-style quotation marks, which imposes a specific language/locale convention. Because the file presents these rules as mandatory and does not indicate that this is an opt-in or region-specific mode, it constitutes a locale policy concern under the natural-language policy rule.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This Python file includes its top-level docstring and command-line usage text entirely in Chinese, and the script is clearly oriented around Chinese-only formatting conventions. Under the policy rule, forcing a specific language or locale without opt-in is a natural-language policy violation unless the constraint is explicitly justified or a language choice is offered.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

This markdown file contains user-facing instructional content entirely in Chinese, but it does not indicate that the language is optional, configurable, or intentionally limited to a Chinese-speaking audience. Under the policy, forcing a specific language without user opt-in is a natural-language locale concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.