Back to skill

Security audit

Excalidraw Skill

Security checks for vulnerabilities and agentic risk

Overview

This diagram skill is purpose-aligned, but it deserves review because the recommended export path can send full diagram contents to Kroki and the local setup installs unpinned global npm tools.

Install only if you are comfortable with the export choices. Use the local CLI or local Kroki Docker endpoint for confidential diagrams, avoid sending sensitive architecture or credentials to the public Kroki service, and prefer pinned/project-local npm dependencies over global unpinned installs.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:47
Finding

Unpinned Third-Party Packages Installed and Executed from the npm Registry

Content
View full analysis
Remediation
View remediation
playwright@ ``` 2. Use a project-local installation instead of `npm install -g`, and invoke the locked binary through a package script or: ```bash npx --no-install playwright install firefox ``` 3. Commit a lockfile generated from reviewed dependencies and use `npm ci` so package resolution is reproducible. 4. Verify registry integrity metadata and review the complete transitive dependency tree before updating versions. 5. Disable lifecycle scripts during installation where compatible: ```bash npm ci --ignore-scripts ``` If scripts are required, audit them explicitly before allowing execution. 6. Run installation and rendering in a restricted, non-privileged environment with minimal filesystem access and no unnecessary credentials. 7. Document the exact supported package versions and establish a controlled process for reviewing and updating them. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill recommends Kroki as the default export path but does not clearly warn that diagram contents are transmitted to the external service at https://kroki.io. Diagrams may encode internal architecture, credentials, endpoints, or other sensitive business context, so silent external transmission creates a meaningful confidentiality risk.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
86% confidence
Finding

The skill instructs users to run npx playwright install firefox without pinning a specific package version. Because npx can resolve and execute package code dynamically, this can lead to non-reproducible installs and exposure to a compromised or malicious upstream package version during local setup.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

The skill includes a direct curl POST of the .excalidraw file to https://kroki.io/excalidraw/svg, which causes full diagram contents to leave the local environment. In the context of an architecture/flowchart skill, those files can easily contain sensitive internal topology, system names, or data flows, making this external transmission materially risky if done without explicit consent.

Content

Scanner excerpt · SKILL.md (reported line 420)May include surrounding context.

bash
# SVG via Kroki API
curl -s -X POST https://kroki.io/excalidraw/svg \
  -H "Content-Type: text/plain" \
  --data-binary "@diagram.excalidraw" \
  -o diagram.svg

Rp1

Medium
Category
MCP Rug Pull
Confidence
84% confidence
Finding

The troubleshooting guidance again tells users to run npx playwright install firefox without version pinning. Repeating the same floating-package install path increases the chance users will execute unreviewed code from the package registry in response to an error condition.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
76% confidence
Finding

The skill instructs the agent to always render and inspect /tmp/check.png, which creates a local output file and invokes the export CLI, but does not explicitly warn users that this verification step writes files and runs local tooling. For a markdown skill description, user-facing disclosure should mention this behavior when recommending the audit workflow.

Content

No source excerpt is available for this finding.