Skills/ClawHub/skill-mermaid-diagrams

skill-mermaid-diagrams@1.0.0

CAUTION· install only

Publisher claims: "Generate consistent, template-based Mermaid diagrams for technical content. Supports 12 diagram types (architecture, flowchart, sequence, concept-map, radial..." Observed in sandbox: reads credential files.

Registry ClawHubPublisher chunhualiao · publishing for 276 daysInstalls 1,968Last detonated 37 min ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
6 of 6 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 and scored it 76/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Privileged sudo command. Summary: reads credential files.

Behavior trace

Honeypot run · 7 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 1: Usage: node auto-correct.mjs --content content.json [--out corrected.json] [--maxIterations 3]
0.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 1: Usage: node generate.mjs --content content.json --out output-dir
0.2sprocessbundled script run in the sandbox with no arguments
6.7sfilesystemread ~/.npmrc
6.7sfilesystemread ~/.npm/_logs · ~/.npm/_cacache/index-v5/d8/c5/861f63a08f5dec39b78502cfbcd135ee7a4837effbf937fa4a06a96a5f92 · ~/.npm/_cacache/index-v5/0d/6c/88722512db36b7b553445018ccdfaba4e652ad2ee14f6a430901b1893afb · ~/.npm/_cacache/index-v5/ca/f8/5fdf8973f1896e77c07a4919f6166c6a04ef8354c5efb0156670a06d24e3 · ~/.npm/_cacache/index-v5/71/62/b0fcc1eec538191e75969d0af19ecb4a816eb58ccad4d8b34af971365286 · ~/.npm/_cacache/index-v5/f9/b3/02013700813fd882a2e03731dfb10ba988ad15a9fa721501b0f9f680b382 outside project
6.7sfilesystemwrote ~/.npm/_cacache/tmp/83c9f637 · ~/.npm/_cacache/index-v5/d8/c5/861f63a08f5dec39b78502cfbcd135ee7a4837effbf937fa4a06a96a5f92 · ~/.npm/_cacache/tmp/aef80fff · ~/.npm/_cacache/tmp/27ae2015 · ~/.npm/_cacache/tmp/a5fa2659 · ~/.npm/_cacache/tmp/98d1d235
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7snetworkCONNECT tcp://registry.npmjs.org:443
6.7sprocessexec /usr/bin/cut
6.7sprocessexec /usr/local/bin/npm
6.7sprocessexec /usr/bin/df
6.7sprocessexec /usr/bin/tail
6.7sprocessexec /usr/bin/awk
6.7sprocessexited 1: npm error A complete log of this run can be found in: /tmp/ks-detonate-89GEtn/scripts/home/.npm/_logs/2026-11-18T20_27_01_227Z-debug-0.log
6.7sprocessbundled script run in the sandbox with no arguments
6.8sprocessbundled script run in the sandbox with no arguments · not named in the instructions
6.9sprocessbundled script run in the sandbox with no arguments
7.0sprocessexited 1: Usage: node validate.mjs --dir diagrams/chapter-01
7.0sprocess6 of 6 bundled scripts run with no arguments
7.0sprocessscript backend runs setup only
7.0sprocessscript backend runs setup only
7.0sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandscripts/install-deps.sh:147 · Privileged sudo command — agent may execute with elevated privilegesecho " 2. Try with sudo (not recommended):"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-deps.sh:62 · Privileged sudo command — agent may execute with elevated privilegesecho " - Ubuntu/Debian: sudo apt install nodejs npm"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/install-deps.sh:148 · Privileged sudo command — agent may execute with elevated privilegesecho " sudo npm install -g @mermaid-js/mermaid-cli"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionscripts/generate.mjs:32 · File type combined with upload action — agent may exfiltrate local data filesconsole.error("Usage: node generate.mjs --content content.json --out output-dir");Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionpackage.json:20 · File type combined with upload action — agent may exfiltrate local data files"test:render": "node scripts/generate.mjs --content tests/all-templates-content.json --out test-output && node scripts/validate.mjs --dir test-output && rm -rf test-output",Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionSKILL.md:422 · File type combined with upload action — agent may exfiltrate local data files2. Generate diagrams: `node scripts/generate.mjs --content assets/example-content.json --out test-output`Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionSKILL.md:350 · File type combined with upload action — agent may exfiltrate local data filesnode scripts/generate.mjs --content test-content.json --out test-outputFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Unpinned dependencyscripts/install-deps.sh:189 · Unpinned dependencyecho " Try: npm install -g @mermaid-js/mermaid-cli@latest"Fix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.
AST06
LOW
Unpinned dependencyscripts/install-deps.sh:117 · Unpinned dependencynpm install -g @mermaid-js/mermaid-cli@latestFix: Pin the exact version (`[email protected]`, `==1.2.3`) so every install gets the bytes that were reviewed.
AST06
MEDIUM
File type combined with upload actionscripts/install-deps.sh:206 · File type combined with upload action — agent may exfiltrate local data filesecho " node scripts/generate.mjs --content content.json --out output-dir"Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07

Cost to the agent

Instructions loaded
≈4,074 tok
1 file · 26 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

4 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.npmrc.
  2. Unclaimed publisher≈ +8 on the totalClaim chunhualiao: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. Unpinned dependencies≈ +3 on the totalPin exact versions (and ideally hashes) in package.json, requirements or the install script so the bundle cannot change under you.
  6. File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim chunhualiaoPropose a patch to the maintainer