Back to skill

Security audit

清华大学论文风格排版模板

Security checks for vulnerabilities and agentic risk

Overview

The skill was rated suspicious with medium confidence because its documentation includes an unpinned `npx dsoffice` command that could download and run an unintended package; no clear malicious behavior was reported.

Review the `npx dsoffice` instructions before installing or following them; avoid accepting an unexpected package download. Also consider whether the skill's file access and template-generation behavior match your needs. The scan covered all nine listed components, but several local references were unresolved, so some evidence is incomplete.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, file_write.

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.

MCP server referenced without pinned version: 'npx dsoffice'.

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

This is a CLI invocation, not an MCP server, but the dependency-resolution risk is real: if the intended local executable is unavailable, npx dsoffice can resolve and offer to download the registry package named dsoffice, rather than explicitly selecting the documented scoped package. An unintended or compromised package could execute with the agent's privileges and access locally available documents or credentials.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx dsoffice'.

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The rendering command repeats the same unqualified npx dsoffice resolution risk, despite being a CLI rather than an MCP server. When no intended local binary is present, accepting an npx installation can execute an unintended or compromised registry package with access to the agent's environment and document files.

Content

No source excerpt is available for this finding.

The generator claims to derive templates from bundled YAML rules but discards the loaded rules.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The module docstring at L002–L003 says the templates are generated from bundled YAML rules, and L541 inserts the same claim into the generated university templates. However, L513–L516 loads the rules without using them, while subsequent layout operations use hard-coded values; changes to the YAML formatting rules therefore have no effect on these DOCX outputs.

Content

No source excerpt is available for this finding.