xmind
Fail
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: HIGHDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The
create_xmind.mjsscript includes anattachmentfeature that allows topics to embed files from the local file system. The script usesreadFile(resolve(att.sourcePath))to read content without any path sanitization or restriction. This provides a mechanism for an agent to be manipulated into reading and exfiltrating sensitive files (such as SSH keys or credentials) by embedding them into a.xmindarchive. - [REMOTE_CODE_EXECUTION]: The
SKILL.mdfile provides a fallback Python script for processing large PDF files that executessubprocess.run(['pip', 'install', 'pymupdf']). Instructing an agent to perform dynamic package installation at runtime via shell execution bypasses standard dependency management and introduces risks associated with untrusted remote code. - [COMMAND_EXECUTION]: The skill relies on piping data to Node.js scripts and executing shell commands for PDF processing (
pdftotext). This reliance on shell-level integration for core functionality increases the risk of command injection if filenames or paths are provided as unvalidated input. - [DYNAMIC_EXECUTION]: The recommended PDF extraction snippet uses
importlib.import_module('fitz')to load a library after installing it viapip. This pattern of runtime environment modification and dynamic loading of code is a significant security concern. - [INDIRECT_PROMPT_INJECTION]: The skill's primary purpose is to parse and analyze external
.xmindfiles throughread_xmind.mjs. Because the skill summarizes and acts upon the content of these files, it is vulnerable to indirect prompt injection where malicious instructions embedded in a mind map topic could override agent behavior during analysis. - Ingestion points:
read_xmind.mjsparses ZIP archives containing JSON and XML content from user-provided file paths. - Boundary markers: The parsing logic lacks delimiters or instructions to ignore embedded commands within the mind map nodes.
- Capability inventory: The skill has file system write access, arbitrary file read access (via the attachment mechanism), and shell command execution capabilities.
- Sanitization: The custom XML parser in
read_xmind.mjsperforms entity decoding but does not sanitize or escape the content for safe downstream processing by the agent.
Recommendations
- AI detected serious security threats
Audit Metadata