Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Md2docx

v1.0.6

Markdown 转 Word 文档(标准公文格式)。使用 Pandoc 自动转换,支持目录/宋体排版、表格自动修复。

0· 230·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for sukimgit/md2docx.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Md2docx" (sukimgit/md2docx) from ClawHub.
Skill page: https://clawhub.ai/sukimgit/md2docx
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install sukimgit/md2docx

ClawHub CLI

Package manager switcher

npx clawhub@latest install md2docx
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description align with the included code: tools/md2docx.py implements a two-stage Pandoc → python-docx workflow and the SKILL.md lists the same dependencies. However the repository claims/uses template files (e.g. tools/standard-official-template.docx and a standard public-office template) that are referenced by tests and PROJECT_INFO.md but are NOT present in the provided file manifest. That mismatch (expected template asset missing) is a functional/integrity inconsistency.
!
Instruction Scope
SKILL.md instructs only to run the converter and requires Pandoc/python-docx (scope-appropriate). But the code base contains an auxiliary script (tools/create_songti_template.py) that writes a template to a hard-coded absolute path (C:/Users/GWF/.openclaw/...) when executed. The documentation does not mention this write-to-absolute-path behavior. There are no network calls or obvious exfiltration, but the hard-coded filesystem write and mismatch between described/expected assets (templates) are unexpected and should be noted.
Install Mechanism
No install spec (instruction-only), no downloads or remote installers in the manifest. This minimizes installation-time risk. Dependencies are external system packages (Pandoc) and a Python package (python-docx) that the SKILL.md correctly documents.
Credentials
The skill requests no environment variables or credentials. The functionality (local file conversion) does not need secrets, so the lack of env/credential requests is proportionate.
Persistence & Privilege
Skill is not always-enabled and does not attempt to modify other skills or system-wide configurations. The only persistence-like behavior is scripts that may write template files to disk if explicitly run (e.g., create_songti_template.py); this is not automatic but should be considered before execution.
What to consider before installing
This skill appears to do what it says (convert Markdown to .docx using Pandoc then python-docx), but there are a few issues to check before you run it: - Missing template files: SKILL.md, README, tests and PROJECT_INFO.md reference template files (e.g., tools/standard-official-template.docx) that are not present in the file manifest. Expect tests or some conversions to fail unless you provide those templates. - Hard-coded filesystem write: tools/create_songti_template.py saves a file to a hard-coded Windows path (C:/Users/GWF/.openclaw/...). Do NOT run that script unless you review and edit the target path; it will try to write into a specific user directory and may fail or create files in unexpected places. - Code quality oddities: the package defines custom exceptions that shadow builtin names (e.g., FileNotFoundError subclass) and tests reference helper functions (validate_pandoc_available) that should be confirmed present. These are quality/maintenance issues rather than clear signs of malice. - No network/exfiltration observed: there are no HTTP calls or external endpoints in the provided files. The only external dependency is the pandoc binary invoked via subprocess; that invocation is expected for the stated purpose. Recommended actions before installing/using: 1. Inspect and/or supply the missing template(s) referenced by README/tests or remove template references if not needed. 2. Search for any other hard-coded absolute paths and edit them to safe, relative or configurable locations. 3. Run the conversion tools in a sandbox or non-production environment first (ensure Pandoc is installed and on PATH). 4. If you plan to run the auxiliary template-creation script, modify its output path to a directory you control and inspect the generated file before using it. 5. If you need higher assurance, run the included tests in an isolated environment and review the rest of the code (especially the truncated portion of md2docx.py) for any unexpected behavior. Overall: functional and plausibly benign code, but incongruities (missing assets, hard-coded paths) make it suspicious until you verify/clean those items.

Like a lobster shell, security has layers — review code before you run it.

latestvk9788ye7018cfdyad64ym500fs83mf03
230downloads
0stars
7versions
Updated 16h ago
v1.0.6
MIT-0

md2docx 技能

描述

将Markdown文件转换为Word文档(.docx格式),采用两阶段转换方案:

  1. Pandoc转换Markdown为Word文档
  2. python-docx后处理设置字体和表格边框 支持完整的Markdown语法包括标题、列表、表格、代码块等。

功能

  • 转换Markdown到Word文档(两阶段处理)
  • 保持格式完整性
  • 支持所有标准Markdown语法
  • 自动设置中文字体(Microsoft YaHei/SimSun)
  • 自动添加表格边框
  • 可自定义输出样式

使用方法

python tools/md2docx.py input.md output.docx

或者

from tools.md2docx import convert_md_to_docx
convert_md_to_docx('input.md', 'output.docx')

参数

  • input_file: 输入的Markdown文件路径
  • output_file: 输出的Word文档路径
  • template: (可选) Word模板文件路径
  • reference_docx: (可选) 参考文档以设置样式

特性

  • 支持H1-H6标题层级
  • 支持有序和无序列表
  • 支持表格渲染(自动添加边框)
  • 支持代码块高亮
  • 支持引用块
  • 支持图片插入
  • 支持链接和强调文本
  • 中文字体优化(Microsoft YaHei/SimSun)
  • 表格边框自动设置

依赖

  • Pandoc (>= 2.0)
  • python-docx (>= 1.2.0)

版本

1.0.6

更新日志 (Changelog)

v1.0.6(2026-03-26)

  • 代码规范化:完整 docstring + 类型注解 + PEP 8 规范
  • 错误提示优化:友好的错误信息 + 解决建议
  • 测试完善:增加测试用例 + 边界测试
  • 字体修复:中文字体自动设置优化
  • 表格边框优化:自动添加表格边框

v1.0.5

  • 引入两阶段转换方案:Pandoc + python-docx后处理
  • 添加中文字体设置(Microsoft YaHei/SimSun)
  • 添加表格边框自动设置功能
  • 修复了文档样式问题
  • 优化了Word文档输出格式

v1.0.0

  • 初始版本发布
  • 基础Markdown到Word转换功能

注意事项

  • 确保系统已安装Pandoc (>= 2.0)
  • 输入文件必须为UTF-8编码
  • 支持的Markdown语法:标题、列表、表格、代码块、引用、链接、强调等
  • 对于复杂的文档样式,建议使用自定义Word模板

Comments

Loading comments...