filex
Pass
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/filex.pyusessubprocess.runto call thefilexbinary. The command is constructed as a list, which effectively prevents shell command injection. - [EXTERNAL_DOWNLOADS]: The skill allows the agent to trigger downloads from arbitrary HTTP(S) URLs via the
--urlargument. While the documentation mentions default size and timeout limits, this functionality allows the ingestion of untrusted remote content. - [INDIRECT_PROMPT_INJECTION]: The skill's primary purpose is to process untrusted data from files and URLs, creating an attack surface for indirect prompt injection.
- Ingestion points: Files are ingested via the
--inputand--urlflags inscripts/filex.py. - Boundary markers: The skill documentation advises the agent to "Inspect the generated Markdown before claiming... fidelity," but the wrapper script does not implement technical delimiters or safety warnings around the tool's output.
- Capability inventory: The script has capabilities to execute the
filexbinary (subprocess.run), create directories (Path.mkdir), and copy files within the workspace (shutil.copy2). - Sanitization: The script implements
_inside_workspacewhich usespathlib.Path.resolve()andrelative_to()to validate that all file operations are confined to the designated sandbox workspace, preventing path traversal attacks.
Audit Metadata