Back to skill

Security audit

chinese-academic-paper

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Chinese academic paper formatting workflow, with minor setup cautions but no hidden or malicious behavior found.

Install/use this skill only for Chinese academic course papers that require the stated formatting. Review before running setup commands, prefer user-local installs, and avoid changing LibreOffice’s persistent config unless you back up the existing file or use an isolated temporary profile.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Rogue AgentSelf-Modification, Session Persistence
  • 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
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger phrases are fairly broad and include common academic request terms such as '课程论文' and '作业综述', which can cause the skill to activate for general writing requests that did not explicitly ask for this specialized workflow. Over-broad activation can steer users into a rigid academic-writing pipeline, including web verification and document-export steps, when that behavior was not clearly intended.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill hard-codes Chinese language and formatting conventions, including 宋体, 小四, 双倍行距, and GB/T 7714, without indicating that these are optional or contingent on user preference. If auto-invoked, it may override user intent, apply the wrong academic standards, or produce outputs misaligned with the assignment's actual requirements.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description states the skill generates Chinese-language academic course paper reviews with strict Chinese formatting requirements, which imposes a specific language/locale behavior. Because the manifest does not mention user opt-in or language choice, this is a natural-language locale policy concern.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
88% confidence
Finding

The document instructs users to write a persistent LibreOffice configuration file under ~/.config, which changes application behavior beyond the immediate task and survives the session. Persistent modification of user configuration can create unintended side effects, make later document rendering behave differently, and in shared or automated environments may alter outputs for unrelated workflows.

Content

Scanner excerpt · references/formatting-spec.md (reported line 255)May include surrounding context.

Linux 服务器通常未装 SimSun(宋体)。脚本里写 宋体 是「期望字体」,docx 在 Windows / macOS Word/WPS 上打开会用本地宋体;用 Linux + libreoffice 转 PDF 时会 fallback 到本地可用的中文字体(如 Noto Serif CJK SC / AR PL UMing),效果接近宋体但不完全一致。如对字体一致性要求极高,可在 LibreOffice 中配置字体替换:

bash
mkdir -p ~/.config/libreoffice/4/user/registrymodifications.xcu.d/
cat > ~/.config/libreoffice/4/user/registrymodifications.xcu << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The file title and the entire specification are written as a Chinese-only thesis formatting standard, which implicitly forces a specific language/locale convention. Under the stated policy, locale-specific requirements should either offer opt-in/choice or be clearly documented as justified for a region-specific use case.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.