Back to skill

Security audit

Teaching Diagram Maker

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent diagram-making helper that edits local notes and images as disclosed, with only a minor risk of broad automatic invocation.

Install this if you want an agent to create and update diagrams inside your notes. Be aware that it may edit nearby note text and add image files when invoked, and the broad triggers mean you should watch for accidental use on ambiguous requests like general model comparisons.

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
  • 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)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description lists triggers such as "draw a diagram" and especially "explain this visually," which are broad phrases likely to overlap with common user requests outside this skill's intended scope. The file does not provide negative examples or tighter activation constraints to distinguish when the skill should and should not activate.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill enables implicit invocation, allowing the agent to call it automatically based on broad user phrasing rather than explicit user consent. Because this skill can generate and visually verify rendered diagrams, automatic triggering may expose user content to an auxiliary tool unexpectedly and can cause the model to take side-effectful actions without a clear, narrow activation boundary.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The invocation scope is underspecified because phrases like 'compare these models' and 'explain this visually' can apply to a wide range of general tasks, not just diagram-making. In agent environments, this ambiguity can cause over-broad routing, where the skill is selected for requests involving sensitive, unrelated, or non-visual content, increasing the risk of inappropriate processing and user confusion.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger phrases are broad enough to match many ordinary user requests unrelated to this specific skill, increasing the chance of unintended auto-invocation. Because this skill can create or modify diagrams and SVGs, accidental activation could expose unrelated user content to the skill workflow or cause the agent to take diagram-editing actions when not clearly requested.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.