polyhaven-hdri-showcase
Warn
Audited by Gen Agent Trust Hub on Jun 15, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/polyhaven-hdri-showcase.jsdynamically assembles Python code blocks that are sent to a local Blender MCP server for execution. - [REMOTE_CODE_EXECUTION]: Input parameters such as
--hdrisand--outputare interpolated directly into Python string literals within template strings. Specifically, the variablehdriIdand the derivedrenderPathare placed inside double quotes in the generated Python code. An attacker or a malicious prompt could provide input containing double quotes and Python commands (e.g.,"; import os; os.system('payload'); #") to break out of the string context and execute arbitrary code with the privileges of the Blender process. - [COMMAND_EXECUTION]: The script establishes an unauthenticated network connection to
localhoston a user-definable port (default 9876) to transmit these executable payloads, providing a direct path for local code execution.
Audit Metadata