prompt-studio
Fail
Audited by Gen Agent Trust Hub on Oct 28, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions for the agent to execute shell commands using command substitution patterns, specifically
grok -p "$(cat brief.md)". If the content of thebrief.mdfile is influenced by untrusted external inputs and contains shell metacharacters (such as backticks, semicolons, or dollar-parens), it could lead to arbitrary command execution on the host machine during the invocation of generation tools. - [REMOTE_CODE_EXECUTION]: The skill utilizes
npxto dynamically install and run packages such ashyperframesandcreate-video. Furthermore, it explicitly describes a workflow for installing third-party agent skills from arbitrary GitHub repositories using the commandnpx skills add <owner/repo>. This capability to pull and execute unverified code from the internet presents a significant supply chain and remote code execution risk. - [EXTERNAL_DOWNLOADS]: The
studio.mjshelper script and the skill's instructions describe fetching resources from multiple external GitHub repositories, including prompt libraries fromYouMind-OpenLaband skill definitions fromheygen-com,remotion-dev, andgreensock. This behavior pulls external, potentially unverified content into the agent's working context. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a significant attack surface for indirect prompt injection. Ingestion points: It fetches thousands of prompts from the
YouMind-OpenLablibrary and reads external skill text via thestudio.mjs sourcecommand. Boundary markers: No delimiters or explicit instructions to ignore embedded commands are used when interpolating this untrusted data into Generation Briefs. Capability inventory: The skill can execute shell commands, install code vianpx, and access authentication tokens. Sanitization: No sanitization or validation of the fetched external content is performed before it is used to construct the agent's instructions. - [CREDENTIALS_UNSAFE]: The helper script
scripts/studio.mjscontains logic to programmatically detect and read theGITHUB_TOKENorGH_TOKENenvironment variables to authenticate GitHub API requests. While it includes internal checks intended to avoid printing the token, the programmatic access to these sensitive credentials increases the risk of exposure or exfiltration if the execution environment is compromised.
Recommendations
- AI detected serious security threats
Audit Metadata