Back to skill

Security audit

Drawio Generator.Bak

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it says: it generates an editable draw.io link from diagram text, with only minor usability and scoping caveats.

Before installing, know that the skill may run a bundled Python script to create a diagrams.net link and that opening the link sends the diagram content to app.diagrams.net in your browser. Avoid putting sensitive information in diagrams unless you are comfortable opening it in that external service.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill instructs the agent to execute a Python script that generates a draw.io URL, which implies code execution and likely external network interaction, yet the skill declares no explicit tool scope or permissions. This increases the risk of unintended script execution or network access without clear sandboxing and makes the skill harder to review and constrain safely.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger description is extremely broad, covering essentially any request for a visual representation, which can cause the skill to activate in many unrelated contexts. Over-broad routing increases the chance that untrusted user content is funneled into script execution paths or that this skill overrides more appropriate, narrower skills with safer handling.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill mandates outputting a markdown link with Chinese anchor text regardless of user preference or locale. While not a direct code-execution flaw, forced language output can mislead users, reduce transparency about the destination, and degrade trust and usability in security-sensitive contexts where clear user understanding matters.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The printed markdown link text is hard-coded as Chinese (点击查看图表), which imposes a specific language on all users. The file does not provide any language selection, opt-in, or documentation justifying a locale-specific constraint.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.