Back to skill

Security audit

WaveDrom Gen

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent WaveDrom diagram generator that writes requested diagram artifacts locally and optionally registers an MCP helper with user direction.

Install only if you want a local Node-based WaveDrom renderer. Review where generated files will be written, use overwrite only intentionally, and treat MCP registration as a separate persistent configuration change. Prefer the bundled pinned renderer over the optional unpinned npx CLI example.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Self-Modification

High
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.

Content

Scanner excerpt · scripts/mcp-server.mjs (reported line 199)May include surrounding context.

js
if (formats.includes('html')) files.html = path.join(outputDirectory, `${baseName}.html`);
  const existing = Object.values(files).filter((file) => fs.existsSync(file));
  if (existing.length && args.overwrite !== true) {
    throw new Error(`Refusing to overwrite existing files: ${existing.join(', ')}`);
  }

  const validation = validateSource(source, args.strict === true);

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The natural-language edit examples are exclusively written in Chinese and presented as the authoring interface behavior, but the file does not state that the skill is region-specific or that users may use another language. This can be read as imposing a specific language/locale without user opt-in, which matches the language-policy concern for natural-language instructions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

This code creates directories and writes the provided source to the user-specified output path during rendering. Although the tool schema marks the operation as destructive and overwrite protection exists, there is no confirmation prompt, user-facing log/print, or inline warning near the write operation itself in this file.

Content

No source excerpt is available for this finding.