Back to skill

Security audit

data-flow

Security checks for vulnerabilities and agentic risk

Overview

The scanners report a suspicious skill because its diagram-rendering workflow may send codebase-derived information to an external service without a privacy warning, though they found no evidence of deliberate exfiltration.

Before installing, consider whether you are comfortable with codebase-derived diagram content and scope descriptions being sent to Mermaid Chart. Check whether your organization permits that service, and avoid using the workflow with sensitive codebase details unless the external rendering is authorized.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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 (1)

The rendering workflow sends codebase-derived diagram content to Mermaid Chart without a privacy warning.

Medium
Category
Output Handling
Confidence
98% confidence
Finding

The workflow requires sending codebase-derived Mermaid syntax and a scope description to the Mermaid Chart MCP without checking whether external disclosure is authorized. Although rendering is relevant to the skill's purpose, these fields can reveal proprietary component names, internal API relationships, and data-processing architecture; mandatory rendering and its inclusion in the exit criteria increase the chance of unintended disclosure. The actual exposure depends on the MCP deployment and data-handling policies, and there is no evidence of deliberate exfiltration.

Content

No source excerpt is available for this finding.