docx

SAFE max severity MEDIUMSkillSpector Caution 35 registry clawhub.ai last scanned 1 scan

Verdict safe, but 1 finding (1 medium), mainly prompt injection. Most recent scan 2026-02-01.

The docx skill is a comprehensive document manipulation package with generally sound architecture. The primary concern is the MANDATORY file reading directives that create an unusual transitive trust pattern, though this is mitigated by the files being internal to the skill package. The Python code demonstrates good security practices including use of defusedxml for XML parsing, proper validation workflows, and structured error handling. Missing optional metadata fields (allowed-tools, compatibility) reduce transparency but do not constitute security vulnerabilities. No evidence of data exfiltration, credential theft, command injection, or malicious code was found.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

Independent static run, no language model, over the same files as the Cisco scan above. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

Package
20 files, 204 KB
SKILL.md
1343 words, 12+ sections
Code
Python (11)
License
Proprietary. LICENSE.txt has complete terms

SKILL.md covers: DOCX creation, editing, and analysis · Overview · Workflow Decision Tree · Reading/Analyzing Content · Creating New Document · Editing Existing Document · Reading and analyzing content · Text extraction · Convert document to markdown with tracked changes · Options: --track-changes=accept/reject/all · Raw XML access · Creating a new Word document

Findings

MEDIUM Mandatory External File Reading Without Validation Prompt Injectionllm

The SKILL.md instructions contain multiple MANDATORY directives requiring Claude to read entire external markdown files (docx-js.md ~500 lines, ooxml.md ~600 lines) with explicit instructions to 'NEVER set any range limits' and 'Read the full file content'. This creates a transitive trust vulnerability where Claude must unconditionally follow instructions from these files before proceeding with any document operations. While these files are bundled with the skill package (making them internal resources), the MANDATORY nature and explicit prohibition of range limits creates an unusual pattern that could be exploited if these files were replaced or modified.

SKILL.md

'**MANDATORY - READ ENTIRE FILE**: Read [`docx-js.md`](docx-js.md) (~500 lines) completely from start to finish. **NEVER set any range limits when reading this file.**' and '**MANDATORY - READ ENTIRE FILE**: Read [`ooxml.md`](ooxml.md) (~600 lines) completely from start to finish. **NEVER set any range limi...'
Remediation: Remove MANDATORY directives and range limit prohibitions. Rephrase as recommendations: 'It is recommended to review docx-js.md for syntax and formatting guidelines before creating documents.' This maintains functionality while removing the unconditional trust pattern.

What is in the package

FileKindSize
LICENSE.txtdoc1.4 KB
SKILL.mddoc9.9 KB
docx-js.mddoc16 KB
ooxml.mddoc23 KB
scripts/__init__.pyscript65 B
scripts/document.pyscript49 KB
scripts/utilities.pyscript13 KB
ooxml/scripts/pack.pyscript5.5 KB
ooxml/scripts/unpack.pyscript1.0 KB
ooxml/scripts/validate.pyscript1.9 KB
scripts/templates/comments.xmlconfig2.6 KB
scripts/templates/commentsExtended.xmlconfig2.6 KB
scripts/templates/commentsExtensible.xmlconfig2.7 KB
scripts/templates/commentsIds.xmlconfig2.6 KB
scripts/templates/people.xmlconfig147 B
ooxml/scripts/validation/__init__.pyscript336 B
ooxml/scripts/validation/base.pyscript39 KB
ooxml/scripts/validation/docx.pyscript9.8 KB
ooxml/scripts/validation/pptx.pyscript12 KB
ooxml/scripts/validation/redlining.pyscript11 KB

External hosts referenced

schemas.microsoft.com schemas.openxmlformats.org www.anthropic.com www.google.com

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources