TeX Render

PassAudited by ClawScan on May 10, 2026.

Overview

This appears to be a disclosed local LaTeX-to-image renderer, with cautions around automatic rendering, npm dependencies, and local file output.

Before installing, make sure you want LaTeX in replies to be automatically rendered and sent as images. Run npm install only if you trust the listed npm dependencies, and remember that generated images are saved locally under ~/.openclaw/media/tex-render unless another output path is used.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

If enabled, the agent may send equations as images instead of raw LaTeX even when the user did not explicitly ask for rendering.

Why it was flagged

The skill changes the agent's response behavior by automatically rendering and sending images whenever LaTeX would appear.

Skill content
the agent will **automatically** render any LaTeX in its replies as images and send them in order—without asking for permission
Recommendation

Enable this skill only if automatic LaTeX-to-image rendering is desired; disable it when raw LaTeX or per-use confirmation is preferred.

What this means

Installing the skill requires trusting the npm dependency chain and whatever compatible dependency versions npm resolves at install time.

Why it was flagged

The skill depends on npm packages with semver ranges rather than fully pinned versions; sharp is also a native image-processing dependency.

Skill content
"dependencies": { "@svg-fns/svg2img": "^0.2.0", "mathjax": "^4.1.0", "sharp": "^0.34.5" }
Recommendation

Review dependencies before installing, and consider using a lockfile or pinned versions in higher-trust environments.

What this means

Running the validation script executes local code from the skill folder, which is expected for npm test but should still be done only after trusting the skill.

Why it was flagged

The static scan flagged child_process usage. In context, it invokes the current Node executable to run the skill's own render.js during validation tests.

Skill content
const result = spawnSync(process.execPath, args, {
Recommendation

Run npm test or validation commands only from the reviewed skill directory.

What this means

The skill will create persistent local image files, and custom output paths could overwrite files if used carelessly.

Why it was flagged

The renderer writes generated SVG and image files to the local filesystem by default, and the CLI also supports caller-provided output paths.

Skill content
const DEFAULT_OUTPUT_DIR = path.join(os.homedir(), '.openclaw', 'media', 'tex-render');
Recommendation

Use the default media directory or a trusted output directory, and avoid directing output to sensitive or protected paths.