Back to skill

Security audit

DOCX Report Figures

Security checks for vulnerabilities and agentic risk

Overview

The skill is rated suspicious because scanners report that its preview and PDF export steps can close all accessible Word sessions and that rendering can delete existing PNG files in the output folder.

Consider the risk of losing unsaved Word work or existing images before installing. The scan covered all nine listed components but is marked partial because one local path-like reference could not be resolved, so the evidence is incomplete.

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
scripts/export_pdf.ps1
Finding

PDF export forcibly terminates every accessible Word process

Content
View full analysis

Impact

Other open Word sessions can be terminated, interrupting unrelated work and losing unsaved edits. The effect is limited by the caller's process permissions.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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
Findings (5)

The preview workflow forcibly terminates every Word process without warning that unrelated documents and unsaved changes may be lost.

High
Category
Output Handling
Confidence
99% confidence
Finding

The preview instructions present global forced termination as a workaround without warning that unrelated documents may lose unsaved changes. This is the same unsafe operation identified by the other finding in this source, with the missing warning making accidental execution more likely.

Content

No source excerpt is available for this finding.

PDF export forcibly terminates all accessible Word processes, including unrelated editing sessions.

High
Category
Excessive Agency
Confidence
100% confidence
Finding

The finally block enumerates all accessible WINWORD processes and forcibly terminates them, including unrelated user editing sessions. It runs even when opening or exporting fails, so an ordinary preview attempt can cause loss of unsaved work independently of export success.

Content

No source excerpt is available for this finding.

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.

Preview export forcibly terminates all Word processes, including unrelated user sessions.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The preview example force-stops every accessible WINWORD process rather than only the automation instance. Following this routine document-export guidance can terminate unrelated editing sessions and lose unsaved work, exceeding the scope of the requested task.

Content

No source excerpt is available for this finding.

Existing PNG files are deleted without disclosure or confirmation.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

Before rendering, the script deletes every file matching p*.png in the selected output directory, not just images previously generated by this tool. Reusing an existing directory can therefore silently delete unrelated images such as portrait.png, and a subsequent rendering failure leaves those files lost without replacement.

Content

No source excerpt is available for this finding.