excalidraw-diagram
Warn
Audited by Gen Agent Trust Hub on Oct 10, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill uses
npxto dynamically download and execute theexcalidraw-clipackage from the npm registry at runtime. This introduces a reliance on third-party code and external infrastructure (SKILL.md).\n- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands where complex JSON data, generated from user input, is passed as a command-line argument (e.g.,npx -y excalidraw-cli@0.0.2 create --json '...'). This pattern is vulnerable to command injection if the input contains shell metacharacters that are not properly escaped by the execution environment.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user requirements to generate diagram content and shell commands, creating an attack surface for malicious input.\n - Ingestion points: User prompts and requirements provided to the
/excalidraw-diagramcommand (SKILL.md).\n - Boundary markers: There are no explicit delimiters or instructions to treat user-provided data as potentially untrusted.\n
- Capability inventory: Execution of shell commands and file system write access (references/cli-usage.md).\n
- Sanitization: The skill lacks explicit sanitization or validation steps for the generated JSON before it is used in a shell command.\n- [EXTERNAL_DOWNLOADS]: The skill fetches the
excalidraw-clitool from the npm registry and provides functionality to upload data toexcalidraw.com. These external interactions involve third-party data transit and code execution.
Audit Metadata