studio-core
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
node:child_processexecFilemethod inmedia.mjsto executeffmpegandffprobefor media analysis and video assembly. It passes arguments directly to the executable as an array, which mitigates common shell injection risks associated withexec. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to
openrouter.aifor text, image, video, and speech generation services, and tor2.cloudflarestorage.com(Cloudflare R2) for media storage. These are well-known technology service providers. - [DATA_EXFILTRATION]: The
r2.mjsmodule provides functionality to read local files and upload them to a configured Cloudflare R2 bucket. This is a primary intended feature of the skill, used to host media assets for retrieval by AI providers. - [DYNAMIC_EXECUTION]: The
drafts.mjsmodule uses dynamicimport()to lazily load the text model module. The path for this import is determined by environment variables (STUDIO_CORE_TEXT_ENTRY) or relative file structure, allowing flexible module resolution in development and production environments. - [INDIRECT_PROMPT_INJECTION]: The
extractJsonandgenerateJsonfunctions indrafts.mjsprocess output directly from Large Language Models. The skill uses regex extraction and a custom schema validator (validate.mjs) to verify the data structure, which reduces but does not eliminate the risk of the agent acting on malicious instructions embedded in untrusted LLM responses.
Audit Metadata