harmony-store-media
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python script
scripts/store_media.pyexecutesffmpegandffprobeviasubprocess.runto perform media processing tasks. These calls use argument lists rather than shell strings, which prevents shell-based command injection. - [DYNAMIC_EXECUTION]: The Node.js utility
scripts/drive_chrome.mjsallows the agent to execute JavaScript in a browser instance via an/evalendpoint. This is a functional requirement for the skill to interact with various game engines. Access is restricted to the local loopback interface (127.0.0.1) and protected by a unique, randomly generated security token to prevent unauthorized access from other local processes or web pages. - [EXTERNAL_DOWNLOADS]: The skill documentation recommends installing
pillowvia pip andplaywright-corevia npm. These are reputable, well-known libraries from standard public registries. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from web-based games (DOM content and canvas frames). While this presents a theoretical surface for indirect prompt injection if a game contains instructions intended to be interpreted by the AI's vision or OCR systems, the risk is mitigated by the skill's workflow, which centers on generating media for human review.
- [SAFE]: The local server implementations in
scripts/capture_server.mjsandscripts/drive_chrome.mjsinclude several defensive measures: they validate file names using regular expressions to block path traversal, enforce origin checks for CORS, and explicitly restrict navigation tohttpandhttpsprotocols to prevent the reading of local system files.
Audit Metadata