← Back to Skills Marketplace
408
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install markdown-canvas
Description
Convert markdown files to beautiful HTML pages suitable for Canvas display or browser viewing. Use when user asks to render, visualize, display, or share mar...
Usage Guidance
This skill does what it says (convert .md → .html) and only needs python3, but it has a security bug: the converter inserts most markdown output into the template without escaping or sanitizing it. That means a malicious or untrusted .md file could inject HTML (including <script> tags) or use javascript: links that execute when the output is opened or shared. Before installing or using on untrusted content: (1) avoid opening or publishing generated HTML from untrusted sources; (2) prefer or request that the author add proper escaping/sanitization (use a well-maintained Markdown library + an HTML sanitizer such as Python's markdown + bleach, or ensure process_inline_formatting applies escape_html before inserting text and validate/sanitize URLs); (3) review or test the script locally with representative inputs; (4) consider using established tooling that enforces safe defaults. If you only convert trusted personal notes, the risk is lower, but heed caution when sharing or running on external markdown.
Capability Analysis
Type: OpenClaw Skill
Name: markdown-canvas
Version: 1.0.2
The `scripts/convert.py` file contains a critical Cross-Site Scripting (XSS) vulnerability. The `convert_markdown_to_html` function does not properly sanitize or escape user-provided markdown content before injecting it into the `{{CONTENT}}` placeholder in `assets/template.html`. This allows an attacker to inject arbitrary HTML and JavaScript into the generated HTML page by including raw HTML tags (e.g., `<script>alert('XSS')</script>`) in the input markdown file. This is a severe vulnerability, but there is no evidence of intentional malicious behavior like data exfiltration or persistence.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, package.json, template, and the convert.py script all align: this is a simple local Markdown→HTML renderer that requires only python3. Required binaries/env/configs are proportionate.
Instruction Scope
SKILL.md limits runtime actions to running scripts/reading the template and optionally opening or pushing the generated file. However, convert.py does not escape or sanitize most user-provided markdown content (headers, paragraphs, links, inline formatting are injected directly into the template). Only code blocks are escaped. That can produce HTML containing raw tags or javascript: links and enable XSS or unexpected script execution when opening or sharing the output.
Install Mechanism
Instruction-only skill with no install spec; only requires python3 on PATH. No downloads or archive extraction present.
Credentials
No environment variables, no credentials, and no config paths requested. The skill does not ask for unrelated secrets or system credentials.
Persistence & Privilege
always:false and no installation hooks are present. The skill does not request persistent/system-level privileges or modify other skills' configuration.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-canvas - After installation, invoke the skill by name or use
/markdown-canvas - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
Add GitHub repository and homepage links
v1.0.1
Add package.json, LICENSE, and update contact links (Jike, GitHub)
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Markdown Canvas?
Convert markdown files to beautiful HTML pages suitable for Canvas display or browser viewing. Use when user asks to render, visualize, display, or share mar... It is an AI Agent Skill for Claude Code / OpenClaw, with 408 downloads so far.
How do I install Markdown Canvas?
Run "/install markdown-canvas" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown Canvas free?
Yes, Markdown Canvas is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Markdown Canvas support?
Markdown Canvas is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown Canvas?
It is built and maintained by jingyu525 (@jingyu525); the current version is v1.0.2.
More Skills