mc-assets
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes external command-line tools (e.g., image/video generators) defined in the local configuration. This is implemented in
scripts/farm_asset.pyusingsubprocess.runwith an argument list andshlex.split, which prevents shell command injection.\n- [COMMAND_EXECUTION]: Thefarm_asset.pyscript includes a specific security functioncheck_cmd_shim_safetythat detects and blocks characters (%, ^, &, etc.) that could lead to argument injection when invoking Windows batch files (.cmd/.bat), specifically mitigating the 'BatBadBut' (CVE-2024-24576) vulnerability.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from project files to generate media.\n - Ingestion points:
beats/beats.mdandproject.jsonprovide the text for generative prompts.\n - Boundary markers: None used for the prompt strings within the generation tools.\n
- Capability inventory: Uses
subprocess.runto call external CLI tools across all scripts.\n - Sanitization: Arguments are parsed via
shlexand passed as a list tosubprocess.run(withoutshell=True), effectively sanitizing the input against shell-level attacks.
Audit Metadata